[00:00] <fefd> impish
[00:03] <fefd> it was never installed, because it has 6 new dependencies which also were not installed, and I never did autoremove
[00:04] <fefd> maybe it's a bug in installer, but I cba reinstalling to check
[00:19] <fefd> also, why the heck installer made a swap file on a ssd?
[00:29] <zenof> fefd: well, as it's a swapfile, it's easy to disable it, if you really wish to. on the other hand, as long as you have a reasonable amount of RAM , the write load to the ssd should be nothing to worry about, in terms of lifespan.
[00:30] <TJ-> Kernel prefers some swap to avoid sudden OOM; you can adopt zram swap to spit the difference
[00:37] <pycurious> When I do history on my machines, I would like to keep tract of when each command was issues for each user (all users). How can I do that?
[00:40] <TJ-> pycurious: you mean timestamps?
[00:40] <pycurious> TJ-: yes - commands issued with timestamps.
[00:40] <pycurious> TJ-: for all users.
[00:41] <TJ-> pycurious: see "man bash" and HISTTIMEFORMAT
[00:42] <pycurious> TJ-: I think that is per user basis. I would like to record that for every user on a system I configure. Is there a way to do that? That way I can go and check what commands were issued by whom at what time?
[00:43] <TJ-> pycurious: you can't do that, only in the per-user $HOME/.bash_history but you can set HISTTIMEFORMAT for system-wide operation
[00:44] <pycurious> TJ-: how do i set HISTTIMEFORMAT for all users on a system ?
[00:44] <TJ-> pycurious: as "man bash" shows under FILES: "/etc/bash.bashrc"
[00:47] <fefd> use proprer tools like auditing
[00:51] <pycurious> TJ-: that worked - thanks
[00:51] <pycurious> fefd: are there any audit tools that allow all command logging to be inspected?
[00:54] <TJ-> py auditd ... https://linux-audit.com/configuring-and-auditing-linux-systems-with-audit-daemon/
[01:01] <pycurious> TJ-: not sure how i can use auditd to log every command that users fire. It seems like its more for auditing changes to particular files (passwd for example) - am i mistaken?
[01:02] <TJ-> pycurious: it can do lots of things, including logging all commands
[01:07] <TJ-> pycurious: for commands being executed, a rule like "-a exit,always -F arch=b64 -S execve" to capture the execve syscall
[02:21] <AcrnAnmly> hello, is there someone that can assist in sorting out what I believe is an lvm issue after updates?
[02:22] <AcrnAnmly> I'm not quite sure where to look next.
[02:22] <AcrnAnmly> I think something's wrong with the initramfs environment?  Basically, when booting the system normally, it says that it can't find the volume group, /dev/mapper/<vgname>-root can't be found, and drops to the busybox shell
[02:23] <AcrnAnmly> but if I boot off of live media and examine the drive, I can access everything perfectly fine
[02:23] <AcrnAnmly> it sees the volume group and the mapper device, and I can mount it successfully and seem to be able to access everything
[02:23] <AcrnAnmly> but running lvm pvs or lvm lvs in the initramfs just comes back empty
[02:35] <yukiup> i'm not that knowledge able but could it be grub?
[04:55] <cammera> Hey, does anyone know if ubuntu focal is going to get kernel 5.15 at some point?
[04:55] <cammera> I use ntfs partitions a lot so having better performance would be a huge thing for me
[04:58] <Bashing-om> !Info linux-generic-hwe-20.04 focal
[05:09] <Bashing-om> cammera: Looks like one may get the 5.15 kerenl with 22.04's second point release in focal as an HWE update.
[05:11] <marcoagpinto> 22.04LTS!
[05:12] <marcoagpinto> just in a few months!
[05:12] <marcoagpinto> :)
[05:12] <cammera> Oh
[05:12] <cammera> Has anyone here tested it, is ntfs faster
[05:28] <noj> Hi all just a quick question. Why couldn't i find hexchat in the ubuntu software centre. i had to run "sudo apt install hexchat"? i did search "software" and then enter and enable the "multiverse" as a source and in the past this has been enough to make it show up when searched for in the software centre (GUI)
[05:29] <noj> Ubuntu 20.04.3 LTS
[05:32] <guiverc> noj, no idea (typing into hexchat here actually)  but it's an old GTK2 app where GTK2 is deprecated
[05:33] <noj> ;)
[05:33] <Bashing-om> !info hexchat focal | noj
[05:33] <noj> ty
[05:39] <noj> anyone know of a general computer help channel on freenode, general not just mac win linux other
[05:39] <noj> like one aimed at my grandma
[05:40] <guiverc> noj, very few of us use freenode these days
[05:40] <noj> lol im not on freenode am i
[05:41] <noj> insert this network please
[05:41] <guiverc> that's not a Ubuntu support question, Ubuntu off-topic maybe a better place than this room
[05:42] <guiverc> #ubuntu-offtopic ^
[05:44] <noj> ;) roggi
[07:17] <Guest30> I just did a fresh install of 20.04.3 and when I try to run apt-get update I get a bunch of hash mismatches
[07:17] <sp234> i've been trying to get mpv to work with windows 11 but i keep recieving this error
[07:17] <sp234>  (+) Video --vid=1 (*) (h264 1280x720 25.000fps)
[07:17] <sp234>  (+) Audio --aid=1 (*) (aac 6ch 48000Hz)
[07:17] <sp234> error: XDG_RUNTIME_DIR not set in the environment.
[07:17] <sp234> error: XDG_RUNTIME_DIR not set in the environment.
[07:17] <sp234> error: XDG_RUNTIME_DIR not set in the environment.
[07:17] <sp234> Error opening/initializing the selected video_out (--vo) device.
[07:18] <Guest30> the file size of the download matches but the hash doesn't.
[07:18] <Guest30> I have never encountered this error before.
[07:19] <sp234> i don't understand why mpv is not working, does it have something to do with the gui?
[07:19] <Hash> mpv is a videe player
[07:19] <Hash> Windows is a MS OS
[07:20] <Hash> If you want help for Ubuntu, you have to use ubuntu. We can't support mpv on windows 11
[07:21] <sp234> i am using ubuntu 20.04 LTS
[07:21] <Hash> sp234 | i've been trying to get mpv to work with windows 11 <-
[07:22] <Hash> I am confused
[07:22] <sp234> sorry let me clarify
[07:23] <sp234> I am using ubuntu 20.04LTS on windows11
[07:24] <refwef> sp234 wsl?
[07:24] <sp234> yeah wsl
[07:25] <refwef> sp234 you're following the steps here? https://docs.microsoft.com/en-us/windows/wsl/tutorials/gui-apps
[07:26] <sp234> no i did not, I will try them now thank you
[07:26] <refwef> np
[07:33] <sp234> im still recieving an error when i run one of the Linux Gui apps for example:
[07:33] <sp234>  xcalc
[07:33] <sp234> Error: Can't open display:
[07:34] <sp234> wait a sec brb
[07:45] <sp234> looks like i still can't open any Linux gui apps even after following the steps on https://docs.microsoft.com/en-us/windows/wsl/tutorials/gui-apps
[07:46] <sp234> still recieving the error Cannot open display:
[08:00] <ducasse> !wsl
[08:00] <ducasse> sp234: ^^
[08:00] <ducasse> there was a separate channel for wsl, dunno if there still is
[08:01] <sp234> ducasse: I already installed wsl and its on version 2
[08:03] <ducasse> yeah, sorry, there used to be a mention of another channel there, but i guess that's gone
[08:04] <ducasse> sp234: there is #windows-wsl - have you tried there?
[08:07] <sp234> ducasse: i doubt wsl is the problem. I verfied wsl version via powershell
[08:08] <ducasse> i suspect this is a wsl problem, not an ubuntu problem
[08:11] <sp234> ducasse: maybe... ill check up with the wsl group as well
[08:11] <ducasse> i definitely suggest you try it
[08:29] <TattooedTech> sp234: Are you running the right build of Windows 11? Gui support under WSL requires Windows 11 Build 22000 or higher
[08:34] <sp234> TattooedTech: its on windows 11 build 22000.318
[08:36] <sp234> im actually really stumped on this one
[10:30] <SteelRose>  Hi guys! I use an Ubuntu 20.04 as local repo for both Ubuntu 20.04 and CentOS 8. If it were a CentOS box I could run createrepo_c after the RPMs complete dowloading but there is no such thing in Ubuntu... I've seen some attempts to port the tool to Ubuntu but I cannot even compile it from source or install it from a DEB due to some missing libs ...  has anyone here tacked this issue before? Thanks !
[10:32] <ens> i've put an nvme m2 drive into my hp laptop. it is now alongside the previously installed sata ssd. the nvme shows up as 'sdb' when booting... shouldn't it be something like 'nvme0' ? i'm wondering if it is using some kind of slower hardware protocol.
[10:39] <lotuspsychje> ens: check your; sudo fdisk -l perhaps?
[10:42] <XATRIX> Hi, can you advice ? I'm using XFCE as a window manager. And i have faced with a trouble. My google chrome window oversizes after i do minimize on. Only google chrome. No other.
[10:43] <XATRIX> it's normal - https://imgur.com/nPdTMLQ.png
[10:43] <XATRIX> after restore from minimized - https://imgur.com/zhlllna.png
[10:43] <XATRIX> only reload of browser can help to solve this
[10:46] <ens> lotuspsychje: actually upon doing further reading... i realise these might actually be SATA m.2 ssds seeing as they have 3 prongs not 2.
[10:46] <ens> rather than nvme
[10:55] <ledeni> XATRIX, did you try to select with right mouse button gnome chrome and see options
[10:56] <guiverc> XATRIX, Xfce is a desktop, it uses Xfwm4 as it's WM/window manager (by default)
[10:57] <XATRIX> guiverc: sorry. yea
[10:58] <XATRIX> ledeni: i'll try it
[10:58] <XATRIX> nope, doesn't help me much
[11:01] <ledeni> XATRIX, then try to autohide bottom panel if is possible
[11:14] <KBar> XATRIX, bug #1940707 might be related.
[11:15] <KBar> I, too, encounter a similar problem very often.
[11:15] <KBar> I couldn't find a way to fix it, though.
[11:15] <KBar> Very annoying indeed.
[11:56] <XATRIX> KBar: it is Xfwm related ? Or the native Ubuntu's manager ?
[11:56] <XATRIX> And, it not seems to be. My windows become messed ASAP. Not after reboot :)
[11:57] <KBar> XATRIX, most likely xfwm4.
[11:57] <XATRIX> Ok, i'll dig in
[12:14] <varaindemian> security wise what are the differences between ubuntu X.X.y-1 and X.X.y? Do you get security updates for both?
[12:14] <varaindemian> at the same time?
[12:14] <varaindemian> should I upgrade?
[12:15] <varaindemian> Example given: 18.04.1 vs 18.04.2
[12:15] <KBar> Stable releases only receive security/critical updates.
[12:15] <KBar> So yes, you should update.
[12:16] <lotuspsychje> always up to date indeed
[12:16] <KBar> 18.04.1 to 18.04.2 is just an update, not an upgrade.
[12:16] <lotuspsychje> !uptodate
[12:16] <KBar> 18.04 to 20.04 would be an upgrade.
[12:17] <varaindemian> so if a computer has 18.04.2 and another 18.04.5 then 18.04.2 did not issue upgrade?
[12:17] <varaindemian> so it does not have the latest security patches?
[12:17] <KBar> varaindemian, https://wiki.ubuntu.com/PointReleaseProcess
[12:18] <KBar> https://askubuntu.com/questions/106159/what-are-point-releases-in-lts-versions
[12:18] <varaindemian> KBar: where should I look?
[12:19] <varaindemian> I am only interested in the last digit - 18.04.x vs 18.04.x+y
[12:21] <KBar> varaindemian, say you have firefox and thunderbird at version 45.1 when ubuntu 21.11 is released. after three months, there are some updates to some packages, and now firefox and thunderbird are at version 46. 21.11.1 would include all of the updates, so fresh installations don't miss out on them and don't have to download everything. It's already in.
[12:22] <KBar> varaindemian, if you were on 21.11 and to install all of the updates, your system would automatically bump up to 22.11.1
[12:22] <varaindemian> KBar: so only applications are affected
[12:27] <KBar> Everything will remain mostly the same.
[12:27] <KBar> No big changes or added/removed features.
[12:28] <varaindemian> yeah, but security updates are not implemented..
[12:29] <KBar> What do you mean?
[12:30] <varaindemian> KBar: 18.04.2 is outdated compared to 18.04.5 security-wise
[12:30] <KBar> Of course it is. The numbers tell that already.
[12:31] <KBar> varaindemian, if you installed 18.04 right in the beginning and kept updating every day. You wouldn't notice a difference up until today.
[12:31] <varaindemian> KBar: do you have a link where this is exmplained?
[12:32] <KBar> varaindemian but your version would say 18.04.5/6/7
[12:32] <varaindemian> so the user with 18.04.2 did not issue the upgrade command
[12:33] <varaindemian> if you issue only update your system will get the 18.04.5 version?
[12:35] <KBar> varaindemian, I just gave two links. Point releases are updates, not upgrades. Depends on the initial state of your system.
[12:35] <varaindemian> KBar: so you still get security updates by issuing update without upgrade
[12:36] <KBar> varaindemian, 1) you can keep gradually updating and reaching 18.04.whatever 2) you can never update and update all at once today and reach 18.04.whatever 3) you can grab an up-to-date ISO and reinstall with all updates already baked in and your system will be 18.04.whatever
[12:37] <KBar> varaindemian, yes. Though `apt upgrade` is confusing, it will just update your packages and install security updates/bug-fixes.
[12:37] <KBar> That's all.
[12:37] <KBar> There are exceptions, of course.
[12:39] <KBar> But this is generally how updates in Ubuntu work.
[13:02] <andi87> Hej, I accidently removed the network-manager and probably some other stuff when I was trying to remove teamviewer. I was able to reinstall network-manager via live-cd, but my bluetooth adapter (which is the same as the wifi-adapter) isn't recognized anymore. Does anyone have an idea?
[13:19] <KBar> andi87, what were the commands exactly?
[13:20] <KBar> andi87, look at /var/log/apt/history.log
[13:20] <KBar> andi87, you can restore everything back by reinstalling packages that got removed.
[13:21] <andi87>    44  dpkg -l | grep team
[13:21] <andi87>    45  sudo apt-get purge teamviewer
[13:21] <andi87>    46  sudo apt-get remove teamv*
[13:25] <andi87> KBar  ah, allright. The history.log file shows the whole terminal output, didn't knew that. So these are the packages: Commandline: apt-get remove teamv*
[13:25] <andi87> Requested-By: andi (1000)
[13:25] <andi87> Remove: network-manager-pptp:amd64 (1.2.8-2), libteamdctl0:amd64 (1.30-1), network-manager-gnome:amd64 (1.8.24-1ubuntu3), network-manager-config-connectivity-zorin:amd64 (1.0-1), network-manager:amd64 (1.22.10-1ubuntu2.2), network-manager-openvpn:amd64 (1.8.12-1), network-manager-openvpn-gnome:amd64 (1.8.12-1), network-manager-pptp-gnome:amd64
[13:25] <andi87> (1.2.8-2)
[13:27] <KBar> andi87, what version of Ubuntu?
[13:29] <andi87> KBar Using Ubuntu 20.04, Gigabyte GC-WB1733D-I as Wifi & BT card.
[13:31] <KBar> andi87, you're going to reinstall all of those packages. And don't use wildcards like that.
[13:31] <KBar> *going to have to
[13:32] <andi87> KBar yes, that was a bad idea
[13:32] <andi87> KBar thanks
[13:33] <KBar> yw
[13:38] <BinarySavior> having trouble with DNS config on Ubuntu.  https://bpa.st/MOTA
[13:38] <BinarySavior> 10.12.21.9 is my default gateway
[13:51] <mrcoffee> Hi. How do I play a .plist file in Ubuntu?
[13:51] <mrcoffee>  It's a music playlist..
[13:55] <BluesKaj> Hi folks
[13:55] <p13> mrcoffee: isn't plist a macos preference list xml file?
[13:55] <mrcoffee> Yes, i think it's that..
[13:56] <p13> if you open it in a text editor, what do you see?
[13:58] <mrcoffee> It's an mp3 list with p f t A D fields with some other data like author etc..
[13:58] <mrcoffee> p is the link D the duration A the author..
[13:59] <mrcoffee> ...
[13:59] <p13> does it link to the source files?  If not ... there won't be much to play
[14:14] <KBar> mrcoffee libplist3, libplist-utils
[14:14] <KBar> may help you convert and possibly read/write
[14:18] <p13> mrcoffee: i guess you missed the answer by KBar (you got disconnected)
[14:19] <p13> check out libplist3 and libplist-utils
[14:28] <ledeni> mrcoffee, just use this play list ---> http://felloff.net/usr/cinap_lenrek/music/9front/playlist.m3u
[14:55] <user42_> quick question about the IRC RFC(2812), Im workin on building my own serv and had that question about replies (took ADMIN Command as example). It says that you have to send multiple replies. Does it concatenate the content of each reply in one and send it back to us. Or really build differents replies and send them individually ?
[15:41] <tomreyn> user42_: RFC's aren't really Ubuntu support topics, try a channel which is topically related to the IRC protocol.
[15:51] <xu-irc53w> ?
[15:52] <xu-irc53w> Hello what does bs=4M exactly do when you run dd
[15:52] <KBar> xu-irc53w, it sets both input and output block sizes to 4 megabytes.
[15:53] <xu-irc53w> Does it mean the write speed wobnt exceed 4M/S
[15:54] <KBar> no, its not about its speed
[15:54] <xu-irc53w> How do u control speed then
[15:57] <KBar> xu-irc53w, I don't think there is an option or flag for that, but I know that the sync flag to output significantly slows it down.
[15:58] <xu-irc53w> !iso
[15:58] <KBar> Because it forces a physical write after every write.
[15:59] <xu-irc53w> !dd
[15:59] <KBar> xu-irc53w, `info dd`
[15:59] <xu-irc53w> !info dd
[15:59] <KBar> From your terminal.
[16:00] <KBar> xu-irc53w, the program `dd` is part of GNU coreutils, which have a very good documentation accessible by invoking `info PROGRAM_NAME`.
[16:01] <KBar> xu-irc53w, `info dd`, `info ls`, etc. Pressing Q or Ctrl-C quits Info. <SPC> or <PgDn> moves one page down, <BS>, <DEL>, or <PgUp> moves one page up.
[16:03] <KBar> xu-irc53w, btw, if you're trying to create a bootable USB of Xubuntu, you don't need fancy options for dd. It's very light and the process should take between 5 to 10 minutes tops.
[16:04] <KBar> Just `if=/path/to/ISO of=/dev/sdX`
[16:04] <p13> status=progress is a nice one to add unless you like staring at a cursor
[16:04] <KBar> Ah, yes.
[16:06] <KBar> If you have 10 minutes of free time, you can add that flag and stare at some numbers :)
[16:06] <p13> much more entertaining
[16:07] <KBar> I don't know. I've never tried that. Usually, I just run it and forget about it.
[16:08] <p13> there is also a signal you can send it to make it spit out some status info
[16:08] <p13> i believe it's USR1
[16:08] <KBar> but yeah. for a newcomer, it is a must-have. otherwise, you might get crazy
[16:08] <KBar> and freak out
[16:10] <bebop> simple: 'dd if=nameof.iso of=/dev/sdx'
[16:11] <xu-irc53w> I found it theres actually dd for windows, i hope they work same
[16:11] <KBar> woah woah woah, dont utter that w-word here ever again
[16:12] <bebop> they don't
[16:12] <KBar> xu-irc53w, if you're on W..., try Rufus instead.
[16:13] <KBar> Seamless, easy, user-friendly.
[16:14] <xu-irc53w> www.chrysocome.net/dd
[16:16] <p13> KBar: lol i wish the community would get over this whole windows thing already
[16:17] <p13> and yeah rufus, etcher, etc.  there are many options
[16:18] <KBar> p13, I'm just kidding. :)
[16:18] <p13> i know, but it kind of scares newcomers unfortunately
[16:19] <KBar> p13, well, if anything, these arcane shell commands scare them more. :P
[16:19] <p13> lol well maybe you do have a point there
[16:22] <p13> Dno, i've been running linux as my main desktop since like 2001 or something.  Nowadays, entirely possible in _most_ cases to use linux as a regular desktop OS, without having to mess with the CLI
[16:22] <p13> used to be different lol
[16:25] <xu-irc53w> How to show package dependency without installin it
[16:26] <p13> xu-irc53w: apt show
[16:27] <xu-irc53w> Is there a demonstrate function with dpkg -i
[16:27] <p13> you mean a dry run ?
[16:28] <xu-irc53w> Smth like that, without really installing
[16:28] <p13> so you mean you have a deb file you want to install ?
[16:28] <p13> or do you want to install from repo ?
[16:29] <xu-irc53w> Yeah i want to install, i just wanna see what it goes without real installing
[16:29] <p13> yes, but is it a deb file, or do you want to install from repo?
[16:29] <xu-irc53w> Its deb from AMD
[16:30] <p13> ok, dpkg -i --dry-run
[16:30] <xu-irc53w> Ok how to use apt-show with a downloaded deb
[16:31] <p13> dpkg-deb -I
[16:31] <xu-irc53w> Thx
[16:31] <p13> no worries
[16:40] <xu-irc53w> !filesystem
[16:42] <xu-irc53w> What filesystem is mostly used now
[16:42] <p13> for general desktop use ?
[16:44] <xu-irc53w> Yes
[16:44] <p13> unless there's a specific feature you need from a particular fileystem, i'd say just stick with ext4
[16:45] <xu-irc53w> Ok how do you set back up in case for X crashes
[16:46] <p13> what do you mean?
[16:46] <xu-irc53w> How to set backup in case desktop fails
[16:47] <p13> you mean in the event your computer crashes?
[16:47] <p13> like totally crashes?
[16:47] <p13> dejadup, etc works well for your user data
[16:47] <xu-irc53w> No desktop or smth
[16:48] <ens2> so i installed ubuntu onto my laptop and after it put grub on, it doesn't give me an option to boot to windows. is there a command i can run to test how the bootloader is looking for the windows partition?
[16:49] <p13> ens2: hold shift while your computer is booting to see the grub menu
[16:49] <p13> or mash escape
[16:50] <xu-irc53w> Better set wait time for it
[16:50] <p13> xu-irc53w: which desktop environment do you run?  Gnome?  In that case, just use the backup tool that comes with ubuntu
[16:50] <ens2> yeah i got to the grub menu. it only offered the option to boot to ubuntu (no windows option)
[16:50] <p13> ens2: ah, i see.  You know where your windows partition is?
[16:51] <ens2> yeah it's on /dev/dm-3
[16:51] <p13> softraid?
[16:51] <ens2> hardware raid0
[16:51] <p13> dm-3 does not soun like hardware raid ...
[16:52] <ens2> well i set up the raid volume using the hp/intel config thing from where the bios lives. so i would hope nothing strange is going on.
[16:53] <p13> yeah that's soft raid
[16:53] <p13> see if you can run os-prober
[16:53] <ens2> for reference it's also under /dev/mapper/isw_dgdhjdjfgb_Volume1p3 -> ../dm-3
[16:54] <ens2> os-prober runs but doesn't echo any output
[16:54] <p13> yeah symlink, that's normal
[16:54] <p13> ens2: run updat-grub after os-prober
[16:55] <p13> update-grub
[16:56] <ens2> p13: https://pastebin.com/he4tqR08
[16:57] <p13> is your raid a raid1 ?
[16:58] <ens2> it is a raid0
[16:58] <KBar> ens2, you have a type. the command is `update-grub` with superuser privileges
[16:58] <KBar> you typed `updat-grub`
[16:58] <KBar> oh my bad
[16:58] <KBar> didnt see the end
[16:59] <p13> hmm raid0 softraid might be a bit problematic for this, i mean i haven't done it.  with raid1, you just point it directly to one of the disk devices, and it's fine
[16:59] <p13> hold on
[16:59] <KBar> sorry. im getting old i guess :D
[16:59] <tomreyn> ens2: what does this print?   echo -n 'This system booted via: '; [ -d /sys/firmware/efi ] && echo UEFI || echo BIOS
[17:01] <ens2> This system booted via: UEFI
[17:01] <tomreyn> ok, good. what's the physical devices you joined into this fakeraid?
[17:02] <ens2> two sandisk x400 m2 sata drives and 1 2.5 ssd that came with the laptop.
[17:03] <p13> looks like sda, sdb and sdc
[17:03] <ens2> yeah. that also. :)
[17:03] <p13> 3 disk raid0 with differing geometries.  YOLO
[17:04] <ens2> well two of them are the same at least!
[17:04]  * ens2 chuckles
[17:04] <tomreyn> and different buses
[17:04] <tomreyn> although, no , probably all sata
[17:04] <p13> yeah sdx devices, looks like sata
[17:05] <p13> looks production ready to me.  ship it
[17:05] <ens2> yeah. i thought they were nvme m2's at first but they are actually sata it seems. 3 notches on them rather than 2 on the connector is the way i was informed to tell the diff.
[17:05] <tomreyn> so the problem you are trying to solve is that os-prober doesn't find the windows bootloader?
[17:05] <ens2> tomreyn: seems to be the case indeed
[17:06] <tomreyn> have you tried mounting the ntfs?
[17:06] <p13> try your pc's boot menu.  The EFI boot entries will probably contain the windows one
[17:06] <ens2> to get to this point. i installed windows first.... then shrank the windows partition to make space for the ubuntu.. restarted to test that windows still worked and then booted into the live-cd to do the install.
[17:06] <ens2> will try mount it now
[17:07] <nabidev> https://ubottu.com/y/gl
[17:07] <ens2> oh interesting...
[17:07] <ens2> Windows is hibernated, refused to mount.
[17:08] <shadow255> sounds like fast shutdown fun
[17:08] <tomreyn> you need to configure it to shut down properly
[17:08] <ens2> The disk contains an unclean file system (0, 0).
[17:08] <p13> it needs to rest for winter k
[17:08] <p13> disable quick boot
[17:08] <ens2> haha
[17:08] <ens2> it mounted it read-only though
[17:08] <ens2> so i suppose that should be decent enough
[17:09] <ens2> but maybe os-prober picked up that error?
[17:09] <tomreyn> and while you're at it, apply the registry patch to make it accept a utc hardware clock
[17:09] <p13> it will have tried to mount it or at least get the superblock and probably got some weird non-zero exit code
[17:09] <p13> tldr: it choked on itt ... probably
[17:09] <tomreyn> possibly that's what happened. you'll need to creconfigure windows anyways, so why not try this now
[17:11] <ens2> should i try boot into it via the system F9-key boot sequence and get it to dismount it cleanly?
[17:11] <p13> yes
[17:11] <p13> disable quickboot or fastboot or whatever it's called
[17:11] <tomreyn> with this adventurous 'RAID' configuration, make sure you always have good backups for both systems
[17:11] <p13> also, yes, very much what tomreyn said
[17:12] <p13> it's more like a redundant array of imminent destruction
[17:12] <ens2> oh yeah i keep good backups indeed. this is pretty much just my gaming machine but i want to have a decent OS like ubuntu in case i want to do some serious fun work like some cuda coding or just use a nice screen for visual studio code
[17:13] <ens2> but as a gaming machine... little of value would be lost on the windows side at least.
[17:13] <ens2> anyway brb
[17:13] <p13> good luck
[17:14] <p13> i've done usb floppy raid before
[17:14] <p13> good times
[17:14] <p13> mdraid don't care
[17:19] <p13> ens2: F9 wasn't your boot menu key? :D
[17:20] <ens2> well - the good news is that i can at least get to windows by the f9-bios-boot thing. so there's a workaround...
[17:20] <ens2> and i got it to unmount cleanly so it looks like
[17:20] <ens2> https://pastebin.com/S98Zc8yH
[17:20] <ens2> but os-prober isn't giving any output still. at this point i'm happy to just get into it via the F9 menu if you guys don't feel this is worth solving
[17:20] <ens2> but if you have any bright ideas do lemme know
[17:21] <p13> os-prober is silent
[17:21] <p13> try update-grub again
[17:21] <ens2> same output as last time
[17:21] <p13> hmmm
[17:21] <p13> can you mount the partition read-write now ?
[17:22] <ens2> yep. i mounted it
[17:22] <TJ-> not been following, but os-prober is disabled by default on recent releases
[17:22] <ens2> and did echo test > test
[17:22] <p13> TJ-: oh, is there a new way?
[17:23] <ens2> this is 20.04 for reference
[17:24] <p13> is there a windows entry /etc/grub.d?
[17:25] <p13> like a windows file
[17:25] <TJ-> it's just the GRUB_ option changed the default but I can't find the changelog mention of it now, so not sure where I saw it!
[17:26] <ens2> no windows mentioend under /etc/grub.d/
[17:28] <TJ-> ahhh, no it isn't, not in releases, sorry. It's in recent upstream commits this year (I work on the upstream code a bit and saw it there!)
[17:28] <p13> hmm, you could try making the entry manually in there
[17:28] <tomreyn> is package os-prober installed, though?
[17:29] <ens2> os-prober is already the newest version (1.74ubuntu2).
[17:30] <tomreyn> oh yes, you also showed that in the paste, sorry
[17:30] <tomreyn> so i guess os-prober can't find it on the isw raid
[17:31] <ens2> yeah bit of a head scratcher
[17:31] <TJ-> can we go back a bit? ens2  you said this is an UEFI install/boot ?
[17:31] <ens2> my instinct now is to boot to grub command line and see if i can find the windows drive and do some kind of chainloader to test it works manually or something
[17:31] <ens2> TJ-: yeah
[17:31] <p13> you could add the EFI boot entry to grub
[17:32] <TJ-> ens2: in which case GRUB should NOT be involved. The motherboard firmware's own UEFI boot menu should have the Windows entry, and when you wish to start Windows you should press the hot-key at start-up that brings up the manual boot menu for the firmware
[17:32] <TJ-> ens2: use "efibootmgr -v" to assure yourself that the Windows entry is there
[17:33] <TJ-> ens2: look at the BootOrder and you'll like see Ubuntu's entry is ahead of the Windows entry so by default Ubuntu always starts, unless you tell the motherboard firmware to choose Windows
[17:34] <ens2> yep ubuntu is first in that output bootorder
[17:35] <ens2> ok then. that makes sense.
[17:35] <TJ-> ens2: and you see Windows entry too?
[17:35] <ens2> yeah, windows is there on it too as "Windows Boot Manager" which is right after Ubuntu in the boot order
[17:36] <TJ-> ens2: if you want to boot into Windows next time only, you can do "sudo efibootmgr --boot-next XXXX" where XXXX is the Windows boot order number (e.g. 0002) that avoids needing to press the firmware hotkey and select Windows from the manual boot menu
[17:37] <ens2> oh that's handy. i'll save that in a .sh
[17:37] <TJ-> ens2: efibootmgr can also be used to change the default, by setting an explicit permanent BootOrder. See "man efibotomgr" -- lots of good examples at the end
[17:38] <tomreyn> TJ-: just for me to understand: why are you saying grub should not be involved here? i mean sure, it is not needed, but it could be, or not?
[17:38] <tomreyn> i mean it could be used in addition to the uefi boot chooser
[17:38] <TJ-> tomreyn: the whole problem with trying to chainload another EFI portable executable, which is what os-prober tries to do
[17:39] <p13> well if you REALLY want to live on the edge, some google guys kexec'd into windows from linux lol
[17:40] <TJ-> The entire point of UEFI was to separate the boot-loaders from each other - os-prober was a kludge to allow multiboot when GRUB/Linux was installed last and took over the MBR
[17:40] <tomreyn> i see
[17:41] <p13> i use refind boot manager
[17:41] <p13> i have a drive with qubes, a drive with haiku and an mdraid set with ubuntu
[17:42] <p13> it keeps all of their bootloaders separate
[17:43] <p13> wish my pc just supported coreboot
[17:44] <tomreyn> p13: there's also #ubuntu-offtopic for non support Q&A
[17:44] <p13> is it OT though?  I suggested an alternative
[17:44] <TJ-> p13: UEFI keeps boot-loaders separate by design - each has its own directory under /EFI/ on the EFI system partition
[17:45] <TJ-> Ubuntu adds /EFI/ubuntu/
[17:45] <p13> yeah, and refind just allows you to drop into the efi shell, or allows you to load any efi executable.  It's kind of nice
[17:46] <ens2> thanks for the help and education on this issue folks. much appreciate.
[17:47] <p13> ens2: cool beans.  The firmware boot menu entry works i guess, but maybe check out refind if you want another solution.  https://en.wikipedia.org/wiki/REFInd
[17:50] <ens2> thanks. looks like a cool project.
[17:50] <p13> it's pretty neat.
[18:34] <veretoes> hey dudes, which lightweight ubuntu is encrypted?
[18:34] <veretoes> xubuntu maybe?
[18:35] <p13> you can have encryption on any ubuntu variant
[18:35] <p13> full disk or just your home dir?
[18:36] <veretoes> hi p13, I'd prefer full disk
[18:36] <p13> which desktop environment do you prefer?
[18:37] <veretoes> I have xubuntu installed
[18:37] <veretoes> I like it, it's ok
[18:37] <p13> you have it already installed and want to encrypt your current system?
[18:37] <veretoes> yes
[18:37] <p13> hmmm not so easy i don't think
[18:38] <p13> do you have a second disk to copy to?
[18:43] <RandomGuy21> Hey p13 how easy would it be to encrypt just the home folder on an already installed Ubuntu system
[18:44] <p13> make a new user, set up encryption, copy over
[18:45] <veretoes> nothing important on the hard disk yet, it could be formatted or whatever
[18:45] <p13> veretoes: then i suggest reinstalling
[18:45] <p13> pick set up lvm with full disk encryption
[18:48] <RandomGuy21> Cool thanks
[18:53] <veretoes> thanks
[20:33] <cientista> oi
[22:24] <Chunky_Ks> Hey all, I finally upgraded my 20.04 machine to the latest, and I'm having an infuriating issue in mate-terminal when using vi: When the mouse moves focus to another window, the terminal beeps, and vi exits insert mode. I've no idea what's happening, but I'd very much like it to stop. Can anyone suggest anything I could try?
[22:25] <p13> sounds like a GPM thing
[22:25] <p13> Some applications support the use of a mouse in the terminal.  Clicks are sent as escape codes.
[22:25] <p13> Let me have a look for you
[22:26] <Chunky_Ks> oh, huh
[22:26] <Chunky_Ks> that would align with some silliness I had with a terminal text browser, too
[22:26] <p13> when you run htop (that supports gpm), and you click somewhere, does it react ?
[22:27] <Chunky_Ks> yeah, links [the text mode browser] responds to the mouse
[22:27] <p13> yeah that's mate, though, what i mean is does htop for example react to your clicks within the terminal
[22:28] <Chunky_Ks> yep
[22:28] <Chunky_Ks> htop responds to mouse clicks
[22:29] <p13> ok cool so that works
[22:29] <p13> aka that's  not broken.  I suspect vi is getting those clicks and doesn't know what to do with them
[22:29] <p13> do you use vi or vim?
[22:29] <Chunky_Ks> I just tried my other pre-21.10 machine, and htop doesn't respond to clicks in it
[22:29] <Chunky_Ks> uh. "vi" at the terminal, lemme figure out what that actually is
[22:30] <p13> try vim
[22:30] <Chunky_Ks> currently that's vim.tiny
[22:30] <p13> ok cool
[22:30] <yakov> windows suck
[22:30] <p13> do you want to use your mouse for anything in the terminal?
[22:30] <Chunky_Ks> installing vim-not-tiny now
[22:30] <Chunky_Ks> not even a little bit :-)
[22:30] <p13> ok let's check how to disable it then
[22:31] <Chunky_Ks> ah, yeah. vim as in "sudo apt install vim" doesn't do this.
[22:31] <p13> yeah vim supports gpm
[22:32] <Chunky_Ks> nod. good call on pointingthe finger at gpm
[22:32] <p13> i recognize the behavior from occasional byobu shenanigans so it rang a bell :)
[22:32] <Chunky_Ks> nod.
[22:33] <Chunky_Ks> I've also updated alternatives to point vi at vim.basic, which also alleviates the symptoms
[22:33] <p13> vim is nicer anyway imho
[22:33] <Chunky_Ks> although personally I prefer my terminal remain ignorant of mouse altogether
[22:33] <p13> can use cursor keys lol
[22:33] <p13> hjkl is nice and all, but i'm not that cool
[22:33] <Chunky_Ks> I'm old enough and grumpy enough that I learned vi when it was "the thing Bill Joy wrote"
[22:34] <p13> well in any case, if this bothers you with anything again, you know where to look
[22:35] <p13> i would think that mate-terminal has an option in it's prefs somewhere to enable or disable mouse support
[22:37] <Chunky_Ks> hrm
[22:37] <Chunky_Ks> I don't see anything
[22:37] <Chunky_Ks> but for now I think I'm ok. at the very least, "vi" doesn't beep and drop out of insert mode when I mouse around
[22:38] <Chunky_Ks> so I'll take the victory. Thanks for your swift and excellent help!
[22:38] <p13> that would annoy me as well haha
[22:38] <p13> no worries friend
[23:30] <Guest6259> What's the best ppa to get newer kernel in older ubuntu release?