[00:00] <deker> gotcha, coming right up
[00:00] <deker> grub-efi-amd64-signed/bionic-updates,now 1.93.14+2.02-2ubuntu8.13 amd64 [installed]
[00:00] <deker> shim-signed/bionic-updates,now 1.37~18.04.3+15+1533136590.3beb971-0ubuntu1 amd64 [installed]
[00:00] <deker> although.....this was from ubuntu
[00:00] <deker> i'll need to boot into backbox and check there
[00:01] <TJ-> deker: or you can chroot into it :)
[00:01] <deker> but chances are, it probably is exactly it
[00:01] <deker> TJ-: sure, guide me on that one please:
[00:01] <deker> ?
[00:01] <TJ-> deker: if Backbox has those same packages then the problem is the hardcoded paths
[00:02] <deker> sudo chroot /dev/sdaX which is backbox's root?
[00:02] <TJ-> deker: which partition is backbox installed in?
[00:02] <deker> dev/sda10 as /boot and /dev/sda11 as root
[00:03] <TJ-> deker: "sudo mkdir /backbox; sudo mount /dev/sda11 /backbox; sudo chroot /backbox apt list --installed 'grub*signed' 'shim*signed' "
[00:03] <deker> grub-efi-amd64-signed/bionic-updates,now 1.93.14+2.02-2ubuntu8.13 amd64 [installed]
[00:03] <deker> shim-signed/bionic-updates,now 1.37~18.04.3+15+1533136590.3beb971-0ubuntu1 amd64 [installed]
[00:04] <deker> looks like that confirms it    =/
[00:04] <deker> so, can i uninstall these signed versions?
[00:04] <TJ-> deker: yes
[00:05] <TJ-> deker: if you add the kernel file-systems to the backbox mount you work from within it and even run grub-install inside the chroot
[00:05] <deker> sudo apt-get remove 'grub*signed' 'shim*signed' ?
[00:06] <TJ-> deker: "for n in proc sys dev etc/resolve.conf; do sudo mount --rbind /$n /backbox/$n; done "
[00:06] <TJ-> deker: then "sudo chroot /backbox" ... at this point you're fully inside Backbox and can run commands as normal
[00:06] <TJ-> deker: to return to Ubuntu "exit"
[00:06] <TJ-> deker: hang on, I typoeda gain"
[00:06] <deker> ok
[00:07] <TJ-> deker: "for n in proc sys dev etc/resolv.conf; do sudo mount --rbind /$n /backbox/$n; done "
[00:07] <TJ-> (removed 'e' from resolv.conf !
[00:07] <deker> ok done
[00:08] <deker> so now this is in backbox
[00:08] <deker> after running those last two commands
[00:08] <deker> and now just run my apt-get remove ?
[00:08] <TJ-> deker: so you can uninstall those signed packages, and then "apt install grub-efi-amd64"
[00:08] <TJ-> deker: make sure you're inside the backbox chroot else you'll remove them from Ubuntu :)
[00:09] <deker> yup, i chrooted into /backbox   :)
[00:09] <deker> Removing shim-signed (1.37~18.04.3+15+1533136590.3beb971-0ubuntu1) ...
[00:09] <deker> Removing grub-efi-amd64-signed (1.93.14+2.02-2ubuntu8.13) ...
[00:09] <TJ-> :D
[00:09] <deker> Preconfiguring packages ...
[00:09] <deker> (Reading database ... 260246 files and directories currently installed.)
[00:09] <deker> Removing grub-gfxpayload-lists (0.7) ...
[00:09] <deker> Removing grub-pc (2.02-2ubuntu8.13) ...
[00:09] <deker> Selecting previously unselected package grub-efi-amd64.
[00:09] <deker> (Reading database ... 260227 files and directories currently installed.)
[00:09] <TJ-> when you install grub-efi-amd64 that should re-run grub-install which'll use /EFI/backbox/grubx64.efi" not "shimx64.efi"
[00:10] <TJ-> deker: weird; grub-pc was installed? that's for BIOS mode boots
[00:10] <deker> ok
[00:10] <deker> there
[00:10] <deker> too much text
[00:11] <deker> backbox may be a bit too aggressive when installing stuff
[00:12] <deker> TJ- : brb, rebooting to test
[00:18] <deker> got it, thanks
[00:18] <dax> np
[00:18] <deker> nickserv that is
[00:18] <deker> ok, now i'm in backbox
[00:19] <deker> fwupdate-amd64-signed/bionic-updates 1.19bionic2+12-3bionic2 amd64
[00:19] <deker> fwupdate-i386-signed/bionic-updates 1.19bionic2+12-3bionic2 i386
[00:19] <deker> fwupdate-signed/bionic-updates,now 1.19bionic2+12-3bionic2 amd64 [installed]
[00:19] <deker> grub-efi-amd64-signed/bionic-updates 1.93.14+2.02-2ubuntu8.13 amd64
[00:19] <deker> shim-signed/bionic-updates,now 1.37~18.04.3+15+1533136590.3beb971-0ubuntu1 amd64 [residual-config]
[00:21] <deker> hmm.....what else could it be?
[00:22] <deker> very odd
[00:22] <TJ-> deker: what's the problem?
[00:22] <deker> still going to ubuntu
[00:23] <TJ-> deker: check "efibootmgr -v" again
[00:23] <TJ-> deker: the backbox entry should be pointing to /EFI/backbox/grubx64.efi now
[00:23] <deker> it isn't sadly
[00:23] <deker> still stuck on /File(\EFI\BACKBOX\SHIMX64.EFI)
[00:24] <deker> so is ubuntu apparently /File(\EFI\UBUNTU\SHIMX64.EFI)
[00:24] <TJ-> deker: ok, try to force it, within the backbox chroot (I assume you rebuilt that)  with "grub-install /dev/sda"
[00:24] <deker> so this time around, i actually booted into backbox
[00:25] <deker> just so i can natively run commands in case it makes a difference
[00:25] <TJ-> deker: ok :)
[00:25] <deker> ok running that now
[00:25] <deker> Installing for x86_64-efi platform.
[00:25] <deker> Installation finished. No error reported.
[00:25] <deker> -rwx------ 1 root root 120K Jul 20 20:25 grubx64.efi
[00:26] <TJ-> what does "efibootmgr -v" report now?
[00:26] <deker> looking better /File(\EFI\backbox\grubx64.efi)
[00:26] <TJ-> deker: that's what we want to see :)
[00:26] <deker> excellent, let me reboot now and see what happens   :)
[00:28] <deker> brb
[00:33] <deker> i'm back
[00:33] <deker> works like a charm!
[00:33] <deker> you are truly a genius TJ_
[00:33] <deker> TJ-
[00:33] <deker> thank you so much for sticking through with me and helping sort it out
[00:33] <deker> i really appreciate it
[00:34] <OerHeks> !cookie | TJ-
[00:35] <deker> !trout | Sigyn
[00:36] <deker> that didn't work, awww, wanted to smack that guy around a bit for threatening "automated actions"
[00:36] <deker> !cookie | TJ-
[00:42] <johnjay> does the ubuntu installer let me install everything from the dvd?
[00:42] <johnjay> the deb one doesn't and my internet may be down for awhile
[00:46] <OerHeks> johnjay, limited to the standard selection software, yes
[00:50] <deker> exit
[01:26] <invalidpartition> Hi I've got a Dell Venue Pro 11 running xubuntu and it has suddenly come up with the error "Invalid Partition Table" whenever I turn it on. I've gone into the bios and everything seems fine there. How do I make the laptop boot normally again? The partition has been encrypted and I'm able to successfully decrypt and mount it but I couldn't get the s
[01:26] <invalidpartition> yntax for fsck correct to run that on it
[01:44] <invalidpartition> Sorry for the disconnect
[01:45] <Bashing-om> invalidpartition: Not missed a reply :) Wait some more.
[01:45] <ryuo> Bashing-om: no, you fool! you gave us away.
[01:45]  * ryuo hides.
[01:45] <ryuo> <.<
[01:46] <invalidpartition> Cheers Bashing-om, saves me checking the logs
[01:46] <Bashing-om> ryuo: Sometimes I peek out from under my rock :P
[02:21] <Blasterboy> Hey guys. When I use Xorg graphics, all my monitors work. But when I switch to Nvidia from software & updates only one monitor works. Any help?
[02:26] <kinghat> is it possible to cast to chromecast from firefox?
[02:40] <pragmaticenigma> kinghat: If there is, you could find it searching on Mozilla's add-ons site. https://addons.mozilla.org
[02:50] <kinghat> ya I saw something with a locally installed bridge. just wondered if native.
[03:07] <djapo> Is there anything special about ubuntu server?
[03:07] <djapo> I mean, isn't it just a linux server, so skills from managing playn ol linux servers applicable?
[03:15] <pragmaticenigma> djapo: Ubuntu server doesn't install a GUI by default. Both Ubuntu Desktop and Server have the same core, the difference is how a user/admin interacts with the system.
[03:27] <djapo> i saw an ncurses interface for installing bundled packages
[03:42] <sappheiros> is it possible to make a USB drive to boot into ubuntu OS and store all files and settings there?
[03:43] <sappheiros> so the entire OS+files+settings are self-contained on that USB?
[03:47] <MrCrackPotBuilde> saphireos not sure what your asking. I use a boot partition on a usb and this is used to start my computer. Once the computer is started and the boot sector runs my main HDD will get decrypted by a key stored on the same USB. once im at the log in screen the usb can be removed
[03:48] <peq> sappheiros: yes you can even use the normal installer to install to another USB disk.  The disk might die quickly if you use SWAP, but the PC might crash if you don't
[03:48] <sappheiros> i mean: i want to use a windows laptop, not partition its hard drive, but instead use a USB drive to both boot into ubuntu and contain all the files and settings
[03:48] <MrCrackPotBuilde> theoretically if your bios is configured correctly and your fstab table is accurate you can use a combination of usb sticks to run linux. Each USB being a separate partition like tmp home usr etc
[03:49] <MrCrackPotBuilde> sappheiros, that is a persistant usb live stick
[03:49] <sappheiros> peq: so it's really wear-and-tear on a USB drive to use it as a 'hard drive' (storing files, etc)?
[03:49] <MrCrackPotBuilde> how ever your usb sticks if rubbish can burn out
[03:49] <sappheiros> do people generally not do it because it generally destroys USB drives?
[03:49] <MrCrackPotBuilde> once they are gone its very difficult if not imposibble to retreive any data
[03:49] <MrCrackPotBuilde> its more performance issues
[03:50] <MrCrackPotBuilde> usb sticks now are cheap as anything
[03:50] <sappheiros> it's just better to partition the hard drive?
[03:50] <MrCrackPotBuilde> yes faster more stable
[03:50] <MrCrackPotBuilde> but if you are just using it for a few hours nothing to computationally heavy or disk resource heavy you can use for a while
[03:50] <sappheiros> is ubuntu working now with touchscreens?
[03:51] <MrCrackPotBuilde> A raspberry pi runs off a micro usb
[03:51] <peq> You could in theory use MD to raid-1 between two sticks, and that would even get you double the read speeds
[03:51] <MrCrackPotBuilde> and mine has been going for years
[03:51] <MrCrackPotBuilde> ^^
[03:51] <sappheiros> you use raspberry pi MrCrackPotBuilde ?
[03:51] <MrCrackPotBuilde> yes
[03:51] <MrCrackPotBuilde> and beagle boards
[03:51] <MrCrackPotBuilde> and a few others
[03:53] <MrCrackPotBuilde> i have a raspberry pi with LFS as a media server this runs on a micro usb and has been going for a year but will probaably die within the next year. then i have a beagle board with uses 5 usb sticks
[03:53] <MrCrackPotBuilde> you can configure ubuntu to do a lot but the question should be why
[03:53] <MrCrackPotBuilde> for myself it was more is it possible could i use it to enhance my security and i learnt more about Linux
[03:54] <MrCrackPotBuilde> other than that its pointless
[03:54] <MrCrackPotBuilde> just partition and dual boot. if you really dont want to VM
[03:56] <MrCrackPotBuilde> peq do you know of a package manager or similar that just allows you to search for and download source code ??
[04:13] <zdorovo> hey, so I can't figure out how to hibernate
[04:14] <zdorovo> I'm running ubuntu 18.04
[04:14] <zdorovo> I've confirmed my swap is bigger than my RAM and I've tried adding a resume= parameter to my GRUB configuration
[04:14] <zdorovo> any ideas?
[04:14] <zdorovo> i have a 2017 thinkpad if that helps
[04:15] <zdorovo> when I run systemctl hibernate, the screen goes black and the computer takes a couple of seconds to shut off. but when I boot back up there's no indication that I hibernated
[04:16] <MrCrackPotBuilde> zdorovo, sudo systemctl hibernate
[04:16] <MrCrackPotBuilde> ah you did that
[04:16] <MrCrackPotBuilde> leave a few programs open and try again
[04:17] <johnjay> how bigger does swap have to be than ram to hibernate?
[04:18] <MrCrackPotBuilde> it needs to be at least 100mb more
[04:18] <johnjay> ok
[04:18] <MrCrackPotBuilde> if you have 8gb ram then 8.1gb
[04:18] <johnjay> i'm going to install ubuntu onto an SSD
[04:19] <MrCrackPotBuilde> swap space typically is double that of your ram
[04:19] <johnjay> but i'm going to have lots of partitions for other OS as well
[04:19] <johnjay> ah
[04:19] <johnjay> can I share the same /home partition with ubuntu and other linuxen you think?
[04:19] <MrCrackPotBuilde> yes
[04:19] <johnjay> or is that a bad idea
[04:20] <MrCrackPotBuilde> but as long as no programs are installed there
[04:20] <johnjay> the thign is there's so many things in /home. like it makes folders and temp files and stuff
[04:20] <MrCrackPotBuilde> so you could have a partition that contains only your documents
[04:22] <MrCrackPotBuilde> you would normally have a partition to hold your personal files this partition could then be mounted by all/most os's
[04:22] <MrCrackPotBuilde> like i said make sure no programs are installed in this directory it should just be data storage
[04:23] <MrCrackPotBuilde> you could just install Qubes
[04:23] <MrCrackPotBuilde> run ubuntu debian fedora arch windows meh all in one
[04:30] <peq> MrCrackPotBuilde: The only thing I know to do is apt-get source or searching github.
[04:36] <zdorovo> MrCrackPotBuilde: omg i didn't see this 100mg requirement anywhere
[04:36] <zdorovo> mine's only 85mb larger
[04:38] <zdorovo> i'll try resizing my swap in the morning and see how it goes. Thanks for your help!!
[04:52] <maxcell_> I'm experiencing screen tearing on ubuntu 19.04
[04:53] <maxcell_> nvidia prop. drivers on
[04:53] <maxcell_> gnome interface
[05:26] <MrCrackPotBuilde> zdorovo for things to work well id use double your ram just to be on the safe side. testing just now confirms you can get it working with 100+
[05:48] <invalidpartition> Hi, I've got a Dell Venue Pro 11 running xubuntu and it has suddenly come up with the error "Invalid Partition Table" whenever I turn it on. I've gone into the bios and everything seems fine there. How do I make the laptop boot normally again? The partition has been encrypted and I'm able to successfully decrypt and mount it but I couldn't get the
[05:48] <invalidpartition> syntax for fsck correct to run that on it
[05:52] <MrCrackPotBuilde> is your fstab uptodate ??
[05:53] <MrCrackPotBuilde> the problem with fsck and repairing drives is the drive shouldnt be mounted
[05:54] <MrCrackPotBuilde> invalidpartition, are you able to boot a live usb?? can you then mount decrypt and then unmount
[05:54] <MrCrackPotBuilde> if you can then run fsck /dev/XXXX
[05:54] <invalidpartition> Sorry I should have mentioned, I'm already on a live usb!
[05:54] <MrCrackPotBuilde> i kinda figured that after i typed it hahaha i was being a bit blur sorry
[05:57] <invalidpartition> Ok I've currently decrypted the partition and then unmounted it (since it mounts automatically after decrypting)
[05:57] <invalidpartition> But if I do fsck /dev/sda5 it tells me I must have r/w access
[05:57] <MrCrackPotBuilde> you could also use parted or fdisk to check the partition tables
[05:58] <MrCrackPotBuilde> you might need to give your live stick user r/w access to the file system
[05:58] <MrCrackPotBuilde> chmod
[06:01] <invalidpartition> Will I try creating a new partition table via gparted then? And for giving r/w access would it be "chmod 777 /dev/sda5"?
[06:16] <EriC^^> invalidpartition: no, can you pastebin "sudo parted -ls" ?
[06:16] <jml2> invalidpartition, nice name lol
[06:18] <invalidpartition> EriC^^: https://pastebin.com/xiZU2Rq1
[06:18] <invalidpartition> (currently dismounted and decrypted)
[06:21] <invalidpartition> *encrypted sorry not decrypted
[06:21] <EriC^^> invalidpartition: where does it say "invalid partition" ?
[06:22] <invalidpartition> When I boot
[06:23] <EriC^^> invalidpartition: hmm, so it's a bios message? and ubuntu doesnt actually boot, no grub i mean ?
[06:23] <EriC^^> invalidpartition: just to be clear, invalid partition table has nothing to do with filesystems
[06:24] <EriC^^> (or fsck)
[06:24] <invalidpartition> Yeah it seems to be a bios message, and you're right, it just gets to the Dell bios screen then the error pops up
[06:24] <invalidpartition> Ah ok, someone recommended trying fsck which is why I was trying it
[06:24] <EriC^^> yeah i know
[06:25] <EriC^^> invalidpartition: i wonder what it doesnt like about the partition table, it seems fine and parted doesnt whine about anything either
[06:25] <invalidpartition> Yeah it's very strange, it was booting fine before and nothing was changed before this error started coming up
[06:25] <EriC^^> invalidpartition: let's maybe take a closer look, try "sudo parted /dev/sda unit s print"
[06:25] <invalidpartition> It happened before and I just did a fresh install of ubuntu
[06:26] <EriC^^> invalidpartition: ah i see the problem
[06:26] <EriC^^> (i think)
[06:26] <invalidpartition> https://pastebin.com/1DjgffbT
[06:26] <EriC^^> invalidpartition: the /boot partition (/dev/sda1) doesn't have a boot flag
[06:26] <za1b1tsu> apt installed firefox does not load pages, but all other browsers do, I had to install firefox with snap and snap loads slower. I tried everything from https://support.mozilla.org/en-US/kb/firefox-cant-load-websites-other-browsers-can but no results. Any advice?
[06:26] <EriC^^> some bios require that
[06:27] <invalidpartition> Ah, and it can somehow lose its boot flag?
[06:27] <EriC^^> invalidpartition: it shouldn't
[06:28] <EriC^^> unless something modified the partition table
[06:28] <EriC^^> invalidpartition: anyhow, type "sudo fdisk /dev/sda"
[06:29] <invalidpartition> Cool I'm into fdisk
[06:29] <EriC^^> press "m" for help
[06:29] <EriC^^> is there a "toggle boot flag" option at the top?
[06:29] <invalidpartition> Yup!
[06:30] <EriC^^> cool, press the letter before it (i think it should be "a")
[06:30] <invalidpartition> And partition number 1?
[06:30] <EriC^^> yes
[06:30] <invalidpartition> Ok it's enabled now
[06:30] <EriC^^> finally press "w" to write the new table
[06:31] <invalidpartition> Then shall I reboot and retry?
[06:31] <EriC^^> yeah give it a shot
[06:31] <invalidpartition> Cool, brb!
[06:46] <za1b1tsu> something is wrong with the ro repos 0% [Connecting to ro.archive.ubuntu.com (78.96.7.8)]
[06:47] <invalidpartition> EriC^^: I no longer get the error message, instead now I just get a white ticking underscore
[06:52] <EriC^^> invalidpartition: aha, that's a good thing, i think
[06:52] <invalidpartition> Definitely an improvement!
[06:53] <invalidpartition> It doesn't actually boot after the white ticking underscore though
[06:53] <EriC^^> invalidpartition: are you able to get grub if you hold shift right after you turn the pc on??
[06:54] <invalidpartition> Brb while I try!
[06:56] <Invalidpartition> Nope! Holding shift doesn't do anything
[06:56] <MrCrackPotBuilde> Seems you might need to reinstall grub ??
[06:56] <EriC^^> Invalidpartition: yup
[06:56] <MrCrackPotBuilde> that should find the yes ??
[06:56] <EriC^^> i mean MrCrackPotBuilde
[06:57] <MrCrackPotBuilde> it should find the os itself.
[06:57] <Invalidpartition> How do I reinstall grub?
[06:57] <EriC^^> Invalidpartition: ok, decrypt the os partition
[06:57] <MrCrackPotBuilde> use live usb to grab grub sudo grub-install /dev/XXX
[07:00] <EriC^^> Invalidpartition: actually nevermind, type 'sudo mount /dev/sda1 /mnt'
[07:00] <EriC^^> i forgot you have a separate /boot
[07:01] <Invalidpartition> Grand, I'll try that
[07:01] <Invalidpartition> Booting into the live usb now
[07:03] <Invalidpartition> OK I've done the mount sda1 /mnt
[07:04] <Invalidpartition> MrCrackPotBuilde do I do that with sda or sda5?
[07:05] <EriC^^> Invalidpartition: type 'sudo grub-install --boot-directory=/mnt /dev/sda'
[07:06] <Invalidpartition> Done, it says installation finished
[07:06] <Invalidpartition> And it also says no errors reported!
[07:06] <Invalidpartition> Looking good
[07:06] <EriC^^> alright, try booting again'
[07:09] <Invalidpartition> It worked!
[07:09] <Invalidpartition> Thank you so much
[07:11] <EriC^^> Invalidpartition: great! no problem
[07:17] <MrCrackPotBuilde> you could create a back up image of your partition now and if the error happens again just push the image then alter the flags
[07:18] <Invalidpartition> Yeah I'll definitely do that!
[07:18] <Invalidpartition> Thanks again
[07:22] <codecutter> sudo find /opt/tomcat/logs/ -mtime +7 -print0 | xargs -r -0 rm -rf (permission denied)
[07:22] <codecutter> rm: cannot remove '/opt/tomcat/logs/localhost_access_log.2018-08-17.txt': Permission denied
[07:22] <codecutter> ...
[07:23] <codecutter> drwxr-x---  2 tomcat tomcat 90112 Jul 21 07:20 logs
[07:46] <codecutter> anyone?
[07:48] <Mathisen> put sudo again befire xargs
[07:56] <maxcell_> Hi, after i install budgie-desktop to test and then uninstall i'm getting errors on my default gnome when trying to use nvidia-settings.
[07:56] <maxcell_> https://paste.ubuntu.com/p/G5Xs2rY6KP/
[07:57] <maxcell_> i can't save any config file to /etc/X11/xorg.conf, it tell me i don't have permissions. But i'm root
[07:59] <Mathisen> wayland ?
[08:00] <maxcell_> Mathisen, xorg
[08:01] <maxcell_> now my audio doesn't work on google chrome
[08:01] <maxcell_> Mathisen, what can i do to like, remove purge gnome and reinstall it can work?
[08:02] <maxcell_> i really don't want to format my current system because i have a lot of job making it ok
[08:02] <maxcell_> setting everything up
[08:02] <Mathisen> i cant say, i dont use ubuntu myself as desktop. im just wondering why does it say " No package 'xorg-server' found " i mean how can X be running at all with that
[08:02] <maxcell_> how can i see if it's xorg?
[08:02] <maxcell_> something get massed up with gdm and i reinstall it
[08:03] <maxcell_> after uninstalling budgie
[08:03] <maxcell_> because i couldn't dpkg-reconfigure gdm3 to make it default again instead of lightdm
[08:03] <maxcell_> then i tried systemctl enable gdm.service but it didn't work (idk why)
[08:03] <maxcell_> then i reinstall it with apt and it worked.
[08:04] <maxcell_> Mathisen, denis@Linux:~$ echo $XDG_SESSION_TYPE
[08:04] <maxcell_> x11
[08:05] <Mathisen> ... confusing. im sure someone in here can help. i dont want to be guessing atleast
[08:06] <maxcell_> know, people say about windows and that it has to be formated twice a year but...
[08:06] <maxcell_> linux enter to some real troubles out of nowhere
[08:06] <maxcell_> and you have to format it even more
[08:06] <maxcell_> that very annoying
[08:07] <maxcell_> both can suck i gess
[08:07] <Mathisen> depends on what you do. also a rolling relase distro has fewer issues with upgrades.. ofc sometimes things breaks but it is better for a desktop disto for me atleast...
[08:07] <maxcell_> i used to like arch
[08:08] <maxcell_> it's a good distro
[08:08] <maxcell_> also rolling release, maybe what you are using right now?
[08:08] <Mathisen> arch
[08:09] <maxcell_> i like to install a lot of new DE's to test it out
[08:09] <Mathisen> you can do exactly same thing on ubuntu
[08:09] <maxcell_> but i gess i can only do it in Debian
[08:09] <maxcell_> without broking everything
[08:10] <Mathisen> only "real" diffrence would be package versions
[08:10] <maxcell_> ubuntu rolling release?
[08:10] <Mathisen> just dont put 3.rd party repos in and you should not break things
[08:10] <Mathisen> nope it is not
[08:10] <maxcell_> yeah i miss understand you
[08:11] <maxcell_> you said i can do exactly same thing on ubuntu? what are you reffering to
 i like to install a lot of new DE's to test it out
[08:11] <maxcell_> oh yeah
[08:11] <maxcell_> look what happend
[08:11] <maxcell_> everything is massed up because i apt install budgie-desktop
[08:12] <maxcell_> ...i don't know what went wrong
[08:12] <maxcell_> budgie is in ubuntu repos
[08:12] <maxcell_> not 3rd
[08:12] <Mathisen> ok so now when you boot does gdm or lightdm start for you ?
[08:12] <maxcell_> none, then i tried systemctl enable gdm (because lightdm is gone after apt remove budgie)
[08:13] <maxcell_> systemctl give an sort of error message so i apt install --reinstall gdm
[08:13] <Mathisen> maxcell_, can you pastebin output from this please >> systemctl list-unit-files | grep enabled
[08:13] <maxcell_> and ok, gdm became the default again and it is starting with init 5
[08:14] <maxcell_> Mathisen, https://paste.ubuntu.com/p/Grp3bzgDyV/
[08:16] <Mathisen> maxcell_, i dont see lightdm or gdm there
[08:16] <Mathisen> you have them both now installed or none ?
[08:17] <maxcell_> only gdm
[08:17] <Mathisen> and " sudo systemctl start gdm " does what ?
[08:17] <maxcell_> when i systemctl enable gdm(tab) it doesn't complete to anything
[08:17] <maxcell_> as it doesn't exist
[08:17] <maxcell_> if it*
[08:18] <maxcell_> strange
[08:18] <maxcell_> maybe that is what's wrong
[08:18] <maxcell_> and giving those xorg-server errors
[08:18] <Mathisen> ?
[08:19] <maxcell_> those you saw on nvidia-settings
[08:19] <maxcell_> idk
[08:19] <Mathisen> can you just say error you get " sudo systemctl start gdm "
[08:19] <maxcell_> but i'm on gnome
[08:19] <Mathisen> does not mather
[08:19] <maxcell_> ok..
[08:20] <maxcell_> nothing happend
[08:20] <maxcell_> i type enter and it jumps to the other line
[08:20] <maxcell_> without any errors or messages
[08:20] <maxcell_> denis@Linux:~$ sudo systemctl start gdm
[08:20] <maxcell_> denis@Linux:~$
[08:20] <Mathisen> sudo purge gdm && sudo apt install lightdm && sudo systemctl enable lightdm
[08:20] <Mathisen> that then
[08:20] <Mathisen> im off for 10 min.. brb
[08:21] <SysGhost> try replacing start with status, to see how it's operating or not. "sudo systemctl status gdm"
[08:22] <maxcell_> SysGhost, https://paste.ubuntu.com/p/5gMnWQ4s79/
[08:22] <SysGhost> 4th line tells it's up and running.
[08:22] <maxcell_> those errors are normal?
[08:22] <maxcell_> gdm-password
[08:23] <maxcell_> child process -841 was already dead
[08:23] <maxcell_> gkr-pam unable to locate
[08:23] <maxcell_> those things
[08:23] <maxcell_> yours is like that?
[08:23] <SysGhost> some messages are cut off. your terminal app seems to be too small.
[08:23] <maxcell_> yeah
[08:24] <maxcell_> wait
[08:24] <maxcell_> SysGhost, https://paste.ubuntu.com/p/dzqM9zcFj2/
[08:26] <SysGhost> Could be your user config files are corrupt, thus unable to log in. Try creating a new user, or reset your configuration. (take backup on what you need to save before resetting your user profile)
[08:27] <maxcell_> i realize that budgie changes .bashrc file (it adds something on the end of the file that was giving erros when i open i new bash)
[08:27] <maxcell_> maybe it screwed up other things
[08:28] <maxcell_> seems like it
[08:28] <maxcell_> how do i reset my user profile? and what it will do to my current user, what i need to save exactly?
[08:28] <SysGhost> See if this helps: mv ~/.config/dconf/user ~/.config/dconf/user.bak
[08:29] <maxcell_> now i relog?
[08:29] <SysGhost> personally when I have troubles with my user profiles, I delete the whole .config and starts all user configuration over again. Keep in mind that many application store their settings and data in there, so think twice before removing it. you could just rename the .config folder and relog.
[08:30] <SysGhost> indeed..
[08:30] <maxcell_> hmm
[08:30] <maxcell_> cool
[08:32] <maxcell_> SysGhost, i think i need to reinstall budgie
[08:32] <maxcell_> and then remove it with purge
[08:32] <maxcell_> so all config files will go away
[08:32] <maxcell_> ?
[08:33] <maxcell_> shit i did it the first time
[08:33] <maxcell_> gonna relog..
[08:37] <maxcell_> SysGhost, the errors were drastically decreased, the only error still going is on the line 20: https://paste.ubuntu.com/p/r5jNkrwYgh/
[08:38] <jacklisp> hi ! I have transfer my ubuntu18.04 to new hard disk,the drive car looks differ form what is does
[08:39] <SysGhost> How else is the system working, or not working?
[08:39] <jacklisp> before transfer,it look like this:
[08:39] <jacklisp> https://upload.cc/i1/2019/07/18/aK4TLt.jpeg
[08:39] <maxcell_> SysGhost, i erase .config folder, gonna restart now
[08:40] <jacklisp> after transfer, it became this:
[08:40] <jacklisp> https://upload.cc/i1/2019/07/18/8gKB1I.jpeg
[08:42] <jacklisp> It seems that the graphics driver has changed.
[08:43] <jacklisp> And I found out somthing error message in /var/log/Xorg.0.log
[08:43] <jacklisp> [ 25.168] (EE) open /dev/dri/card0: No such file or directory
[08:43] <jacklisp> [ 25.169] (EE) Screen 0 deleted because of no matching config section.
[08:44] <jacklisp> [ 25.201] (EE) AIGLX: reverting to software rendering
[08:44] <SysGhost> jacklisp: whit what method did you clone/transfer to the new drive?
[08:45] <jacklisp> I use tar method copy /boot  /    and /home  to my new hard disk
[08:46] <jacklisp> And changed the UUID in the /boot/grub/grub.cfg
[08:48] <SysGhost> tried the update-initramfs command (as root) ?
[08:49] <SysGhost> (I suspect some kernel modules went missing in the process, thus "changing" your graphical experience)
[08:51] <jacklisp> what's the command update-initramfs do ?
[08:52] <SysGhost> prepares kernel modules so they load properly upon boot, among other boot related stuff.
[08:52] <SysGhost> the initram fs is an image file system container that kicks in before the "real" boot takes over.
[08:54] <jacklisp> ok,I will try that command later,thanks a lot!
[08:55] <SysGhost> *hmm* I do wonder, did you make sure the new /boot is registered/updated in /etc/fstab accordingly ? if not, the fault could be the boot partition not mounting, thus getting the wrong modules/initramfs when the system updates.
[08:56] <SysGhost> ...and thus gives you the wrong kernel gpu drivers versus x.org gpu drivers. (if the versions don't match, it'll kick back to a fallback software driver)
[08:59] <b1> hi, is there a way to script google earth on ubuntu
[09:00] <b1> I have around 50 destinations that I want the kml files from
[09:00] <b1> is there a w way to do this through the terminal
[09:00] <b1> ?
[09:00] <jacklisp> I have remember that,after transfer the system,I can't boot in the new driver system,so I had used live-cd reinstall the grub in to /boot patition.
[09:02] <jacklisp> I have change the UUID in /etc/fstab,
[09:03] <SysGhost> test it with a simple "sudo mount /boot"
[09:03] <SysGhost> if it finds and mounts it. All green light.
[09:04] <SysGhost> once done, update both grub and initramfs. Likely they'd be outdated as it has been unmounted last time
[09:08] <jacklisp> thanks a lot! I'll try it later.
[10:04] <CoolerX> so i installed ubuntu 18 recently (full install) but it doesn't contain most development tools like gcc, g++, make, git, etc
[10:04] <CoolerX> i have been manually sudo apt-get installing these individually
[10:04] <CoolerX> but this article suggests installing a package called build-essential https://tecadmin.net/install-development-tools-on-ubuntu/
[10:05] <CoolerX> how does that work? and is it a good idea?
[10:05] <CoolerX> this suggests the same https://askubuntu.com/questions/1037611/development-tools
[10:08] <tomreyn> !YY.MM | CoolerX
[10:09] <tomreyn> build-essential is a meta package, it depends on other packages commonly used in software development.
[10:09] <tomreyn> apt show build-essential
[10:10] <CoolerX> 18.04
[10:10] <CoolerX> tomreyn, so itself it contains nothing? it only has a bunch of dependencies?
[10:12] <AlexP11223> Is there any good way to use caps lock + hjkl as arrow keys everywhere? On Windows AutoHotkey worked perfectly
[10:12] <AlexP11223> I tried https://unix.stackexchange.com/a/434143/360458 (xmodmap keysym) but it breaks non-English layouts: when I switch (Win + Space) e.g. to Russian I cannot type letters on these keys and caps + hjkl also doesn't work until I switch back to English.
[10:12] <AlexP11223> also shift + caps + hjkl (text selection) doesn't seem to work at least in IntelliJ IDE.
[10:12] <tomreyn> apt-file list build-essential    shows that it does actually contain some files, but no binaries or libs, just informational files.
[10:12] <tomreyn> CoolerX: ^
[10:17] <Adam-> fixed that part
[10:20] <Adam-> hello
[10:22] <tomreyn> hello Adam-, and welcome to the Ubuntu support channel.
[10:22] <Adam-> thank you
[10:41] <parak0vsky> anyone know how to disable that screen lock with swipe arrows after screen got dark and than wake ups?
[10:47] <lotuspsychje> parak0vsky: dconf-editor has values to tweak on the lock screen
[10:57] <BluesKaj> Hi folks
[10:57] <omega_doom> hi
[11:16] <CoolerX> hey
[11:16] <CoolerX> i am trying to install firefox developer edition using ubuntu-make
[11:16] <CoolerX> but i got this error
[11:16] <CoolerX> ERROR: One default was already registered, can't register a second one in that choices set: ['en-US', 'en-US', 'ach', 'af', 'sq', 'ar', 'an', 'hy-AM', 'ast', 'az', 'eu', 'be', 'bn', 'bs', 'br', 'bg', 'my', 'ca', 'zh-CN', 'zh-TW', 'hr', 'cs', 'da', 'nl', 'en-GB', 'en-CA', 'en-US', 'eo', 'et', 'fi', 'fr', 'fy-NL', 'ff', 'gd', 'gl', 'ka', 'de', 'el', 'gn', 'gu-IN', 'he', 'hi-IN', 'hu', 'is', 'id', 'ia', 'ga-IE', 'it', 'ja', 'kab', 'kn', 'cak', 'kk', 'km',
[11:16] <CoolerX> 'ko', 'lv', 'lij', 'lt', 'dsb', 'mk', 'ms', 'mr', 'ne-NP', 'nb-NO', 'nn-NO', 'oc', 'fa', 'pl', 'pt-BR', 'pt-PT', 'pa-IN', 'ro', 'rm', 'ru', 'sr', 'si', 'sk', 'sl', 'son', 'es-AR', 'es-CL', 'es-MX', 'es-ES', 'sv-SE', 'ta', 'te', 'th', 'tr', 'uk', 'hsb', 'ur', 'uz', 'vi', 'cy', 'xh']
[11:16] <CoolerX> there seems to be 2 'en-US' in that list
[11:17] <parak0vsky> what is swap data in system monitor, I don't think I have swap enabled
[11:18] <CoolerX> https://github.com/ubuntu/ubuntu-make/issues/592
[11:19] <CoolerX> why is my ubuntu-make still giving the error if it is fixed?
[11:19] <CoolerX> i just install ubuntu-make it should be the latest version
[11:19] <CoolerX> ubuntu-make is already the newest version (16.11.1ubuntu1).
[11:19] <Caroga> Hi all! Would it be possible for nouveau driver to give HDMI / DP output ?
[11:19] <cjoke> Is there a funny way to find out what package python module QWebView are inside?
[11:22] <omega_doom> quit
[11:23] <tomreyn> parak0vsky: this tells you whether you have swap enabled    cat /proc/swaps
[11:24] <tomreyn> cjoke: not too funny, but gives good enough results:  apt-file search QWebView
[11:28] <cjoke> tomreyn: thanks :)
[11:34] <tomreyn> CoolerX: this is not a development oriented channel. it's the ubuntu support channel. mozilla runs their own IRC channels.
[11:35] <BluesKaj> Caroga, yes
[11:38] <BluesKaj> !nouveau
[11:45] <CoolerY> so i had a couple of ungraceful shutdowns when the power went out
[11:45] <CoolerY> my desktop was not connected to a ups earlier
[11:45] <CoolerY> how do i check and make sure everything is ok?
[11:46] <BluesKaj> CoolerY, does it boot, does it run?
[11:49] <CoolerY> yes
[11:49] <Caroga> BluesKaj: I've done 2 fresh installs with ubuntu 18.04.02 and 19.04. Both of them do not recognize external monitors on nouveau driver. I've installed nvidia-driver (which I actually don't want) and the external monitor turns on. How could I have this without nvidia driver?
[11:49] <BluesKaj> any errors?
[11:49] <CoolerY> nothing obvious
[11:49] <CoolerY> i haven't run any checks tho
[11:50] <parak0vsky> tomreyn: thanks, it is just that swapoff -a didn't work before
[11:51] <tomreyn> CoolerY: usually, file system checks on system critical file systems run automatically on boot. you can boot from a live system and carry out a full file system check from there.
[11:51] <BluesKaj> Caroga, why don't you want the nvidia driver if it works for you?
[11:52] <tomreyn> parak0vsky: there's the   -v    option to swapoff if you'd like it verbose. or you could print its return / status code:  sudo swapoff -a && echo $?
[11:53] <tomreyn> parak0vsky: actually this:  sudo swapoff -a; echo $?
[11:53] <Caroga> BluesKaj: It's a laptop and it runs very hot when using nvidia drivers (also puts the fans on 80% ~ 100%). It eats battery life and therefore makes it really unusable for me. If those things could be solved, it be interested in how. Otherwise, I think I should try and have no nvidia.
[11:56] <BluesKaj> Caroga, and the nouveau doesn't make the laptop run hot ?
[11:56] <Caroga> BluesKaj: correct.
[11:59] <kk4ewt> Caroga; lsusb |grep VGA please
[11:59] <Caroga> kk4ewt: where should I paste this into ?
[11:59] <kk4ewt> here
[11:59] <Caroga> as in, the output of the command :)
[11:59] <CoolerY> tomreyn, how long will that take?
[11:59] <Caroga> oke hold on
[12:01] <tomreyn> CoolerY: depends on too many factors to predict. on ext4 file systems, it's usually between a few seconds and a few minutes.
[12:02] <BluesKaj> Caroga, https://help.gnome.org/users/gnome-help/stable/display-dual-monitors.html.en
[12:02] <tomreyn> but it can be hours if there are many errors.
[12:03] <CoolerY> tomreyn, so just create the ubuntu boot usb?
[12:03] <CoolerY> and boot from that?
[12:04] <tomreyn> CoolerY: you should always keep a ready-made bootable media for the same ubuntu version you have installed around, just in case.
[12:04] <BluesKaj> kk4ewt, he;s trying to connect an outboard monitor via HDMI
[12:05] <caroga> kk4ewt: I am now on my laptop, what was the command again ?
[12:05] <caroga> I was on my pc before so I couldn't easily paste the output from here.
[12:05] <kk4ewt> BluesKaj; but yet nvidia drivers makes him run out so lets verify the card so we can verify the correct driver to use
[12:06] <CoolerY> tomreyn, and after booting then what?
[12:06] <BluesKaj> kk4ewt, read above
[12:06] <kk4ewt> lspci |grep VGA
[12:06] <caroga> 00:02.0 VGA compatible controller: Intel Corporation Device 3e9b
[12:06] <caroga> 01:00.0 VGA compatible controller: NVIDIA Corporation GP106M [GeForce GTX 1060 Mobile] (rev a1)
[12:07] <kk4ewt> so optimus
[12:07] <caroga> I've now installed the NVIDIA drivers, but selected intel with prime-select intel
[12:07] <caroga> Yes, optimus. :)
[12:08] <kk4ewt> usually for external uses the nvidia
[12:08] <caroga> Meaning I should switch everytime I want to use a external monitor?
[12:08] <kk4ewt> caroga;  whatever works for you
[12:09] <caroga> preferable I don't want that. I would like to have HDMI/DP output working without my laptop running hot / making noise and depleting my battery within 30 minutes :)
[12:09] <BluesKaj> !optimus | caroga
[12:10] <tomreyn> CoolerY: use    lsblk    to identify the partitions (or other backing devices, such as previously activated LVM LVs) your standard installations' file systems are on, and the file systemsthey are formatted to. then run the file system specific fsck utilities against them with suitable options (as can be found on their man pages)
[12:11] <BluesKaj> caroga, https://www.linuxquestions.org/questions/slackware-14/external-displays-with-nvidia-optimus-4175587145/
[12:13] <CoolerY> tomreyn, ok
[12:13] <CoolerY> i am trying to install virtualbox right now and failing
[12:13] <CoolerY> https://bpaste.net/raw/mXQZ
[12:14] <BluesKaj> optimus is so hit and miss one has to manually switch gpus in many case, caroga
[12:14] <BluesKaj> cases
[12:14] <caroga> BluesKaj: yeah, I'm reading it all over the web..  :(
[12:15] <caroga> I've learned that 18.10 might have a better support to it
[12:15] <Vixtron> CoolerY: disable secure boot in your bios
[12:17] <CoolerY> Vixtron, why?
[12:18] <CoolerY> Vixtron, i managed to install virtualbox in my ubuntu 18.04 laptop without disabling secure boot but i forgot how i did it
[12:18] <Vixtron> VirtualBox + Secure Boot + Ubuntu = fail
[12:19] <CoolerY> why?
[12:19] <Vixtron> booting into the BIOS and going > advanced (f7) > boot > scroll down to "secure boot" > change "Windows EUFI mode" to "other OS"
[12:19] <Vixtron> > My virtualbox works perfectly now.
[12:19] <Vixtron> Yhe vbox kernel modules aren't signed so secure boot prevents them from installing
[12:20] <Vixtron> The*
[12:20] <tomreyn> Vixtron: you can sign them yourself, though, and install your signing key to the mainboard.
[12:21] <CoolerY> yeah isn't that better?
[12:21] <adroit_machine> My nephew did rm -rf * in my root directory not realizing that my other partitions were mounted there. Now my hard disk is blank. Is there any data recovery option avilble for linux?
[12:22] <Vixtron> Isn't secure boot = other just a simple and permanent solution?
[12:23] <tomreyn> adroit_machine: https://help.ubuntu.com/community/DataRecovery
[12:24] <tomreyn> Vixtron: i guess that's a misleading presentation of "secure boot verification = disabled"
[12:25] <tomreyn> Vixtron: but that's a simple and permanent solution if the problem is having to deal with secure boot signing and it's not considered neccessary, yes.
[12:25] <Vixtron> Sure whatever you say lol
[12:26] <CoolerY> i will try signing first
[12:27] <tomreyn> whether you want secureboot depends on your personal risk assessment: are evil maid attacks an issue for you or not?
[12:27] <lovecat> hi everyone
[12:27] <lovecat> I'm looking for some help with icecast and shoutirc bot
[12:28] <lotuspsychje> !alis | lovecat
[12:29] <lotuspsychje> lovecat: we usually focus on the ubuntu support part here
[12:30] <CoolerX> what happened here?
[12:30] <CoolerX> https://bpaste.net/raw/thCq
[12:31] <CoolerX> it said error and still created the key files
[12:35] <CoolerX> help please
[12:35] <lotuspsychje> !patience | CoolerX
[12:35] <tomreyn> CoolerX: please try running a web search before you ask questions. most quesdtions have been asked by others before, and it may save both your and our time to take this approach you're always welcome to ask again here after you did and had difficulties making sense of the results.
[12:36] <CoolerX> # ls /root/.rnd
[12:36] <CoolerX> ls: cannot access '/root/.rnd': No such file or directory
[12:37] <tomreyn> CoolerX: currently you're asking questions which a web search could answer in a frequency which makes me think you didn't try to investigate it yourself beforehand. but you always should.
[12:41] <CoolerX> this suggests using -writerand
[12:42] <CoolerX> tomreyn, i can't find writerand in man openssl
[12:42] <CoolerX> https://github.com/node-opcua/node-opcua-pki/issues/7
[12:43] <tomreyn> CoolerX: openssl(1ssl) is just the main man page for the openssl command. the openssl subcommands have their own man pages. in this case   man rew    would give you that
[12:43] <tomreyn> * man req
[12:43] <tomreyn> req(1ssl)
[12:45] <CoolerX> https://github.com/openssl/openssl/issues/7754
[12:45] <CoolerX> i think i need to change the conf
[12:48] <CoolerX> i found it in openssl/ssl
[12:48] <CoolerX> i mean in /etc/ssl/openssl.cnf
[12:48] <CoolerX> RANDFILE		= $ENV::HOME/.rnd
[12:48] <CoolerX> should i remove that line?
[12:49] <tomreyn> don't you like your PRNG to be seeded then?
[12:49] <tomreyn> in the past, openssl would automatically create a missing random number seed file so it will be available on consecutive runs. apparently yours does not. this may be a bug in your openssl or libssl version.
[12:49] <tomreyn> probably openssl
[12:50] <CoolerX> tomreyn, update openssl?
[12:50] <tomreyn> which ubuntu version are you on, is it full yupdated?
[12:50] <CoolerX> tomreyn, which is the latest version?
[12:51] <lotuspsychje> !uptodate | CoolerX
[12:51] <CoolerX> OpenSSL 1.1.1  11 Sep 2018
[12:51] <CoolerX> OpenSSL 1.1.1c is now available, including bug and security fixes
[12:52] <CoolerX> so i am up to date
[12:52] <CoolerX> tomreyn, i don't know if i can trust the keys it generated if it shows an error message during the generation process
[12:52] <CoolerX> i am trying to fix the error
[12:55] <tomreyn> CoolerX: apparently you can create the seed using    echo -e '^D' | openssl req -writerand ~/.rnd    but i'm still trying to understand whater that's a sane and safe way.
[12:57] <tomreyn> CoolerX: the openssl version in bionic doesn't seem to generate a missing ~/.rnd file automatically, so either there is a bug (in my opinion) or there is some other initalization mechanism which creates this file when a new user account is generated or first used.
[12:59] <tomreyn> probably the latter or this would have been reported already
[13:02] <CoolerX> tomreyn, so it is safe to ignore the error?
[13:07] <tomreyn> CoolerX: i suggest you ask in #openssl how to see the RNG properly. the non-ubuntu, non debian non openssl project developed workaround discussed at https://github.com/node-opcua/node-opcua-pki/pull/8 may help (or make things worse - this is beyond my understanding).
[13:08] <tomreyn> normally, you want a RNG to be seeded, and this is what these files are for.
[13:11] <CoolerX> This system doesn't support Secure Boot
[13:11] <CoolerX> WTF?
[13:11] <CoolerX> it does support secure boot, i have EUFI enabled
[13:11] <CoolerX> in the bios
[13:11] <CoolerX> I got that error doing this              # mokutil --import mok.der
[13:11] <CoolerX> This system doesn't support Secure Boot
[13:12] <CoolerX> also this entire problem started with VirtualBox not being compatible with secure boot on Ubuntu
[13:13] <CoolerX> UEFI*
[13:13] <CoolerX> https://askubuntu.com/questions/886542/cant-sign-vboxdrv-mokutil-thinks-secure-boot-is-not-supported-yet-it-is
[13:14] <Caroga> kk4ewt, BluesKaj, would bumblebee still be recommended to use even though it's discontinued?
[13:14] <CoolerX> is this a bug?
[13:14] <CoolerX> It's hard to tell what is a bug and what is user error
[13:15] <BluesKaj> Caroga, it's no longer supported so it's no longer recommended
[13:17] <Caroga> Cool, thanks!
[13:17] <tomreyn> CoolerX: again, which ubuntu version are you running, is it !uptodate ?
[13:19] <CoolerX> 18.04 i said this before
[13:19] <CoolerX> tomreyn, yes uptodate
[13:20] <tomreyn> maybe your firmware doesn't properly or fully imeplemtn secure boot.
[13:20] <tomreyn> there are not few firmwares which have this issue
[13:20] <CoolerX> American Megatrends
[13:21] <CoolerX> anyway i will try switching UEFI to custom mode in the bios
[13:22] <tomreyn> custom *may* also mean that it still does secure boot validation but also allows you to import additional keys into the key store.
[13:22] <tomreyn> you'd notice during boot whether or not secure boot is active and being validated
[13:22] <tomreyn> (search dmesg / journalctl -kb)
[13:31] <hggdh> !topic
[13:33] <CoolerX> ok now everything is working
[13:33] <CoolerX> i didn't have to change to a custom boot mode, the boot order had something else before UEFI
[13:33] <CoolerX> just changed that and everything else worked
[14:07] <Wayward_Vagabond> Tips for trying to troubleshoot why the xubuntu 18.04.2lts live dvd keeps crashing when installing on a machine?
[14:07] <Wayward_Vagabond> it seems to always either lockup, or sometimes just reboot when selecting partitions
[14:11] <tomreyn> Wayward_Vagabond: that's usually for at leats one of these two reasons: the iso image got corrupted while downloading (or was downloaded from a bad source), the iso image didn't get properly written to the installer medium (or reading it back fails)
[14:11] <tomreyn> !checksums
[14:11] <tomreyn> !checksum
[14:12] <tomreyn> ideally use a utility which verifies your iso was properly written to the installer media (by reading it back and confirming the data matches).
[14:14] <Wayward_Vagabond> I used xfburn to make it, and it did work another machine
[14:18] <tomreyn> Wayward_Vagabond: personally i prefer flash storage (and ssds or hdds over that) when i care about data consistency. i've had too many optical media which returned different data when read in one vs another reader.
[14:39] <lotuspsychje> Wayward_Vagabond: you could try to install from a liveusb, and see what kind of errors showup at partitioning
[14:39] <cfhowlett> Wayward_Vagabond, still good practice to do an actual hash sum verification
[14:40] <Wayward_Vagabond> hmm, I don't think xfburn will let me make a liveusb
[14:41] <tomreyn> there's no need to make the liveusb using xfburn ;)
[14:42] <tomreyn> use dd, cp, usb-creator{-gtk,-qt}, mkusb, balena etcher or whichever tool you prefer.
[14:43] <Wayward_Vagabond> Never gotten a live usb to work before actually, so been literally years since I've tried
[14:43] <Wayward_Vagabond> but this macine does not seem to like optical media
[14:44] <Wayward_Vagabond> zi think the drives are just full of crud
[14:44] <Sven_vB> hi! where do I report bugs in wipefs (package util-linux)? the man page has no bugs section => email the author?
[14:44] <cfhowlett> !bug | Sven_vB
[14:44] <Sven_vB> thanks!
[14:44] <cfhowlett> happy2help!
[14:45] <lotuspsychje> Sven_vB: before filing bugs we also reccomend to ask your issue here, maybe volunteers already know an existing bug or solution
[14:45] <Wayward_Vagabond> mkusb wasn't in synaptic?
[14:46] <Wayward_Vagabond> usb creator was, gonna try it
[14:46] <tomreyn> !mkusb
[14:46] <Wayward_Vagabond> Should I have the flash drive in any certain format, or will it do that for me
[14:46] <Wayward_Vagabond> ?
[14:47] <tomreyn> usb-creator-* is the standard ubuntu GUII utility for creating liveusbs
[14:47] <tomreyn> usually you just need to provide the iso file and target drive (and be sure to really pick the correct target)
[14:47] <Wayward_Vagabond> right now the drive I has isn't formatted to anything
[14:48] <Sven_vB> Ubuntu 18.04.1 LTS bionic, wipefs from util-linux 2.31.1 reports an "iso9660" signature on a disk that lacks a valid PVD, same as this gparted bug (bottom comment): https://bugzilla.gnome.org/show_bug.cgi?id=771244#c18
[14:48] <Sven_vB> lotuspsychje, ^
[14:49] <tomreyn> Wayward_Vagabond: that's ok
[14:49] <lotuspsychje> Sven_vB: you experience the same, and want to create a new bug now?
[14:50] <Sven_vB> lotuspsychje, yes
[14:50] <lotuspsychje> Sven_vB: wich version of util-linux are you using now please?
[14:51] <Sven_vB> see above ;)
[14:51] <lotuspsychje> !info util-linux bionic
[14:51] <Sven_vB> the gparted bug is about gparted, I think wipefs should have its own bug
[14:53] <Sven_vB> actually maybe it's a bug in a library that both use
[14:58] <lotuspsychje> Sven_vB: before filing the bug, see if there showsup a duplicate perhaps, if not you can also link the bugzilla to your bug
[14:58] <lotuspsychje> Sven_vB: is your system up to date?
[15:06] <www2> Hi i wand to know where can i find advands account setings for cloud drivers (google drive) in ubuntu 19.10
[15:07] <cfhowlett> 19.10 is not supported here.  try #ubuntu+1
[15:07] <Wayward_Vagabond> k, have a live usb, really hope this motherboad will boot from usb
[15:07] <leftyfb> www2: Ubuntu 19.10 is not released yet and therefore no supported here
[15:07] <www2> sorry i mean 19.04
[15:09] <Wayward_Vagabond> No, I don't think it will boot from usb..
[15:10] <Wayward_Vagabond> or it doesn't consider a fash drive a valid 'USB Device'
[15:13] <Wayward_Vagabond> nope, it doesn't seem to support booting from a flash drive
[15:13] <Sven_vB> lotuspsychje, not sure. I'll upgrade and retry.
[15:13] <www2> This is the correct question: Hi i wand to know where can i find advands account setings for cloud drivers (google drive) in ubuntu 19.04
[15:13] <tomreyn> Wayward_Vagabond: which hardware is it? this should tell:  journalctl -b | grep 'DMI:'
[15:14] <www2> i wand to access my share folders on my google drive
[15:14] <EoflaOEViceCity> Wayward_Vagabond: Is it an old system? Or is it a UEFI system with secure boot enabled?
[15:14] <Wayward_Vagabond> EoflaOEViceCity: It's an optiplex 745
[15:16] <EoflaOEViceCity> Wayward_Vagabond: OK. Did you set the boot order so that USB comes first? Or it won't show up at all in BIOS?
[15:18] <Wayward_Vagabond> [USB Device] is listed as a option in the bios, but I think it's looking for a diskette/disc drive instead of mass storage
[15:19] <uRock> www2, https://linoxide.com/tools/how-use-google-drive-ubuntu-linux/
[15:19] <uRock> www2, It looks pretty straightforward.
[15:20] <Sven_vB> Wayward_Vagabond, in case it just needs an ISO image because it can't understand your USB drive's partition table, try the SuperGrub2 image
[15:20] <www2> I know that one and my its more where are the settings located in ubuntu
[15:21] <Sven_vB> Wayward_Vagabond, it's just 16 MB so you can use the remainder of the drive for Ubuntu live partitions
[15:21] <tomreyn> Wayward_Vagabond: see pdf pages 11 and 12 of https://downloads.dell.com/manuals/all-products/esuprt_desktop/esuprt_optiplex_desktop/optiplex-745_user%27s%20guide_en-us.pdf
[15:21] <Wayward_Vagabond> Sven_vB: Ah, just boot from grub live, and chainload the usb?
[15:22] <Sven_vB> Wayward_Vagabond, yes. it has an advanced option to enable scanning its own drive so you can chainload it from the same disk
[15:22] <Wayward_Vagabond> ah, not exactly wat you suggested, but I have a supergrub2 disc right here anyways
[15:22] <uRock> www2, Under Settings > Online Accounts
[15:23] <www2> @uRock i earch for the config files
[15:25] <Wayward_Vagabond> tomreyn: Yes, te bios just doesn't seem to recognize the drive as bootable
[15:26] <Wayward_Vagabond> nor does supergrub booted from a cd-r
[15:26] <Sven_vB> Wayward_Vagabond, have you loaded additional drivers?
[15:27] <Sven_vB> Wayward_Vagabond, better question: does the drive show up in the list of partitions?
[15:27] <Wayward_Vagabond> Sven_vB: negative, just plugged the drive in, and asked startup disk creator to make it
[15:27] <Wayward_Vagabond> it doesn't in supergrub
[15:27] <Sven_vB> that's bad.
[15:28] <Sven_vB> oh I meant whether you loaded the extra drivers in SuperGrub
[15:29] <Sven_vB> maybe you can update the BIOS?
[15:29] <Wayward_Vagabond> plugged it back in to here, gparted sees the drive as "119.24gb iso9660"
[15:29] <Wayward_Vagabond> bios is current version
[15:34] <uRock> www2, what are you trying to accomplish? The setup seemed pretty easy.
[15:35] <Wayward_Vagabond> okay, rebooted and messed with it for a bit, now it seems to see the flash drive
[15:35] <Wayward_Vagabond> bloody glitchy desktop
[15:35] <www2> uRock I wand to access the folders that are in my google account share list
[15:36] <uRock> www2, I shared a howto on setting that up with you. Are you trying to do it via command line or something?
[15:36] <Wayward_Vagabond> And now it directly boots the usb *Throws hands uo*
[15:37] <www2> uRock yep command line or config file
[15:38] <uRock> www2, https://www.techrepublic.com/article/how-to-mount-your-google-drive-on-linux-with-google-drive-ocamlfuse/
[15:39] <www2> I was affrate that i need to use google-drive-ocaml-fuse
[15:56] <MWM> trying to set up a docker container that wants port 67, but claims that dnsmasq has it.  1st I didnt install dnsmasq and apt wont remove it. 2nd, I can kill it, but not with persistence
[15:57] <MWM> seems that dnsmasq is built in to 19.10?
[15:59] <tomreyn> !ubuntu+1 | MWM
[16:01] <MWM> my apologies. lsb_release -a give 19.04.
[16:02] <MWM> codename: disco :D
[16:12] <MWM> best I can come up with is a bash script to kill the base dnsmasq at startup but it seems like there might be a better way
[16:13] <tomreyn> udp port 67 is the dhcp server port. it shouldn't be in use for the very ip address and interface of your docker guest, but then i'm not sure how it networking stack works.
[16:16] <MWM> it makes sense wtih the container, cant say Im real familar with network either though.  Is there a way to get rid of this base dnsmasq?
[16:18] <MWM> if not I will make do with a script as a workaround.
[16:25] <MWM> bloody hell.  I kept reading about "base dnsmasq" and "dnsmasq base" and assumed it was being used as a reference for something cooked into the os.  turns out "dnsmasq-base" is a package that can be removed,
[16:26] <kwispel> Hiya! I'm on 18.04. Is there a way to see which external server DNS systemd-resolved used to resolve the host? `nslookup xyz` just shows the end result.
[16:27] <ppf> I have a problem with the print margins settings in okular
[16:28] <ppf> top and bottom margins are half an inch and can't be decreased
[16:28] <ppf> how do i decrease that?
[16:30] <ppf> not sure if its an okular issue; i don't find that setting in the printer config
[16:30] <noudle> i have one ubuntu 16 server which for some reason has a completely full /boot partition. its full of different initrd images, how do i get rid of them? apt-get will always regenerate them
[16:31] <ppf> works fine if i print in chrome, wtf
[16:31] <noudle> i mean i guess i only need one of those
[16:32] <ppf> so its  an okular issue.
[16:32] <tomreyn> !YY.MM | noudle
[16:32] <tomreyn> !server | noudle
[16:33] <noudle> tomreyn: 16.04.6
[16:33] <uRock> noudle, I tend to only keep the current and the previous kernel.
[16:34] <noudle> uRock: ye, i also just rm'ed the others but doing apt-get autoremove or upgrade will regenrate most of them
[16:34] <tomreyn> noudle: make sure you have the kernel meta package installed, i think that's already enough for ubuntu to stage removal of all but the two latest kernel images via apt --purge autoremove.
[16:34] <uRock> You can't just toss them. They have to be uninstalled properly.
[16:35] <noudle> tomreyn: what do you mean with kernel meta packet?
[16:35] <noudle> *package
[16:35] <ppf> !info linux-image-generic
[16:36] <noudle> you mean the initrd-img-*-generic one?
[16:36] <ppf> is okular's printer options dialog actually provided by okular?
[16:36] <ppf> or is it a kde thing?
[16:37] <tomreyn> noudle: when you run    dpkg -l linux-\* | grep ^i     to list installed packages whose name starts with 'linux' yoiu should see at least one of linux-generic linux-generic-hwe-16.04  installed
[16:39] <noudle> tomreyn: there is one named 'linux-generic' and a bunch of which end with 'generic'
[16:43] <tomreyn> noudle: do you also have linux-image-generic there?
[16:44] <tomreyn> i.e. exactly this
[16:44] <noudle> tomreyn: yes
[16:44] <noudle> i do have
[16:44] <tomreyn> then my theory was wrong about it managing itself, sorry
[16:44] <noudle> hmm no problem
[16:44] <tomreyn> i'll see how it's setup in a vm
[16:44] <noudle> but how do i get rid of all those unneeded versions then? with that purge command?
[16:44] <noudle> ah okay
[16:45] <noudle> if its okay for you, dont want to bother you that much
[16:46] <tomreyn> does   sudo apt update && sudo apt-get -s --purge autoremove    seem to remove anything?
[16:46] <noudle> i can run the latter, sec
[16:46] <noudle> no
[16:46] <tomreyn> can you not run the former then?
[16:46] <noudle> i already did some minutes ago
[16:47] <tomreyn> ok, but it doesn't throw warnings or errors?
[16:47] <noudle> did run both again, no warnigns or errors.
[16:47] <tomreyn> okay, i got the VM up, let me check
[16:48] <noudle> sure, thanks
[16:50] <tomreyn> so there is a file /etc/kernel/postinst.d/apt-auto-removal  which should get run automatically by apt whenever packages are installed (or updated)
[16:50] <noudle> i see that file
[16:51] <tomreyn> it should create a file /etc/apt/apt.conf.d/01autoremove-kernels  which tracks which kernels should have been automatically installed (as a dependency of linux-image-generic) and should get removed when they are neither (a) the currently active kernel nor (b) one of the two latest kernels
[16:52] <tomreyn> can you show the output of    apt-mark showmanual | grep linux | nc termbin.com 9999
[16:53] <tomreyn> this produces a list of manually (so explicitly requested, on the apt command line, not installed to satisfy other packages dependencies) packages whose name contains 'linux'
[16:54] <tomreyn> on my system that's https://termbin.com/yemd
[16:54] <noudle> tomreyn: https://termbin.com/y4fn
[16:54] <Toad437> can someone tell me what the period denotes when using ./
[16:54] <Toad437> i forgot
[16:55] <kalokagathia> current directory
[16:55] <Toad437> ok thx :)
[16:55] <tomreyn> noudle: okay so the issue there is that these image and header packages are tracked as being manually installed, i.e. at some point it was explicitly requested that these very packages should be installed.
[16:55] <noudle> hmm
[16:55] <tomreyn> doing so breaks this automatic removal, which depends on these packages to be marked as automatically installed
[16:55] <noudle> was not me
[16:55] <noudle> can i unmark them somehow?
[16:56] <tomreyn> i don't mean to blame you there ;) this may have been some misconfiguration in earlier 16.04 versions.
[16:56] <tomreyn> yes, you can makr those as automatically installed
[16:56] <noudle> tomreyn: its not my server, its a server i should have an eye on and update, thats how i got it :P
[16:56] <tomreyn> apt-mark auto <package1> <package2> <...>
[16:56] <noudle> package is the name from that list right?
[16:57] <tomreyn> noudle: right
[16:58] <noudle> thansk a bunch :)
[16:59] <tomreyn> you also need to    apt-mark manual linux-image-generic
[17:01] <tomreyn> hmm, maybe you don't actually need to, but that's what i have there, and i don't think i modified it.
[17:04] <alivebacon> yo
[17:04] <Toad437> hi
[17:04] <alivebacon> im new
[17:04] <alivebacon> Erm...
[17:04] <alivebacon> So, wat needs doing to install ubuntu on vmware
[17:05] <alivebacon> Anything special?
[17:06] <alivebacon> anyone?
[17:07] <tomreyn> alivebacon: we only support ubuntu here, not vmware.
[17:07] <alivebacon> i know.
[17:07] <tomreyn> alivebacon: so ubuntu works fine in virtualizations in general
[17:07] <alivebacon> ok
[17:09] <tomreyn> sometimes you need to update your virtualization software or the guest system drivers they provide to make them work well with newer guest systems.
[17:09] <alivebacon> Can I use things like the Xbox Live Vision on ubuntu?
[17:09] <alivebacon> Cuz it can be used on windows
[17:11] <tomreyn> i don't know what this is really. there are a lot of features ubuntu offers which you cannot use on windows. i guess this may also be the other way around.
[17:11] <alivebacon> OK
[17:11] <tomreyn> but about this very feature, i could not tell - would need to search the web, but then you can try doing that, too. ;)
[17:12] <alivebacon> I don't know if it needs drivers.
[17:12] <alivebacon> that are hard to find
[17:12] <kwispel> I have several connections listed in `/etc/NetworkManager/system-connections/`, is there a way to declare a certain connection as the default one in the terminal/via cli?
[17:12] <alivebacon> also, ubuntu caused vmware to disable sound
[17:13] <alivebacon> re-enables vmware audio
[17:14] <alivebacon> UHH
[17:14] <alivebacon> the installer crashed
[17:14] <alivebacon> i gave it 2 gigs
[17:14] <tomreyn> https://askubuntu.com/questions/165210/how-do-i-get-an-xbox-360-controller-working/180044 may be what you were looking for
[17:14] <tomreyn> see the minimum requirements on the download page
[17:15] <tomreyn> about audio: if any guest system is able to change configurations on the host system, the host system and its configuration is to blame.
[17:15] <alivebacon> Oh.
[17:15] <Toad437> is anyone aware of a program that allows you to make flash cards for studying?
[17:15] <alivebacon> Just... use a printer.
[17:16] <Toad437> that's so old school
[17:16] <alivebacon> word processor?
[17:16] <Toad437> i have index cards, but i'd rather type them in a program.
[17:17] <tomreyn> kwispel: i assume you can do so using either nmcli or nmtui, do not know the exact way, though
[17:18] <tomreyn> kwispel: basicalyl you should set a single profile to auto-connect
[17:18] <tomreyn> a single connection profile per network interface you want to bring up, that is.
[17:19] <alivebacon> uuh
[17:33] <Toad437> in case anyone is interested, I found a great flash card linux program for studying.  It's called Anki: https://apps.ankiweb.net
[17:34] <kalokagathia> lol
[17:38] <Toad437> kalokagathia> wat
[17:39] <kalokagathia> Toad437, yes, this is a great program, but this chat isnt a good place for such an ad
[17:40] <Toad437> sorry
[17:40] <Toad437> i was looking for something like this to study for LPIC-1
[17:41] <kalokagathia> btw, i use anki to study languages, it's really grat
[17:43] <Toad437> cool
[18:04] <Sven_vB> do we have a LVM GUI that's not KDE-based? would ruin my lightweight openbox setup. or something textbased that still gives me a visual overview of my volumes?
[18:05] <Sven_vB> +for ubuntu bionic
[18:05] <kalokagathia> you could use standard command/line utils
[18:06] <Sven_vB> yeah that's what I was doing until a moment ago when I lost overview. :)
[18:06] <kalokagathia> try this https://www.howtogeek.com/howto/40702/how-to-manage-and-use-lvm-logical-volume-management-in-ubuntu/
[18:08] <tomreyn> just start with pvs, vgs, lvs
[18:09] <Sven_vB> guess that will have to do then
[18:49] <oceanquake> Hi all.  I'm on 18.04 with hwe kernel, running mainline repositories (e.g., no padoka or oibaf ppa) .  System locks up, but thankfully does respond to Magic SysRq.  When I look at kern.log after reboot, the lockup stems from amdgpu .  What is the recommended course of action here?  These lockups are frequent enough to be very disruptive.  Should I try to run a newer kernel?  Where should I report the issue?  Is there any other useful
[18:49] <oceanquake> debugging info I can get since Magic SysRq works?
[18:51] <tomreyn> oceanquake: can you show the very error message? did you search launchpad for it, yet?
[18:54] <tomreyn> oceanquake: if the system still responds to Magic SysRq then it didn't lock up fully, maybe it's 'just' the graphics locking up then. you could try ctrl-alt-f3 to swithc to a tty, then ctrl-alt-del and watch the hdd light (see if it flashes more regularly as the system prepares to reboot, in case that's the only indicator available should the reboot may not recover graphics)
[18:56] <tomreyn> if you prefer to debug this yourself rather then you can just read up on https://wiki.ubuntu.com/Kernel/Debugging and https://wiki.ubuntu.com/DebuggingProcedures
[18:58] <tomreyn> !bug | and file a bug against amdgpu and tag it 'radeon'
[18:59] <oceanquake> tomreyn: relevant kern.log section: https://pastebin.com/RiENkS8J
[19:00] <oceanquake> tomreyn: I've tried switching to another VT and once this happens, and it does not respond.
[19:00] <tomreyn> oceanquake: that's some days of uptime, did you susprend in the mentime?
[19:00] <oceanquake> tomreyn: no, not suspended, connected to a dock.
[19:02] <tomreyn> oceanquake: the reason i suggested switching to another VT (where it would continue not to show output if the graphics card needed a hardware reset) was that it enables you to reboot using ctrl-alt-del
[19:03] <tomreyn> oceanquake: did you have it happen soon after boot sometime recently?
[19:04] <oceanquake> tomreyn: OK, looks like I didn't follow what you originally meant with the VT switch.  So try to switch VTs and then use Ctrl+Alt+Del rather than Magic SysRq?
[19:05] <tomreyn> i'm asking because you could then look up the boot / session when that was exactly and we could get this (then shorter) complete log using journalctl. what you posted now is good but it lacks context.
[19:05] <tomreyn> oceanquake: yes what you just described is what i'd suggest you try next time it happens. by sure to switch to the right tty though, one which is actually a text one.
[19:06] <tomreyn> !tty | oceanquake
[19:06] <tomreyn> (you could test now which ones are textual)
[19:06] <oceanquake> tomreyn: it usually happens after the system has been up for a while, though not necessarily as long as this most lockup.  It was happening way more frequently before the 18..04 hwe kernel line was made available.
[19:07] <tomreyn> did you also install xorg-hwe then?
[19:08] <tomreyn> xserver-xorg-hwe-18.04 is the proper package name
[19:08] <tomreyn> oceanquake: ^ you should do so if you use the hwe kernel
[19:09] <tomreyn> (note there is also a linux-generic-hwe-18.04-edge kernel)
[19:09] <jkf1> buona sera a tutti
[19:09] <oceanquake> tomreyn: yes, for example xserver-xorg-video-radeon-hwe-18.04
[19:09] <tomreyn> !it | jkf1
[19:09] <jkf1> hi
[19:10] <tomreyn> oceanquake: ok very well
[19:10] <oceanquake> tomreyn: looks like similar bugs have been reported to Ubuntu: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1782716
[19:11] <tomreyn> oceanquake: also bug 1810546
[19:12] <tomreyn> and some more. but i don't know which hardware you have there
[19:13] <tomreyn> oceanquake: look for a mainboard firmware upgrade, too.
[19:13] <oceanquake> tomreyn: it looks like not necessarily much action to resolve this being driven by Ubuntu/Canonical (observation, not criticism).  Does this imply I should try to engage with upstream somehow?
[19:14] <oceanquake> tomreyn: it's a laptop, running latest available firmware
[19:14] <tomreyn> oceanquake: as you can see on bug 1810546 it is possible to file bugs against ubuntu and make those track bug reports againstupstream projects, such as kernel.org or freedesktop.org - that's the preferred way, if you can spent this much time.
[19:15] <tomreyn> most likely you won't be the first one to report this iossue upstream, maybe not against ubuntu either.
[19:15] <ioria> oceanquake, if you have a Vega card, i suggest the 5.0.0-20 kernel
[19:16] <tomreyn> ^ that'd be the hwe-edge kernel
[19:16] <ioria> yep
[19:20] <oceanquake> is switching to hwe-edge as simple as installing that kernel via apt, or is there a specific sequence of steps to be followed?
[19:20] <tomreyn> it's just that
[19:20] <ioria> !info linux-generic-hwe-18.04-edge | oceanquake
[19:20] <tomreyn> !hwe for general HWE instructions
[19:20] <tomreyn> !hwe | for general HWE instructions
[19:21] <tomreyn> oceanquake: so don't install that very kernel version, but the tracking package ioria listed
[19:22] <tomreyn> oceanquake: (just) in case you're looking for more assistence with this, sharing a full kernel log, ideally from a run where it failed, would be useful.    journalctl --list-boots     and     journalctl -b n    with n being 0 or a negative integer counting down previous boots (example:   journalctl -b -3), could help.
[19:32] <hortiel_> hi
[19:32] <hortiel_> !(04*).mp3 what does this pattern mean
[19:34] <ioria> hortiel_, exclude
[19:36] <tomreyn> hortiel_: lacks context, what kind of pattern is it.
[19:40] <hortiel_> pattern matching in bash tomreyn ??
[19:41] <hortiel_> but I know it is *.mp3 and not 04*
[19:48] <oceanquake> tomreyn: I was able to look back at the journalctl output for the previous boot, where the lockup happened.  The snip I pulled from kern.log appears to be everything in that same temporal region associated with the lockup.  There's a ton of noise from systemd-resolved, total output is 151k lines!
[20:00] <tomreyn> oceanquake: it could have been useful to look at the full log, which also gives away whether the system encounters other more generic issues such as acpi or pci issues, complies with mnimum requirements, which graphics chipset it is exactly, which kernel version, which exact kernel version / build is in use, and much more. but i need to leave now. good luck.
[20:01] <oceanquake> tomreyn: thanks for your help!
[20:01] <tomreyn> ;) you're welcome.
[20:11] <parak0vsky> hey guys what to do when ubuntu start freezes on low memory besides adding more memory to machine?
[20:11] <kalokagathia> add more swap?
[20:12] <kalokagathia> how much memory do you have, parak0vsky,?
[20:14] <Bashing-om> parak0vsky: ' free -m ' says what about the memory usage ?
[20:15] <parak0vsky> kalokagathia: 8gb it started happening when i get heavy on tabs in the browser for several minutes than resumes
[20:15] <kalokagathia> parak0vsky, how much swap do you have
[20:15] <parak0vsky> kalokagathia: I disabled it
[20:15] <kalokagathia> enable itr
[20:15] <kalokagathia> back
[20:16] <kalokagathia> 8gb ram isn't usable wout swap
[20:16] <parak0vsky> when I had it it wasn't better
[20:16] <parak0vsky> ok so I just double it thanks
[20:26] <CrazyLikeAFox> So, it wasn't the optical media that was my problem earlier. It wasn't the live usb either burned from the same iso
[20:26] <CrazyLikeAFox> it works fine in this laptop, and I'm booted from it right now
[20:27] <CrazyLikeAFox> that machine is either having hardware errors, as it's acted strange and not-consistent
[20:27] <parak0vsky> kalokagathia: enabled the swap, thanks.
[20:27] <CrazyLikeAFox> or the right drivers just aren't in the xubuntu 18.04.2lts media
[20:37] <Sven_vB> so I installed grub-efi and ran update-grub, it says "Adding boot menu entry for EFI firmware configuration¶ done" but there are no .efi files in /boot. should there be?
[20:38] <Sven_vB> using xenial chrooted into a bionic live USB session
[20:39] <jeremy31> Sven_vB: I think it is /boot/efi/EFI/ubuntu where efi files are
[20:39] <Sven_vB> I'll make that directory then
[20:40] <jeremy31> Sven_vB: the directory should exist
[20:40] <Sven_vB> wait why a double /EFI? shouldn't my ESP be mounted at /boot?
[20:40] <Sven_vB> that xenial system used grub-pc originally
[20:41] <jeremy31> Sven_vB: is it partitioned using GPT?
[20:41] <calamari> Does anyone know of a 100% fixed-width version of Ubuntu Mono, where ALL characters are the same width, including non-ASCII characters?
[20:41] <Sven_vB> I'm migrating it to LVM so yes the new disk has a GPT and I created a FAT32 partition with esp and boot flag
[20:43] <Sven_vB> calamari, good luck with U+1F69B articulated lorry, on my fonts it's usually 2.5 chars wide
[20:44] <jeremy31> Sven_vB: If the grub-efi install was successful  you might have to reboot, but check /etc/fstab to see if the EFI system partition is in there
[20:44] <Sven_vB> oh good idea, maybe once I add it grub will write the EFI files
[20:44] <CrazyLikeAFox> huh, according to the live I'm running off of, I have bluetooth in here?
[20:45] <CrazyLikeAFox> I didn't know I had that, and I've owned this laptop 3 years
[20:45] <CrazyLikeAFox> hot keys/function keys are working too now that never have
[20:45] <jeremy31> CrazyLikeAFox: don't get too worked up over bluetooth
[20:48] <ekarlso> Is there a way to lock apps to a desktop workspace ?
[20:48] <oceanquake> parak0vsky: I was using a machine with 4 GB on Kubuntu 16.04, and it would rapidly become unusable with ffox tabs; this wasn't even with a large number of tabs or windows, maybe like 10 tabs?  it kept going into swap.
[20:48] <CrazyLikeAFox> neat, it linked with my earbuds no issues
[20:49] <CrazyLikeAFox> oceanquake: in 16.04 xubuntu, I always had an issue with a swap leak
[20:50] <CrazyLikeAFox> it'd use more and more swap- but the part that confounded me, killing or even restarting after did not release it again.
[20:50] <oceanquake> I just bit the bullet and went to 32 GB on current system.
[20:50] <oceanquake> CrazyLikeAFox: you mean killing and restarting ffox?
[20:51] <CrazyLikeAFox> yeah
[20:51] <oceanquake> CrazyLikeAFox: I think there were definitely other memory leaks as well, I had problems with long-lived sessions too, even with ffox restarts like you.
[20:52] <Sven_vB> does update-grub2 run update-initramfs or do I have to do that manually?
[20:52] <parak0vsky> oceanquake: we'll see how it goes
[20:53] <CrazyLikeAFox> based on how the liveUSB is working, I'd be better off doing a clean install, and just migrating my data over
[20:53] <CrazyLikeAFox> like srs, hot keys have never worked on here before
[20:54] <ekarlso> anyone ? :p
[20:55] <Sven_vB> jeremy31, I added it to the chroot's fstab and ran update-grub2 again, still no EFI files
[20:55] <jeremy31> Sven_vB: Did you also install grub-efi-amd64-signed?
[20:56] <Sven_vB> jeremy31, nope, not explicitly. it might have been auto-installed. I'll install it.
[20:58] <jeremy31> Sven_vB: do a> sudo mount -a
[20:58] <jeremy31> see if the /boot/efi folder shows
[20:59] <Sven_vB> jeremy31, should I mount my ESP into /boot or /boot/efi?
[21:00] <Mathisen> Sven_vB, /boot/efi
[21:00] <jeremy31> Sven_vB: /boot/efi
[21:00] <Sven_vB> oh then maybe that's the problem
[21:00] <Sven_vB> so for encrypted LVM boot I need an ESP *and* a boot partition next to my LVM container?
[21:00] <jeremy31> Sven_vB: my /etc/fstab shows this for the EFI  # /boot/efi was on /dev/sda1 during installation
[21:00] <jeremy31> UUID=8342-16B0  /boot/efi       vfat    umask=0077      0       1
[21:01] <jeremy31> Sven_vB: For encrypted LVM, I do not know
[21:02] <Mathisen> Sven_vB, yes
[21:03] <Mathisen> im pretty sure /boot/ and boot/efi can share partition doh. have not done it myself so cant speak for how to
[21:05] <Sven_vB> as expected, without the EFI files, it can't boot. so I'll boot the live USB again and chroot again
[21:07] <jeremy31> The EFI System Partition is a separate partition but gets mounted under /boot,  Sven_vB  are you also mounting the esp in the chroot?
[21:07] <Sven_vB> oh no. seems like I totally broke something. now the USB live session no longer autologins and when I select the ubuntu user, I'm asked for a password.
[21:08] <Sven_vB> jeremy31, the ESP was mounted in /media/ubuntu/ESP, and bind-mounted from there into /target/boot
[21:08] <Sven_vB> nice, the empty password was accepted for ubuntu
[21:11] <jeremy31> Sven_vB: usually I do something like in https://gist.github.com/jeremyb31/07217d786dfd0afead022befd84b4999
[21:12] <sappheiros> please do not display your "tip: use livepatch" for users whose distro's/architectures aren't applicable for it
[21:12] <sappheiros> i clicked the settings & livepatch button and went to it and it said "livepatch not available for this system" -- it's poor business to contradict yourself
[21:13] <sappheiros> hmm, looks like it's a subscription service, checking the learn more webpage ...
[21:21] <pragmaticenigma> sappheiros: What are you talking about and to whom are you speaking to?
[21:22] <Sven_vB> jeremy31, ok now the chroot shows a mount entry "/dev/sda6 on /boot type vfat (rw,…"
[21:22] <Sven_vB> I'll install the packages you said earlier
[21:23] <sappheiros> pragmaticenigma: i installed lubuntu 18.04 updates, and got that message. i was hoping some code contributor here would revise that message after installs to first check to see if the system could apply livepatch
[21:24] <pragmaticenigma> sappheiros: This is a support channel operated by volunteers. While there may be active Canonical and Ubuntu project developers here, this is not the forum for making those requests. Please report a !bug
[21:25] <pragmaticenigma> !bug
[21:27] <hggdh> sappheiros: so this seems to be bug. The *obly* way to get it fixed is by opening a bug as pragmaticenigma points above
[21:29] <Sven_vB> I do have /usr/share/locale/en_US in the chroot but "grub-install: error: cannot find locale `en_US'.", what's wrong?
[21:30] <Sven_vB> oh ok it wants "en@quot"
[21:31] <sappheiros> okay, thanks. however, i don't think it's a bug so much as poor design.
[21:31] <Sven_vB> so that seems to have worked. I deleted all files from the ESP, mounted it as /boot, ran grub-install --locales en@quot --efi-directory /boot … now fingers crossed for reboot.
[21:31] <sappheiros> is it okay to file bugs over poor design?
[21:32] <sappheiros> i thought a bug was only a malfunction, i.e. software not functioning as advertised or intended
[21:32] <jeremy31> sappheiros: You could but someone might label as wishlist, not the end of the world
[21:34] <pragmaticenigma> sappheiros: Let's say that the term bug represents a scenario where expected behavior when perform an action doesn't result in that behavior or a poor user experience. You expected the Livepatch to provide you with an option to turn on a feature. The feature is not available or wasn't descriptive enough before click on the button.
[21:35] <Sven_vB> the reboot yielded a grub rescue shell. how do I check whether I'm in EFI mode and which partition was used as ESP?
[21:35] <pragmaticenigma> Therefore the out come of your action failed, therefor I believe you would perceive that as being a bug. No?
[21:35] <EriC^^> Sven_vB: efi directory should be /boot/fi not /boot
[21:36] <EriC^^> */boot/efi
[21:37] <Sven_vB> EriC^^, but I mounted my ESP on /boot
[21:38] <Sven_vB> oh maybe I need vfat drivers in my initrd
[21:38] <EriC^^> Sven_vB: hmm no
[21:39] <EriC^^> if grub gives a rescue shell, that means it can't find the stuff $prefix points to (pre-initrd stage)
[21:39] <Sven_vB> maybe I specified the luks LVM target wrong
[21:40] <EriC^^> Sven_vB: do you have a separate /boot?
[21:40] <Sven_vB> EriC^^, I try to use the ESP for that
[21:40] <EriC^^> Sven_vB: what about /boot though? the kernels and /boot/grub ?
[21:40] <Sven_vB> I have the ESP next to my luks container
[21:41] <Sven_vB> I'll check once the live session is ready again
[21:41] <sappheiros> pragmaticenigma: exactly. hm. i guess i could file a bug. ... but now i can't justify the time. like, i gave it the 'one shot' i had time for (discussing it here)
[21:41] <Mathisen> Sven_vB, if there is nothing to boot from nothing can decrypted.. so /boot needs to be outside the container
[21:42] <EriC^^> Sven_vB: alright, once the live usb is up, try to run "ls -l /mnt/boot" after mounting the efi dir there
[21:43] <Sven_vB> you meant mount the ESP there?
[21:43] <EriC^^> yeah
[21:43] <EriC^^> Sven_vB: the partition table only has efi + luks, no other ext* ones?
[21:44] <Sven_vB> oh yeah there are no kernels and initrds, that's strange
[21:44] <Sven_vB> oooh I think I forgot to update-grub2 after install-grub
[21:44] <EriC^^> Sven_vB: nah, that wouldnt install any kernels
[21:45] <Sven_vB> ok well in /mnt/boot I have EFI/ and grub/
[21:45] <Sven_vB> Mathisen, verified, I see those w/o having opened luks
[21:46] <EriC^^> Sven_vB: alright, so no other ext* partitions in "sudo parted -ls" output yeah?
[21:47] <pragmaticenigma> sappheiros: Do or do not file the bug, that is entirely up to you. It will be to the benefit of the entire community to raise the issue.
[21:47] <Sven_vB> yes there are some ext3 and ext4 partitions on the internal SSD (where also my luks and ESP are) and on thumb drives
[21:47] <EriC^^> Sven_vB: oh, interesting
[21:47] <EriC^^> Sven_vB: can you run "sudo parted -ls | nc termbin.com 9999" and paste the link it gives you here?
[21:47] <Sven_vB> nope but I can make you a censored report :)
[21:48] <sappheiros> pragmaticenigma: i thought it was because i'm on a 32-bit machine, 1% of the population, i.e. not worth the time pursuing it ...
[21:48] <jeremy31> classified? Sven_vB
[21:48] <Sven_vB> jeremy31, yeah some parts are company secrets
[21:48] <Sven_vB> EriC^^, do you need posisitions and sizes?
[21:49] <Sven_vB> the sectors I mean
[21:49] <EriC^^> Sven_vB: censor out what you want and paste the rest
[21:50] <Mathisen> what possible information could be sensitive looking at partition info :)
[21:53] <pragmaticenigma> Mathisen: It's what happens when you have non-technical people write up legal documents for employment agreements to hire employees
[21:54] <Sven_vB> EriC^^, http://paste.debian.net/plainh/a67ab47a
[21:55] <Sven_vB> oh I forgot to copy some lines, the top is the SSD with a GPT
[21:56] <EriC^^> Sven_vB: alright, try mounting the luks root partition under "/cdrom"
[21:56] <chieta> how to restrict the apps to the net is it possible using iptables?
[21:57] <Sven_vB> also for anyone wondering, when I talked about the ESP I meant the one that has the esp flag, not the remains of supergrub.
[21:57] <EriC^^> Sven_vB: then pastebin the contents of "ls -l /cdrom/boot" and "cat /cdrom/etc/fstab"
[21:57] <Mathisen> chieta, confusing question, you can block ports using iptables and restrict the "app" that way but that may break the "app" if it is made to use only that port
[21:57] <pragmaticenigma> chieta: No, it is not possible to block specific applications from making network connections via firewalls
[21:58] <Sven_vB> EriC^^, in a chroot? because in the live session, /cdrom is aready used for /dev/sdb3 on /cdrom type vfat
[21:58] <Sven_vB> EriC^^, I could mount it at /target as the installer probably would
[21:58] <EriC^^> chieta: maybe apparmor can get you what you want, no idea about it though
[21:59] <EriC^^> Sven_vB: sure why not
[21:59] <pragmaticenigma> chieta: applications themselves make outgoing connections on random ports, destined to a remote port on a remote server (typically remote port 80 or 443) which would mean you would disable all web applications from working.
[22:00] <EriC^^> Sven_vB: it's kinda odd why there are supergrub partitions, i wonder if it's some way your company uses to boot that's not standard ubuntu stuff?
[22:01] <Sven_vB> EriC^^, those are remains of the previous boot setup which was really DIY
[22:01] <EriC^^> Sven_vB: oh i see
[22:02] <Sven_vB>  /target/boot is empty. shall I bind-mount the ESP there?
[22:04] <EriC^^> Sven_vB: well, it's up to you, usually /boot can be a part of the main linux root filesystem (that's luks encrypted, and a grub option is set so it knows about that), and the efi partition is mounted under /boot/efi
[22:05] <EriC^^> /boot holds the kernel, initrd, and grub's files (not the efi partition stuff, the modules, and config file that gives the nice menu)
[22:06] <chieta> actually, i don't know the which port used... how to check it out?
[22:06] <EriC^^> Sven_vB: you could use a fat32 /boot i guess, with /boot being the efi partition + holding the kernels, but first how big is the fat32? if it's less than 600mb or so you'd run out of space pretty quickly when kernels stack up
[22:07] <chieta> pragmaticenigma no i don't want it
[22:07] <EriC^^> Sven_vB: also if it's a company pc and stuff, you probably want /boot to be part of the luks main root fs for added security i guess? there is another downfall to using a fat32 /boot but i dont remember and nothing is coming to my mind about any disadvantages right now
[22:08] <pragmaticenigma> chieta: Don't want what?
[22:08] <Sven_vB> here's the fstab you requested http://paste.debian.net/plainh/d514a22c . the boot partition is 512 MB atm, I can grow it if I really need more than 3 or 4 kernels.
[22:08] <Mathisen> chieta, running this will list ports for you and name service/whatever using it sudo netstat -ltnp
[22:09] <Mathisen> chieta, that will need net-tools installed >> sudo apt update && sudo apt install net-tools
[22:10] <EriC^^> Sven_vB: ok, no worries then
[22:10] <EriC^^> Sven_vB: ok, so we have to prepare a chroot now to install stuff from there
[22:11] <EriC^^> Sven_vB: type "for i in /dev /proc /sys /run; do sudo mount -R $i /target$i; done"
[22:11] <Sven_vB> I had for B in /proc /sys /run /dev /dev/pts; do sudo mount --bind $B /target$B; done for that :)
[22:12] <EriC^^> Sven_vB: ok, great :)
[22:12] <Sven_vB> shall I mount the ESP from inside or bind-mount it as well?
[22:12] <EriC^^> Sven_vB: nope, mount it as usual, if it's still at /mnt/boot you could do mount --move /mnt/boot /target/boot
[22:12] <Mathisen> why is there no script as standard yet for ubuntu for chroot like arch-chroot so mutch work to do all that :)
[22:13] <Sven_vB> "sudo mount --move /mnt/boot/ /target/boot" -> "mount: /target/boot: bad option; moving a mount residing under a shared mount is unsupported."
[22:14] <Sven_vB> I'll just umount it and mount it from inside
[22:14] <EriC^^> Sven_vB: alright sounds good
[22:14] <Sven_vB> ok I'm in the chroot
[22:15] <EriC^^> once you've chrooted, type "ls -l /target/boot" and just confirm there are no vmlinuz or initrd there already
[22:15] <EriC^^> i mean "ls -l /boot"
[22:15] <Sven_vB> exactly, there's just EFI/ and grub/ even with additional -A
[22:15] <EriC^^> (after you mounted the efi)
[22:15] <EriC^^> alright
[22:16] <EriC^^> Sven_vB: let's first prepare grub so it knows what to do, type "nano /etc/default/grub"
[22:17] <EriC^^> Sven_vB: add the line "GRUB_ENABLE_CRYPTODISK=y" to the file, then save and exit
[22:17] <Sven_vB> oh. I missed that one before.
[22:18] <Sven_vB> ok
[22:18] <EriC^^> ah crap, my bad please remove it
[22:18] <Sven_vB> my tutorial said I'd just need GRUB_CMDLINE_LINUX_DEFAULT="cryptopts=target=vg_luks,source=UUID=*****_******,lvm=vg_luks"
[22:18] <EriC^^> that's just so that grub knows /boot is a part of the main root fs and not separate but in your case it is separate
[22:19] <Mathisen> EriC^^, sorru i dont want to confuse anybody here but is it not the  GRUB_CMDLINE that should have the cryptdevice in the grub.cfg ?
[22:19] <Sven_vB> ok removed it
[22:20] <Mathisen> yeah for the way he did
[22:20] <Mathisen> but im maybe wrong here... maybe there is diffrent ways
[22:20] <Sven_vB> however the double VG name there looks suspicious
[22:20] <EriC^^> Sven_vB: alright, type "apt-get install linux-generic"
[22:21] <Sven_vB> […] linux-generic is already the newest version (4.4.0.156.164). […]
[22:21] <Sven_vB> (the chroot is xenial)
[22:21] <EriC^^> Sven_vB: aha, type "apt-get install --reinstall linux-image-generic"
[22:21] <Sven_vB> seems to have worked
[22:22] <EriC^^> ok, /boot should have the kernel and initrd now hopefully
[22:22] <Sven_vB> nope, still as before
[22:22] <EriC^^> :O
[22:22] <Sven_vB> maybe that's where the FAT32 downfalls come in? but in that case I'd expect an error message,.
[22:22] <chieta> how abt limiting all internet outgoing traffic to the specific group EriC^^
[22:22] <chieta> where is the pragma*
[22:22] <EriC^^> that's odd, yeah
[22:23] <EriC^^> Sven_vB: hmm it doesn't make sense to me
[22:23] <Sven_vB> I even re-ran update-grub2 , doesn't add those files either
[22:24] <Sven_vB> maybe I should ask dpkg do remove the generic image first
[22:24] <jeremy31> Sven_vB: sudo update-grub  should do the same
[22:24] <Mathisen> Sven_vB, sudo grub-mkconfig -o /boot/grub/grub.cfg
[22:24] <Mathisen> same thing.. but still double check :)
[22:24] <salamanderrake> Is there an app to move files from an android device to your computer via usb?
[22:25] <EriC^^> Sven_vB: you could try 'apt-get remove linux-image-generic' then 'apt-get install linux-image-generic' i guess
[22:25] <Sven_vB> oh I see update-grub found no linux partitions
[22:25] <EriC^^> Sven_vB: try "dpkg -l | grep linux-image"
[22:26] <EriC^^> does it show a kernel installed, with "ii" at the start?
[22:26] <Sven_vB> Mathisen, same with your command
[22:27] <Sven_vB> "dpkg -l | grep linux-image | grep -Pe '^ii'" finds "ii  linux-image-generic   […]" and "ii  linux-image-unsigned-4.4.0-156-generic     […]"
[22:27] <Sven_vB> oh I think I remember the version-less package is just an alias
[22:28] <Sven_vB> I'll reinstall the explicit one
[22:28] <Sven_vB> now initrds are generated :)
[22:29] <Sven_vB> the ESP now has initrd.img-4.4.0-156-generic and vmlinuz-4.4.0-156-generic
[22:29] <EriC^^> great
[22:29] <EriC^^> Sven_vB: alright, try running "update-grub" it should pick some stuff up this time hopefully
[22:30] <Sven_vB> let's check the grub CMDLINE before I reboot. should it really mention the vg name as target=?
[22:31] <Sven_vB> EriC^^, I think the apt hooks did that, but can't hurt to do it again
[22:31] <EriC^^> Sven_vB: it looks like it should mention the name of the luks stuff, like sda5_crypt for instance
[22:31] <EriC^^> Sven_vB: yeah, you're right
[22:32] <Sven_vB> and sda5_crypt in that example is the volume group name for the container in /dev/sda5?
[22:32] <Sven_vB> because it also appears as lvm=
[22:33] <EriC^^> i dont think so, i think it's the name used when luks is decrypted, not too familiar with luks, but i think that name should be in /etc/crypttab
[22:33] <Mathisen> what line are you 2 talking about now
[22:33] <EriC^^> Sven_vB: might as well run "grub-install" as well for the efi stuff
[22:34] <Sven_vB> EriC^^, with the parameters from before?
[22:34] <EriC^^> Mathisen: GRUB_CMDLINE_LINUX_DEFAULT="cryptopts=target=vg_luks,source=UUID=*****_******,lvm=vg_luks"
[22:35] <EriC^^> Sven_vB: nope, just "grub-install"
[22:35] <tomreyn> salamanderrake: the standard file browser (nautilus) can do it if you have allowed it on the android device.
[22:35] <salamanderrake> Sorry, I'm on XUbuntu.
[22:35] <EriC^^> Sven_vB: what's the first word in /etc/crypttab ? i think this tutorial confirms stuff in step 3, have a look https://www.oxygenimpaired.com/ubuntu-with-grub2-luks-encrypted-lvm-root-hidden-usb-keyfile
[22:35] <Sven_vB> without them it says "grub-install: error: cannot find EFI directory." but with them, "Installing for x86_64-efi platform.¶ Installation finished. No error reported."
[22:35] <tomreyn> salamanderrake: i guess it also works with thunar, you'll just need a way to mount mtp devices
[22:36] <Sven_vB> EriC^^, it's the VG name. maybe the device mapper name and VG name just coincide.
[22:36] <Mathisen> Sven_vB, it should be enough to to change your line like this >> GRUB_CMDLINE_LINUX="cryptdevice=/dev/sd????:luks:allow-discards"
[22:36] <salamanderrake> tomreyn: It keeps giving me access violation messages
[22:36] <EriC^^> Sven_vB: hmm, i think it's cause there's no /boot/efi in fstab, it usually works, anyways all good as long as the files are there and there's an entry in "efibootmgr -v"
[22:37] <Sven_vB> yes it has an "ubuntu" entry as Boot0003
[22:37] <EriC^^> Sven_vB: oh ok
[22:37] <tomreyn> salamanderrake: worst case install adb on ubuntu, use it to connect to the device and to copy files
[22:38] <Sven_vB> Mathisen, with your style, can it still use UUID=… instead of /dev/sd?
[22:38] <Mathisen> Sven_vB, i cant say sorry, i have not use UUID myself just the location
[22:38] <Sven_vB> ok
[22:39] <Sven_vB> is the discards option about TRIM? I think I read that earlier
[22:39] <EriC^^> Sven_vB: alright, exit the chroot and try rebooting, if you want we could have a quick peak at "cat /boot/efi/efi/ubuntu/grub.cfg" that's where $prefix is set that is responsible for pointing to the grub menu file (it's usually what's bad when a grub rescue shell appears)
[22:39] <Mathisen> Sven_vB, correct
[22:39] <Mathisen> Sven_vB, it is a SSD thing.. im not 100% sure how it works i just know it needs to be there :)
[22:39] <EriC^^> there was a bug a while ago where ubuntu was mixing up efi\ubuntu and efi\grub and grub.cfg there wasnt being found and people ended up at rescue shells
[22:40] <Sven_vB> Mathisen, I read it's a security risk because it reveals behaviour info about your file system
[22:40] <Mathisen> that is over my head so you can be right
[22:40] <EriC^^> Sven_vB: typo, /boot/efi/ubuntu/grub.cfg
[22:41] <Sven_vB> I'm feeling lucky so I'll just reboot and maybe check if it fails
[22:42] <EriC^^> alright :)
[22:44] <Sven_vB> looking good. systemd gave up waiting for the root device and I'm in an initramfs shell. now I'll plug in the token disk and quit that shell. :))
[22:44] <Sven_vB> or maybe reboot with the token disk in
[22:45] <Sven_vB> I should make that grub menu font larger later
[22:46] <EriC^^> ah great
[22:46] <Sven_vB> thanks for helping me with EFI! I'll now have to debug the token file spec, I'll read about that first.
[22:48] <Sven_vB> that tutorial on oxygenimpaired.com has lvm=vg-your-root but I can't find "your-root" mentioned there anywhere else
[22:48] <EriC^^> Sven_vB: no problem
[22:49] <Sven_vB> I'll try Mathisen's style
[22:49] <Mathisen> i think your way is more fancy with more specifics included thats all
[22:50] <Sven_vB> yeah it doesn't work though. =)
[22:50] <Sven_vB> I'll also try /dev/disk/by-uuid/ instead of UUID=
[22:52] <EriC^^> Sven_vB: maybe lvm=vg-your-root translates for you to /dev/vg_luks/fnord_ubuntu
[22:52] <EriC^^> i think that's lvm=vg_luks-fnord_ubuntu ? or something similar?
[22:52] <Sven_vB> oh that might be
[22:54] <Sven_vB> however, when I "ls /dev/mapper" in the initramfs shell, it just has "control"
[22:56] <Sven_vB> also the token disk partition has not been mounted yet
[22:56] <Sven_vB> I'll add a systemd unit for that
[22:59] <EriC^^> Sven_vB: yeah, i think there has to be something pointing to the keyfile or something in that GRUB_CMDLINE that's missing maybe
[22:59] <Sven_vB> it's specified in the crypttab
[22:59] <EriC^^> but how does it open crypttab?
[23:00] <EriC^^> i mean crypttab is in the encrypted luks
[23:03] <EriC^^> i'm not sure how it works, i'm fairly certain the lvm= part should be lvm=vg_luks-fnord-ubuntu or similar, maybe it'll work after editing that in, somehow?
[23:03] <Mathisen> it should not be needed really
[23:03] <Sven_vB> some tutorials say I'd need ",keyscript=/lib/cryptsetup/scripts/passdev" as a luks option, I'll try that.
[23:03] <EriC^^> Sven_vB: or do you mean that it's in crypttab and the initrd would have it as well in that case?
[23:04] <Mathisen> i cant speak for ubuntu but adding encrypt and lvm2 to the mkinitcpio modules is enough + grub.
[23:04] <Sven_vB> EriC^^, even if I had a wrong option for which of the inner partitions to use as root, I'd expect luks to be open and the key partition to be mounted
[23:35] <CrazyLikeAFox> neat, swapping a drive with xubuntu 18.04lts into a 2yr older laptop of a different make, with different cpu and gpu brand didn't cause any errors or break anything
[23:39] <uRock> CrazyLikeAFox, That's why I love Linux.
[23:40] <CrazyLikeAFox> uRock: firefox is saying 'feed me semour' about the reduced ram, but that's it's own thing :P
[23:43] <uRock> CrazyLikeAFox, Yeah, it is a ram hog.