[00:00] gotcha, coming right up [00:00] grub-efi-amd64-signed/bionic-updates,now 1.93.14+2.02-2ubuntu8.13 amd64 [installed] [00:00] shim-signed/bionic-updates,now 1.37~18.04.3+15+1533136590.3beb971-0ubuntu1 amd64 [installed] [00:00] although.....this was from ubuntu [00:00] i'll need to boot into backbox and check there [00:01] deker: or you can chroot into it :) [00:01] but chances are, it probably is exactly it [00:01] TJ-: sure, guide me on that one please: [00:01] ? [00:01] deker: if Backbox has those same packages then the problem is the hardcoded paths [00:02] sudo chroot /dev/sdaX which is backbox's root? [00:02] deker: which partition is backbox installed in? [00:02] dev/sda10 as /boot and /dev/sda11 as root [00:03] deker: "sudo mkdir /backbox; sudo mount /dev/sda11 /backbox; sudo chroot /backbox apt list --installed 'grub*signed' 'shim*signed' " [00:03] grub-efi-amd64-signed/bionic-updates,now 1.93.14+2.02-2ubuntu8.13 amd64 [installed] [00:03] shim-signed/bionic-updates,now 1.37~18.04.3+15+1533136590.3beb971-0ubuntu1 amd64 [installed] [00:04] looks like that confirms it =/ [00:04] so, can i uninstall these signed versions? [00:04] deker: yes [00:05] 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] sudo apt-get remove 'grub*signed' 'shim*signed' ? [00:06] deker: "for n in proc sys dev etc/resolve.conf; do sudo mount --rbind /$n /backbox/$n; done " [00:06] deker: then "sudo chroot /backbox" ... at this point you're fully inside Backbox and can run commands as normal [00:06] deker: to return to Ubuntu "exit" [00:06] deker: hang on, I typoeda gain" [00:06] ok [00:07] deker: "for n in proc sys dev etc/resolv.conf; do sudo mount --rbind /$n /backbox/$n; done " [00:07] (removed 'e' from resolv.conf ! [00:07] ok done [00:08] so now this is in backbox [00:08] after running those last two commands [00:08] and now just run my apt-get remove ? [00:08] deker: so you can uninstall those signed packages, and then "apt install grub-efi-amd64" [00:08] deker: make sure you're inside the backbox chroot else you'll remove them from Ubuntu :) [00:09] yup, i chrooted into /backbox :) [00:09] Removing shim-signed (1.37~18.04.3+15+1533136590.3beb971-0ubuntu1) ... [00:09] Removing grub-efi-amd64-signed (1.93.14+2.02-2ubuntu8.13) ... [00:09] :D [00:09] Preconfiguring packages ... [00:09] (Reading database ... 260246 files and directories currently installed.) [00:09] Removing grub-gfxpayload-lists (0.7) ... [00:09] Removing grub-pc (2.02-2ubuntu8.13) ... [00:09] Selecting previously unselected package grub-efi-amd64. [00:09] (Reading database ... 260227 files and directories currently installed.) [00:09] when you install grub-efi-amd64 that should re-run grub-install which'll use /EFI/backbox/grubx64.efi" not "shimx64.efi" [00:10] deker: weird; grub-pc was installed? that's for BIOS mode boots [00:10] ok [00:10] there [00:10] too much text [00:11] backbox may be a bit too aggressive when installing stuff [00:12] TJ- : brb, rebooting to test [00:18] got it, thanks [00:18] np [00:18] nickserv that is [00:18] ok, now i'm in backbox [00:19] fwupdate-amd64-signed/bionic-updates 1.19bionic2+12-3bionic2 amd64 [00:19] fwupdate-i386-signed/bionic-updates 1.19bionic2+12-3bionic2 i386 [00:19] fwupdate-signed/bionic-updates,now 1.19bionic2+12-3bionic2 amd64 [installed] [00:19] grub-efi-amd64-signed/bionic-updates 1.93.14+2.02-2ubuntu8.13 amd64 [00:19] shim-signed/bionic-updates,now 1.37~18.04.3+15+1533136590.3beb971-0ubuntu1 amd64 [residual-config] [00:21] hmm.....what else could it be? [00:22] very odd [00:22] deker: what's the problem? [00:22] still going to ubuntu [00:23] deker: check "efibootmgr -v" again [00:23] deker: the backbox entry should be pointing to /EFI/backbox/grubx64.efi now [00:23] it isn't sadly [00:23] still stuck on /File(\EFI\BACKBOX\SHIMX64.EFI) [00:24] so is ubuntu apparently /File(\EFI\UBUNTU\SHIMX64.EFI) [00:24] deker: ok, try to force it, within the backbox chroot (I assume you rebuilt that) with "grub-install /dev/sda" [00:24] so this time around, i actually booted into backbox [00:25] just so i can natively run commands in case it makes a difference [00:25] deker: ok :) [00:25] ok running that now [00:25] Installing for x86_64-efi platform. [00:25] Installation finished. No error reported. [00:25] -rwx------ 1 root root 120K Jul 20 20:25 grubx64.efi [00:26] what does "efibootmgr -v" report now? [00:26] looking better /File(\EFI\backbox\grubx64.efi) [00:26] deker: that's what we want to see :) [00:26] excellent, let me reboot now and see what happens :) [00:28] brb [00:33] i'm back [00:33] works like a charm! [00:33] you are truly a genius TJ_ [00:33] TJ- [00:33] thank you so much for sticking through with me and helping sort it out [00:33] i really appreciate it [00:34] !cookie | TJ- [00:34] TJ-: Wow! You're such a great helper, you deserve a cookie! [00:35] !trout | Sigyn [00:36] that didn't work, awww, wanted to smack that guy around a bit for threatening "automated actions" [00:36] !cookie | TJ- [00:36] TJ-: Wow! You're such a great helper, you deserve a cookie! === BrianG61UK_ is now known as BrianG61UK [00:42] does the ubuntu installer let me install everything from the dvd? [00:42] the deb one doesn't and my internet may be down for awhile [00:46] johnjay, limited to the standard selection software, yes [00:50] exit [01:26] 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] yntax for fsck correct to run that on it === zbenjamin is now known as Guest42913 === zbenjamin_ is now known as zbenjamin [01:44] Sorry for the disconnect [01:45] invalidpartition: Not missed a reply :) Wait some more. [01:45] Bashing-om: no, you fool! you gave us away. [01:45] * ryuo hides. [01:45] <.< [01:46] Cheers Bashing-om, saves me checking the logs [01:46] ryuo: Sometimes I peek out from under my rock :P [02:21] 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] is it possible to cast to chromecast from firefox? === [b0b] is now known as b0b [02:40] kinghat: If there is, you could find it searching on Mozilla's add-ons site. https://addons.mozilla.org [02:50] ya I saw something with a locally installed bridge. just wondered if native. [03:07] Is there anything special about ubuntu server? [03:07] I mean, isn't it just a linux server, so skills from managing playn ol linux servers applicable? [03:15] 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] i saw an ncurses interface for installing bundled packages [03:42] is it possible to make a USB drive to boot into ubuntu OS and store all files and settings there? [03:43] so the entire OS+files+settings are self-contained on that USB? [03:47] 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] 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] 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] 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] sappheiros, that is a persistant usb live stick [03:49] peq: so it's really wear-and-tear on a USB drive to use it as a 'hard drive' (storing files, etc)? [03:49] how ever your usb sticks if rubbish can burn out [03:49] do people generally not do it because it generally destroys USB drives? [03:49] once they are gone its very difficult if not imposibble to retreive any data [03:49] its more performance issues [03:50] usb sticks now are cheap as anything [03:50] it's just better to partition the hard drive? [03:50] yes faster more stable [03:50] 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] is ubuntu working now with touchscreens? [03:51] A raspberry pi runs off a micro usb [03:51] You could in theory use MD to raid-1 between two sticks, and that would even get you double the read speeds [03:51] and mine has been going for years [03:51] ^^ [03:51] you use raspberry pi MrCrackPotBuilde ? [03:51] yes [03:51] and beagle boards [03:51] and a few others [03:53] 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] you can configure ubuntu to do a lot but the question should be why [03:53] for myself it was more is it possible could i use it to enhance my security and i learnt more about Linux [03:54] other than that its pointless [03:54] just partition and dual boot. if you really dont want to VM [03:56] peq do you know of a package manager or similar that just allows you to search for and download source code ?? [04:13] hey, so I can't figure out how to hibernate [04:14] I'm running ubuntu 18.04 [04:14] I've confirmed my swap is bigger than my RAM and I've tried adding a resume= parameter to my GRUB configuration [04:14] any ideas? [04:14] i have a 2017 thinkpad if that helps [04:15] 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] zdorovo, sudo systemctl hibernate [04:16] ah you did that [04:16] leave a few programs open and try again [04:17] how bigger does swap have to be than ram to hibernate? [04:18] it needs to be at least 100mb more [04:18] ok [04:18] if you have 8gb ram then 8.1gb [04:18] i'm going to install ubuntu onto an SSD [04:19] swap space typically is double that of your ram [04:19] but i'm going to have lots of partitions for other OS as well [04:19] ah [04:19] can I share the same /home partition with ubuntu and other linuxen you think? [04:19] yes [04:19] or is that a bad idea [04:20] but as long as no programs are installed there [04:20] the thign is there's so many things in /home. like it makes folders and temp files and stuff [04:20] so you could have a partition that contains only your documents [04:22] you would normally have a partition to hold your personal files this partition could then be mounted by all/most os's [04:22] like i said make sure no programs are installed in this directory it should just be data storage [04:23] you could just install Qubes [04:23] run ubuntu debian fedora arch windows meh all in one [04:30] MrCrackPotBuilde: The only thing I know to do is apt-get source or searching github. [04:36] MrCrackPotBuilde: omg i didn't see this 100mg requirement anywhere [04:36] mine's only 85mb larger [04:38] i'll try resizing my swap in the morning and see how it goes. Thanks for your help!! [04:52] I'm experiencing screen tearing on ubuntu 19.04 [04:53] nvidia prop. drivers on [04:53] gnome interface [05:26] 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] 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] syntax for fsck correct to run that on it [05:52] is your fstab uptodate ?? [05:53] the problem with fsck and repairing drives is the drive shouldnt be mounted [05:54] invalidpartition, are you able to boot a live usb?? can you then mount decrypt and then unmount [05:54] if you can then run fsck /dev/XXXX [05:54] Sorry I should have mentioned, I'm already on a live usb! [05:54] i kinda figured that after i typed it hahaha i was being a bit blur sorry [05:57] Ok I've currently decrypted the partition and then unmounted it (since it mounts automatically after decrypting) [05:57] But if I do fsck /dev/sda5 it tells me I must have r/w access [05:57] you could also use parted or fdisk to check the partition tables [05:58] you might need to give your live stick user r/w access to the file system [05:58] chmod [06:01] 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] invalidpartition: no, can you pastebin "sudo parted -ls" ? [06:16] invalidpartition, nice name lol [06:18] EriC^^: https://pastebin.com/xiZU2Rq1 [06:18] (currently dismounted and decrypted) [06:21] *encrypted sorry not decrypted [06:21] invalidpartition: where does it say "invalid partition" ? [06:22] When I boot [06:23] invalidpartition: hmm, so it's a bios message? and ubuntu doesnt actually boot, no grub i mean ? [06:23] invalidpartition: just to be clear, invalid partition table has nothing to do with filesystems [06:24] (or fsck) [06:24] 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] Ah ok, someone recommended trying fsck which is why I was trying it [06:24] yeah i know [06:25] invalidpartition: i wonder what it doesnt like about the partition table, it seems fine and parted doesnt whine about anything either [06:25] Yeah it's very strange, it was booting fine before and nothing was changed before this error started coming up [06:25] invalidpartition: let's maybe take a closer look, try "sudo parted /dev/sda unit s print" [06:25] It happened before and I just did a fresh install of ubuntu [06:26] invalidpartition: ah i see the problem [06:26] (i think) [06:26] https://pastebin.com/1DjgffbT [06:26] invalidpartition: the /boot partition (/dev/sda1) doesn't have a boot flag [06:26] 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] some bios require that [06:27] Ah, and it can somehow lose its boot flag? [06:27] invalidpartition: it shouldn't [06:28] unless something modified the partition table [06:28] invalidpartition: anyhow, type "sudo fdisk /dev/sda" [06:29] Cool I'm into fdisk [06:29] press "m" for help [06:29] is there a "toggle boot flag" option at the top? [06:29] Yup! [06:30] cool, press the letter before it (i think it should be "a") [06:30] And partition number 1? [06:30] yes [06:30] Ok it's enabled now [06:30] finally press "w" to write the new table [06:31] Then shall I reboot and retry? [06:31] yeah give it a shot [06:31] Cool, brb! [06:46] something is wrong with the ro repos 0% [Connecting to ro.archive.ubuntu.com (78.96.7.8)] [06:47] EriC^^: I no longer get the error message, instead now I just get a white ticking underscore [06:52] invalidpartition: aha, that's a good thing, i think [06:52] Definitely an improvement! [06:53] It doesn't actually boot after the white ticking underscore though [06:53] invalidpartition: are you able to get grub if you hold shift right after you turn the pc on?? [06:54] Brb while I try! [06:56] Nope! Holding shift doesn't do anything [06:56] Seems you might need to reinstall grub ?? [06:56] Invalidpartition: yup [06:56] that should find the yes ?? [06:56] i mean MrCrackPotBuilde [06:57] it should find the os itself. [06:57] How do I reinstall grub? [06:57] Invalidpartition: ok, decrypt the os partition [06:57] use live usb to grab grub sudo grub-install /dev/XXX [07:00] Invalidpartition: actually nevermind, type 'sudo mount /dev/sda1 /mnt' [07:00] i forgot you have a separate /boot [07:01] Grand, I'll try that [07:01] Booting into the live usb now [07:03] OK I've done the mount sda1 /mnt [07:04] MrCrackPotBuilde do I do that with sda or sda5? [07:05] Invalidpartition: type 'sudo grub-install --boot-directory=/mnt /dev/sda' [07:06] Done, it says installation finished [07:06] And it also says no errors reported! [07:06] Looking good [07:06] alright, try booting again' [07:09] It worked! [07:09] Thank you so much [07:11] Invalidpartition: great! no problem === Xard_ is now known as Xard [07:17] 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] Yeah I'll definitely do that! [07:18] Thanks again [07:22] sudo find /opt/tomcat/logs/ -mtime +7 -print0 | xargs -r -0 rm -rf (permission denied) [07:22] rm: cannot remove '/opt/tomcat/logs/localhost_access_log.2018-08-17.txt': Permission denied [07:22] ... [07:23] drwxr-x--- 2 tomcat tomcat 90112 Jul 21 07:20 logs [07:46] anyone? [07:48] put sudo again befire xargs [07:56] 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] https://paste.ubuntu.com/p/G5Xs2rY6KP/ [07:57] 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] wayland ? [08:00] Mathisen, xorg [08:01] now my audio doesn't work on google chrome [08:01] Mathisen, what can i do to like, remove purge gnome and reinstall it can work? [08:02] i really don't want to format my current system because i have a lot of job making it ok [08:02] setting everything up [08:02] 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] how can i see if it's xorg? [08:02] something get massed up with gdm and i reinstall it [08:03] after uninstalling budgie [08:03] because i couldn't dpkg-reconfigure gdm3 to make it default again instead of lightdm [08:03] then i tried systemctl enable gdm.service but it didn't work (idk why) [08:03] then i reinstall it with apt and it worked. [08:04] Mathisen, denis@Linux:~$ echo $XDG_SESSION_TYPE [08:04] x11 [08:05] ... confusing. im sure someone in here can help. i dont want to be guessing atleast [08:06] know, people say about windows and that it has to be formated twice a year but... [08:06] linux enter to some real troubles out of nowhere [08:06] and you have to format it even more [08:06] that very annoying [08:07] both can suck i gess [08:07] 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] i used to like arch [08:08] it's a good distro [08:08] also rolling release, maybe what you are using right now? [08:08] arch [08:09] i like to install a lot of new DE's to test it out [08:09] you can do exactly same thing on ubuntu [08:09] but i gess i can only do it in Debian [08:09] without broking everything [08:10] only "real" diffrence would be package versions [08:10] ubuntu rolling release? [08:10] just dont put 3.rd party repos in and you should not break things [08:10] nope it is not [08:10] yeah i miss understand you [08:11] you said i can do exactly same thing on ubuntu? what are you reffering to [08:11] i like to install a lot of new DE's to test it out [08:11] oh yeah [08:11] look what happend [08:11] everything is massed up because i apt install budgie-desktop [08:12] ...i don't know what went wrong [08:12] budgie is in ubuntu repos [08:12] not 3rd [08:12] ok so now when you boot does gdm or lightdm start for you ? [08:12] none, then i tried systemctl enable gdm (because lightdm is gone after apt remove budgie) [08:13] systemctl give an sort of error message so i apt install --reinstall gdm [08:13] maxcell_, can you pastebin output from this please >> systemctl list-unit-files | grep enabled [08:13] and ok, gdm became the default again and it is starting with init 5 [08:14] Mathisen, https://paste.ubuntu.com/p/Grp3bzgDyV/ [08:16] maxcell_, i dont see lightdm or gdm there [08:16] you have them both now installed or none ? [08:17] only gdm [08:17] and " sudo systemctl start gdm " does what ? [08:17] when i systemctl enable gdm(tab) it doesn't complete to anything [08:17] as it doesn't exist [08:17] if it* [08:18] strange [08:18] maybe that is what's wrong [08:18] and giving those xorg-server errors [08:18] ? [08:19] those you saw on nvidia-settings [08:19] idk [08:19] can you just say error you get " sudo systemctl start gdm " [08:19] but i'm on gnome [08:19] does not mather [08:19] ok.. [08:20] nothing happend [08:20] i type enter and it jumps to the other line [08:20] without any errors or messages [08:20] denis@Linux:~$ sudo systemctl start gdm [08:20] denis@Linux:~$ [08:20] sudo purge gdm && sudo apt install lightdm && sudo systemctl enable lightdm [08:20] that then [08:20] im off for 10 min.. brb [08:21] try replacing start with status, to see how it's operating or not. "sudo systemctl status gdm" [08:22] SysGhost, https://paste.ubuntu.com/p/5gMnWQ4s79/ [08:22] 4th line tells it's up and running. [08:22] those errors are normal? [08:22] gdm-password [08:23] child process -841 was already dead [08:23] gkr-pam unable to locate [08:23] those things [08:23] yours is like that? [08:23] some messages are cut off. your terminal app seems to be too small. [08:23] yeah [08:24] wait [08:24] SysGhost, https://paste.ubuntu.com/p/dzqM9zcFj2/ [08:26] 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] 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] maybe it screwed up other things [08:28] seems like it [08:28] how do i reset my user profile? and what it will do to my current user, what i need to save exactly? [08:28] See if this helps: mv ~/.config/dconf/user ~/.config/dconf/user.bak [08:29] now i relog? [08:29] 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] indeed.. [08:30] hmm [08:30] cool [08:32] SysGhost, i think i need to reinstall budgie [08:32] and then remove it with purge [08:32] so all config files will go away [08:32] ? [08:33] shit i did it the first time [08:33] gonna relog.. [08:37] SysGhost, the errors were drastically decreased, the only error still going is on the line 20: https://paste.ubuntu.com/p/r5jNkrwYgh/ [08:38] hi ! I have transfer my ubuntu18.04 to new hard disk,the drive car looks differ form what is does [08:39] How else is the system working, or not working? [08:39] before transfer,it look like this: [08:39] https://upload.cc/i1/2019/07/18/aK4TLt.jpeg [08:39] SysGhost, i erase .config folder, gonna restart now [08:40] after transfer, it became this: [08:40] https://upload.cc/i1/2019/07/18/8gKB1I.jpeg [08:42] It seems that the graphics driver has changed. [08:43] And I found out somthing error message in /var/log/Xorg.0.log [08:43] [ 25.168] (EE) open /dev/dri/card0: No such file or directory [08:43] [ 25.169] (EE) Screen 0 deleted because of no matching config section. [08:44] [ 25.201] (EE) AIGLX: reverting to software rendering [08:44] jacklisp: whit what method did you clone/transfer to the new drive? [08:45] I use tar method copy /boot / and /home to my new hard disk === luna_ is now known as luna [08:46] And changed the UUID in the /boot/grub/grub.cfg [08:48] tried the update-initramfs command (as root) ? [08:49] (I suspect some kernel modules went missing in the process, thus "changing" your graphical experience) [08:51] what's the command update-initramfs do ? [08:52] prepares kernel modules so they load properly upon boot, among other boot related stuff. [08:52] the initram fs is an image file system container that kicks in before the "real" boot takes over. [08:54] ok,I will try that command later,thanks a lot! [08:55] *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] ...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] hi, is there a way to script google earth on ubuntu [09:00] I have around 50 destinations that I want the kml files from [09:00] is there a w way to do this through the terminal [09:00] ? [09:00] 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] I have change the UUID in /etc/fstab, [09:03] test it with a simple "sudo mount /boot" [09:03] if it finds and mounts it. All green light. [09:04] once done, update both grub and initramfs. Likely they'd be outdated as it has been unmounted last time [09:08] thanks a lot! I'll try it later. [10:04] so i installed ubuntu 18 recently (full install) but it doesn't contain most development tools like gcc, g++, make, git, etc [10:04] i have been manually sudo apt-get installing these individually [10:04] but this article suggests installing a package called build-essential https://tecadmin.net/install-development-tools-on-ubuntu/ [10:05] how does that work? and is it a good idea? [10:05] this suggests the same https://askubuntu.com/questions/1037611/development-tools [10:08] !YY.MM | CoolerX [10:08] CoolerX: Ubuntu version numbers are: YY.MM (YY=release year,MM=release month). Each year sees two releases, so just specifying YY is imprecise. See also https://www.ubuntu.com/about/release-cycle [10:09] build-essential is a meta package, it depends on other packages commonly used in software development. [10:09] apt show build-essential [10:10] 18.04 [10:10] tomreyn, so itself it contains nothing? it only has a bunch of dependencies? [10:12] Is there any good way to use caps lock + hjkl as arrow keys everywhere? On Windows AutoHotkey worked perfectly [10:12] 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] also shift + caps + hjkl (text selection) doesn't seem to work at least in IntelliJ IDE. [10:12] apt-file list build-essential shows that it does actually contain some files, but no binaries or libs, just informational files. [10:12] CoolerX: ^ [10:17] fixed that part [10:20] hello [10:22] hello Adam-, and welcome to the Ubuntu support channel. [10:22] thank you [10:41] anyone know how to disable that screen lock with swipe arrows after screen got dark and than wake ups? [10:47] parak0vsky: dconf-editor has values to tweak on the lock screen [10:57] Hi folks [10:57] hi [11:16] hey [11:16] i am trying to install firefox developer edition using ubuntu-make [11:16] but i got this error [11:16] 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] '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] there seems to be 2 'en-US' in that list [11:17] what is swap data in system monitor, I don't think I have swap enabled [11:18] https://github.com/ubuntu/ubuntu-make/issues/592 [11:19] why is my ubuntu-make still giving the error if it is fixed? [11:19] i just install ubuntu-make it should be the latest version [11:19] ubuntu-make is already the newest version (16.11.1ubuntu1). [11:19] Hi all! Would it be possible for nouveau driver to give HDMI / DP output ? [11:19] Is there a funny way to find out what package python module QWebView are inside? [11:22] quit [11:23] parak0vsky: this tells you whether you have swap enabled cat /proc/swaps [11:24] cjoke: not too funny, but gives good enough results: apt-file search QWebView [11:28] tomreyn: thanks :) [11:34] CoolerX: this is not a development oriented channel. it's the ubuntu support channel. mozilla runs their own IRC channels. [11:35] Caroga, yes [11:38] !nouveau [11:38] nouveau is an open-source nvidia driver included by default since Ubuntu 10.04. Currently, 3D rendering is only partially supported. More information can be found at http://nouveau.freedesktop.org/wiki/ | See !nvidia for the closed-source Nvidia driver. [11:45] so i had a couple of ungraceful shutdowns when the power went out [11:45] my desktop was not connected to a ups earlier [11:45] how do i check and make sure everything is ok? [11:46] CoolerY, does it boot, does it run? [11:49] yes [11:49] 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] any errors? [11:49] nothing obvious [11:49] i haven't run any checks tho [11:50] tomreyn: thanks, it is just that swapoff -a didn't work before [11:51] 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] Caroga, why don't you want the nvidia driver if it works for you? [11:52] 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] parak0vsky: actually this: sudo swapoff -a; echo $? [11:53] 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] Caroga, and the nouveau doesn't make the laptop run hot ? [11:56] BluesKaj: correct. [11:59] Caroga; lsusb |grep VGA please [11:59] kk4ewt: where should I paste this into ? [11:59] here [11:59] as in, the output of the command :) [11:59] tomreyn, how long will that take? [11:59] oke hold on [12:01] 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] Caroga, https://help.gnome.org/users/gnome-help/stable/display-dual-monitors.html.en [12:02] but it can be hours if there are many errors. [12:03] tomreyn, so just create the ubuntu boot usb? [12:03] and boot from that? [12:04] CoolerY: you should always keep a ready-made bootable media for the same ubuntu version you have installed around, just in case. [12:04] kk4ewt, he;s trying to connect an outboard monitor via HDMI [12:05] kk4ewt: I am now on my laptop, what was the command again ? [12:05] I was on my pc before so I couldn't easily paste the output from here. [12:05] 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] tomreyn, and after booting then what? [12:06] kk4ewt, read above [12:06] lspci |grep VGA [12:06] 00:02.0 VGA compatible controller: Intel Corporation Device 3e9b [12:06] 01:00.0 VGA compatible controller: NVIDIA Corporation GP106M [GeForce GTX 1060 Mobile] (rev a1) [12:07] so optimus [12:07] I've now installed the NVIDIA drivers, but selected intel with prime-select intel [12:07] Yes, optimus. :) [12:08] usually for external uses the nvidia [12:08] Meaning I should switch everytime I want to use a external monitor? [12:08] caroga; whatever works for you [12:09] 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] !optimus | caroga [12:09] caroga: Ubuntu uses nvidia-prime to support optimus videocards. [12:10] 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] caroga, https://www.linuxquestions.org/questions/slackware-14/external-displays-with-nvidia-optimus-4175587145/ [12:13] tomreyn, ok [12:13] i am trying to install virtualbox right now and failing [12:13] https://bpaste.net/raw/mXQZ [12:14] optimus is so hit and miss one has to manually switch gpus in many case, caroga [12:14] cases [12:14] BluesKaj: yeah, I'm reading it all over the web.. :( [12:15] I've learned that 18.10 might have a better support to it [12:15] CoolerY: disable secure boot in your bios [12:17] Vixtron, why? [12:18] 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] VirtualBox + Secure Boot + Ubuntu = fail [12:19] why? [12:19] booting into the BIOS and going > advanced (f7) > boot > scroll down to "secure boot" > change "Windows EUFI mode" to "other OS" [12:19] > My virtualbox works perfectly now. [12:19] Yhe vbox kernel modules aren't signed so secure boot prevents them from installing [12:20] The* [12:20] Vixtron: you can sign them yourself, though, and install your signing key to the mainboard. [12:21] yeah isn't that better? [12:21] 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] Isn't secure boot = other just a simple and permanent solution? [12:23] adroit_machine: https://help.ubuntu.com/community/DataRecovery [12:24] Vixtron: i guess that's a misleading presentation of "secure boot verification = disabled" [12:25] 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] Sure whatever you say lol [12:26] i will try signing first [12:27] whether you want secureboot depends on your personal risk assessment: are evil maid attacks an issue for you or not? [12:27] hi everyone [12:27] I'm looking for some help with icecast and shoutirc bot [12:28] !alis | lovecat [12:28] lovecat: Alis is an IRC service to help you find channels. For help on using it, see "/msg Alis help list" or ask in #freenode. Example usage: "/msg Alis list http" [12:29] lovecat: we usually focus on the ubuntu support part here [12:30] what happened here? [12:30] https://bpaste.net/raw/thCq [12:31] it said error and still created the key files [12:35] help please [12:35] !patience | CoolerX [12:35] CoolerX: Don't feel ignored and repeat your question quickly; if nobody knows your answer, nobody will answer you. While you wait, try searching https://help.ubuntu.com or https://ubuntuforums.org or https://askubuntu.com/ [12:35] 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] # ls /root/.rnd [12:36] ls: cannot access '/root/.rnd': No such file or directory [12:37] 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] this suggests using -writerand [12:42] tomreyn, i can't find writerand in man openssl [12:42] https://github.com/node-opcua/node-opcua-pki/issues/7 [12:43] 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] * man req [12:43] req(1ssl) [12:45] https://github.com/openssl/openssl/issues/7754 [12:45] i think i need to change the conf [12:48] i found it in openssl/ssl [12:48] i mean in /etc/ssl/openssl.cnf [12:48] RANDFILE = $ENV::HOME/.rnd [12:48] should i remove that line? [12:49] don't you like your PRNG to be seeded then? [12:49] 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] probably openssl [12:50] tomreyn, update openssl? [12:50] which ubuntu version are you on, is it full yupdated? [12:50] tomreyn, which is the latest version? [12:51] !uptodate | CoolerX [12:51] CoolerX: To ensure you have all the latest known patches and security updates for your ubuntu installation, please update with the following command: `sudo apt update && sudo apt upgrade`. See also !upgrades and !security; you may also need to run `apt full-upgrade`. [12:51] OpenSSL 1.1.1 11 Sep 2018 [12:51] OpenSSL 1.1.1c is now available, including bug and security fixes [12:52] so i am up to date [12:52] 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] i am trying to fix the error [12:55] 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] 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] probably the latter or this would have been reported already [13:02] tomreyn, so it is safe to ignore the error? [13:07] 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] normally, you want a RNG to be seeded, and this is what these files are for. [13:11] This system doesn't support Secure Boot [13:11] WTF? [13:11] it does support secure boot, i have EUFI enabled [13:11] in the bios [13:11] I got that error doing this # mokutil --import mok.der [13:11] This system doesn't support Secure Boot [13:12] also this entire problem started with VirtualBox not being compatible with secure boot on Ubuntu [13:13] UEFI* [13:13] https://askubuntu.com/questions/886542/cant-sign-vboxdrv-mokutil-thinks-secure-boot-is-not-supported-yet-it-is [13:14] kk4ewt, BluesKaj, would bumblebee still be recommended to use even though it's discontinued? [13:14] is this a bug? [13:14] It's hard to tell what is a bug and what is user error [13:15] Caroga, it's no longer supported so it's no longer recommended [13:17] Cool, thanks! [13:17] CoolerX: again, which ubuntu version are you running, is it !uptodate ? [13:19] 18.04 i said this before [13:19] tomreyn, yes uptodate [13:20] maybe your firmware doesn't properly or fully imeplemtn secure boot. [13:20] there are not few firmwares which have this issue [13:20] American Megatrends [13:21] anyway i will try switching UEFI to custom mode in the bios [13:22] 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] you'd notice during boot whether or not secure boot is active and being validated [13:22] (search dmesg / journalctl -kb) [13:31] !topic [13:31] Please read the channel topic whenever you enter, as it contains important information. To view it at any time after joining, simply type /topic [13:33] ok now everything is working [13:33] i didn't have to change to a custom boot mode, the boot order had something else before UEFI [13:33] just changed that and everything else worked === Yvies is now known as Evie^2 [14:07] Tips for trying to troubleshoot why the xubuntu 18.04.2lts live dvd keeps crashing when installing on a machine? [14:07] it seems to always either lockup, or sometimes just reboot when selecting partitions [14:11] 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] !checksums [14:11] !checksum [14:11] To verify your Ubuntu ISO image (or other files for which an MD5 checksum is provided), see https://help.ubuntu.com/community/HowToMD5SUM or http://www.linuxquestions.org/linux/answers/LQ_ISO/Checking_the_md5sum_in_Windows [14:12] 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] I used xfburn to make it, and it did work another machine [14:18] 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] Wayward_Vagabond: you could try to install from a liveusb, and see what kind of errors showup at partitioning [14:39] Wayward_Vagabond, still good practice to do an actual hash sum verification [14:40] hmm, I don't think xfburn will let me make a liveusb [14:41] there's no need to make the liveusb using xfburn ;) [14:42] use dd, cp, usb-creator{-gtk,-qt}, mkusb, balena etcher or whichever tool you prefer. [14:43] Never gotten a live usb to work before actually, so been literally years since I've tried [14:43] but this macine does not seem to like optical media [14:44] zi think the drives are just full of crud [14:44] hi! where do I report bugs in wipefs (package util-linux)? the man page has no bugs section => email the author? [14:44] !bug | Sven_vB [14:44] Sven_vB: If you find a bug in Ubuntu or any of its official !flavors, please report it using the command « ubuntu-bug » - See https://help.ubuntu.com/community/ReportingBugs for other ways to report bugs. [14:44] thanks! [14:44] happy2help! [14:45] Sven_vB: before filing bugs we also reccomend to ask your issue here, maybe volunteers already know an existing bug or solution [14:45] mkusb wasn't in synaptic? [14:46] usb creator was, gonna try it [14:46] !mkusb [14:46] mkusb is a frontend to !dd, the bit-by-bit command line utility. For more information see: https://help.ubuntu.com/community/mkusb [14:46] Should I have the flash drive in any certain format, or will it do that for me [14:46] ? [14:47] usb-creator-* is the standard ubuntu GUII utility for creating liveusbs [14:47] usually you just need to provide the iso file and target drive (and be sure to really pick the correct target) [14:47] right now the drive I has isn't formatted to anything [14:48] 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] Gnome bug 771244 in livecd "gparted does not recognize the iso9660 file system in cloned Ubuntu USB boot drives" [Major,Resolved: fixed] [14:48] lotuspsychje, ^ [14:49] Wayward_Vagabond: that's ok [14:49] Sven_vB: you experience the same, and want to create a new bug now? [14:50] lotuspsychje, yes === xerox123_ is now known as xerox123 [14:50] Sven_vB: wich version of util-linux are you using now please? [14:51] see above ;) [14:51] !info util-linux bionic [14:51] util-linux (source: util-linux): miscellaneous system utilities. In component main, is required. Version 2.31.1-0.4ubuntu3.3 (bionic), package size 907 kB, installed size 3397 kB [14:51] the gparted bug is about gparted, I think wipefs should have its own bug [14:53] actually maybe it's a bug in a library that both use [14:58] 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] Sven_vB: is your system up to date? [15:06] Hi i wand to know where can i find advands account setings for cloud drivers (google drive) in ubuntu 19.10 [15:07] 19.10 is not supported here. try #ubuntu+1 [15:07] k, have a live usb, really hope this motherboad will boot from usb [15:07] www2: Ubuntu 19.10 is not released yet and therefore no supported here [15:07] sorry i mean 19.04 [15:09] No, I don't think it will boot from usb.. [15:10] or it doesn't consider a fash drive a valid 'USB Device' [15:13] nope, it doesn't seem to support booting from a flash drive === MrCrackPotBuilde is now known as MrCrackPot [15:13] lotuspsychje, not sure. I'll upgrade and retry. [15:13] 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] Wayward_Vagabond: which hardware is it? this should tell: journalctl -b | grep 'DMI:' [15:14] i wand to access my share folders on my google drive [15:14] Wayward_Vagabond: Is it an old system? Or is it a UEFI system with secure boot enabled? [15:14] EoflaOEViceCity: It's an optiplex 745 [15:16] 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] [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] www2, https://linoxide.com/tools/how-use-google-drive-ubuntu-linux/ [15:19] www2, It looks pretty straightforward. [15:20] 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] I know that one and my its more where are the settings located in ubuntu [15:21] Wayward_Vagabond, it's just 16 MB so you can use the remainder of the drive for Ubuntu live partitions [15:21] 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] Sven_vB: Ah, just boot from grub live, and chainload the usb? [15:22] 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] ah, not exactly wat you suggested, but I have a supergrub2 disc right here anyways [15:22] www2, Under Settings > Online Accounts [15:23] @uRock i earch for the config files [15:25] tomreyn: Yes, te bios just doesn't seem to recognize the drive as bootable [15:26] nor does supergrub booted from a cd-r [15:26] Wayward_Vagabond, have you loaded additional drivers? [15:27] Wayward_Vagabond, better question: does the drive show up in the list of partitions? [15:27] Sven_vB: negative, just plugged the drive in, and asked startup disk creator to make it [15:27] it doesn't in supergrub [15:27] that's bad. [15:28] oh I meant whether you loaded the extra drivers in SuperGrub [15:29] maybe you can update the BIOS? [15:29] plugged it back in to here, gparted sees the drive as "119.24gb iso9660" [15:29] bios is current version [15:34] www2, what are you trying to accomplish? The setup seemed pretty easy. [15:35] okay, rebooted and messed with it for a bit, now it seems to see the flash drive [15:35] bloody glitchy desktop [15:35] uRock I wand to access the folders that are in my google account share list [15:36] www2, I shared a howto on setting that up with you. Are you trying to do it via command line or something? [15:36] And now it directly boots the usb *Throws hands uo* [15:37] uRock yep command line or config file [15:38] www2, https://www.techrepublic.com/article/how-to-mount-your-google-drive-on-linux-with-google-drive-ocamlfuse/ [15:39] I was affrate that i need to use google-drive-ocaml-fuse === Wryhder is now known as Lucas_Gray [15:56] 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] seems that dnsmasq is built in to 19.10? [15:59] !ubuntu+1 | MWM [15:59] MWM: Eoan Ermine is the codename for Ubuntu 19.10 - Support only in #ubuntu+1 [16:01] my apologies. lsb_release -a give 19.04. [16:02] codename: disco :D [16:12] 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] 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] 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] if not I will make do with a script as a workaround. [16:25] 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] 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] I have a problem with the print margins settings in okular [16:28] top and bottom margins are half an inch and can't be decreased [16:28] how do i decrease that? [16:30] not sure if its an okular issue; i don't find that setting in the printer config [16:30] 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] works fine if i print in chrome, wtf [16:31] i mean i guess i only need one of those [16:32] so its an okular issue. [16:32] !YY.MM | noudle [16:32] noudle: Ubuntu version numbers are: YY.MM (YY=release year,MM=release month). Each year sees two releases, so just specifying YY is imprecise. See also https://www.ubuntu.com/about/release-cycle [16:32] !server | noudle [16:32] noudle: Ubuntu Server Edition is a release of Ubuntu designed especially for server environments, including a server specific !kernel and no !GUI. The install CD contains many server applications. Current !LTS version is !Bionic (Bionic Beaver 18.04) - More info: http://www.ubuntu.com/products/whatisubuntu/serveredition - Guide: https://help.ubuntu.com/lts/serverguide - Support in #ubuntu-server [16:33] tomreyn: 16.04.6 [16:33] noudle, I tend to only keep the current and the previous kernel. [16:34] uRock: ye, i also just rm'ed the others but doing apt-get autoremove or upgrade will regenrate most of them [16:34] 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] You can't just toss them. They have to be uninstalled properly. [16:35] tomreyn: what do you mean with kernel meta packet? [16:35] *package [16:35] !info linux-image-generic [16:35] linux-image-generic (source: linux-meta): Generic Linux kernel image. In component main, is optional. Version 4.15.0.54.56 (bionic), package size 2 kB, installed size 15 kB [16:36] you mean the initrd-img-*-generic one? [16:36] is okular's printer options dialog actually provided by okular? [16:36] or is it a kde thing? [16:37] 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] tomreyn: there is one named 'linux-generic' and a bunch of which end with 'generic' [16:43] noudle: do you also have linux-image-generic there? [16:44] i.e. exactly this [16:44] tomreyn: yes [16:44] i do have [16:44] then my theory was wrong about it managing itself, sorry [16:44] hmm no problem [16:44] i'll see how it's setup in a vm [16:44] but how do i get rid of all those unneeded versions then? with that purge command? [16:44] ah okay [16:45] if its okay for you, dont want to bother you that much [16:46] does sudo apt update && sudo apt-get -s --purge autoremove seem to remove anything? [16:46] i can run the latter, sec [16:46] no [16:46] can you not run the former then? [16:46] i already did some minutes ago [16:47] ok, but it doesn't throw warnings or errors? [16:47] did run both again, no warnigns or errors. [16:47] okay, i got the VM up, let me check [16:48] sure, thanks [16:50] 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) === hggdh changed the topic of #ubuntu to: Official Ubuntu Support Channel | IRC Guidelines: https://ubottu.com/y/gl | #ubuntu supports Ubuntu and official flavors; versions 16.04, 18.04, 19.04 | Unofficial derivatives: use your distro's support channel, not here. | IRC info: https://ubottu.com/y/irc | Pastes to https://paste.ubuntu.com/ | Download: https://ubottu.com/y/dl [16:50] i see that file [16:51] 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] can you show the output of apt-mark showmanual | grep linux | nc termbin.com 9999 [16:53] 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] on my system that's https://termbin.com/yemd [16:54] tomreyn: https://termbin.com/y4fn [16:54] can someone tell me what the period denotes when using ./ [16:54] i forgot [16:55] current directory [16:55] ok thx :) [16:55] 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] hmm [16:55] doing so breaks this automatic removal, which depends on these packages to be marked as automatically installed [16:55] was not me [16:55] can i unmark them somehow? [16:56] i don't mean to blame you there ;) this may have been some misconfiguration in earlier 16.04 versions. [16:56] yes, you can makr those as automatically installed [16:56] tomreyn: its not my server, its a server i should have an eye on and update, thats how i got it :P [16:56] apt-mark auto <...> [16:56] package is the name from that list right? [16:57] noudle: right [16:58] thansk a bunch :) [16:59] you also need to apt-mark manual linux-image-generic [17:01] 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] yo [17:04] hi [17:04] im new [17:04] Erm... [17:04] So, wat needs doing to install ubuntu on vmware [17:05] Anything special? [17:06] anyone? [17:07] alivebacon: we only support ubuntu here, not vmware. [17:07] i know. [17:07] alivebacon: so ubuntu works fine in virtualizations in general [17:07] ok [17:09] 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] Can I use things like the Xbox Live Vision on ubuntu? [17:09] Cuz it can be used on windows [17:11] 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] OK [17:11] 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] I don't know if it needs drivers. [17:12] that are hard to find [17:12] 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] also, ubuntu caused vmware to disable sound [17:13] re-enables vmware audio [17:14] UHH [17:14] the installer crashed [17:14] i gave it 2 gigs [17:14] https://askubuntu.com/questions/165210/how-do-i-get-an-xbox-360-controller-working/180044 may be what you were looking for [17:14] see the minimum requirements on the download page [17:15] 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] Oh. [17:15] is anyone aware of a program that allows you to make flash cards for studying? [17:15] Just... use a printer. [17:16] that's so old school [17:16] word processor? [17:16] i have index cards, but i'd rather type them in a program. [17:17] kwispel: i assume you can do so using either nmcli or nmtui, do not know the exact way, though [17:18] kwispel: basicalyl you should set a single profile to auto-connect [17:18] a single connection profile per network interface you want to bring up, that is. [17:19] uuh [17:33] 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] lol [17:38] kalokagathia> wat [17:39] Toad437, yes, this is a great program, but this chat isnt a good place for such an ad [17:40] sorry [17:40] i was looking for something like this to study for LPIC-1 [17:41] btw, i use anki to study languages, it's really grat [17:43] cool [18:04] 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] +for ubuntu bionic [18:05] you could use standard command/line utils [18:06] yeah that's what I was doing until a moment ago when I lost overview. :) [18:06] try this https://www.howtogeek.com/howto/40702/how-to-manage-and-use-lvm-logical-volume-management-in-ubuntu/ [18:08] just start with pvs, vgs, lvs [18:09] guess that will have to do then === im0nde_ is now known as im0nde [18:49] 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] debugging info I can get since Magic SysRq works? [18:51] oceanquake: can you show the very error message? did you search launchpad for it, yet? [18:54] 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] 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] !bug | and file a bug against amdgpu and tag it 'radeon' [18:58] and file a bug against amdgpu and tag it 'radeon': If you find a bug in Ubuntu or any of its official !flavors, please report it using the command « ubuntu-bug » - See https://help.ubuntu.com/community/ReportingBugs for other ways to report bugs. [18:59] tomreyn: relevant kern.log section: https://pastebin.com/RiENkS8J [19:00] tomreyn: I've tried switching to another VT and once this happens, and it does not respond. [19:00] oceanquake: that's some days of uptime, did you susprend in the mentime? [19:00] tomreyn: no, not suspended, connected to a dock. [19:02] 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] oceanquake: did you have it happen soon after boot sometime recently? [19:04] 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] 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] 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] !tty | oceanquake [19:06] oceanquake: To get to the TTY terminals 3-6, use the keystroke Ctrl + Alt + F3-F6 respectively. Ctrl-Alt-F2 or Ctrl-Alt-F1 will get you back to your graphical login (Ctrl-Alt-F7 on 16.04). To change TTY resolution, see https://help.ubuntu.com/community/ChangeTTYResolution [19:06] (you could test now which ones are textual) [19:06] 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] did you also install xorg-hwe then? [19:08] xserver-xorg-hwe-18.04 is the proper package name [19:08] oceanquake: ^ you should do so if you use the hwe kernel [19:09] (note there is also a linux-generic-hwe-18.04-edge kernel) [19:09] buona sera a tutti [19:09] tomreyn: yes, for example xserver-xorg-video-radeon-hwe-18.04 [19:09] !it | jkf1 [19:09] jkf1: Vai su #ubuntu-it se vuoi parlare in italiano, in questo canale usiamo solo l'inglese. Grazie! (per entrare, scrivi « /join #ubuntu-it » senza virgolette) [19:09] hi [19:10] oceanquake: ok very well [19:10] tomreyn: looks like similar bugs have been reported to Ubuntu: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1782716 [19:10] Launchpad bug 1782716 in linux (Ubuntu) "[drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx timeout" [Medium,Confirmed] [19:11] oceanquake: also bug 1810546 [19:11] bug 1810546 in Linux "AMDGPU VMC page fault with Athlon 200GE APU" [Medium,Confirmed] https://launchpad.net/bugs/1810546 [19:12] and some more. but i don't know which hardware you have there [19:13] oceanquake: look for a mainboard firmware upgrade, too. [19:13] 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] tomreyn: it's a laptop, running latest available firmware [19:14] 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:14] bug 1810546 in Linux "AMDGPU VMC page fault with Athlon 200GE APU" [Medium,Confirmed] https://launchpad.net/bugs/1810546 [19:15] most likely you won't be the first one to report this iossue upstream, maybe not against ubuntu either. [19:15] oceanquake, if you have a Vega card, i suggest the 5.0.0-20 kernel [19:16] ^ that'd be the hwe-edge kernel [19:16] yep [19:20] 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] it's just that [19:20] !info linux-generic-hwe-18.04-edge | oceanquake [19:20] !hwe for general HWE instructions [19:20] oceanquake: linux-generic-hwe-18.04-edge (source: linux-meta-hwe-edge): Complete Generic Linux kernel and headers. In component main, is optional. Version 5.0.0.20.76 (bionic), package size 1 kB, installed size 11 kB (Only available for i386; amd64; armhf; arm64; ppc64el; s390x) [19:20] tomreyn: I am only a bot, please don't think I'm intelligent :) [19:20] !hwe | for general HWE instructions [19:20] for general HWE instructions: The Ubuntu LTS enablement stacks provide newer kernel and X support for existing LTS releases, see https://wiki.ubuntu.com/Kernel/LTSEnablementStack [19:21] oceanquake: so don't install that very kernel version, but the tracking package ioria listed [19:22] 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] hi [19:32] !(04*).mp3 what does this pattern mean [19:32] hortiel_: I am only a bot, please don't think I'm intelligent :) [19:34] hortiel_, exclude [19:36] hortiel_: lacks context, what kind of pattern is it. [19:40] pattern matching in bash tomreyn ?? [19:41] but I know it is *.mp3 and not 04* [19:48] 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] 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] tomreyn: thanks for your help! [20:01] ;) you're welcome. [20:11] hey guys what to do when ubuntu start freezes on low memory besides adding more memory to machine? [20:11] add more swap? [20:12] how much memory do you have, parak0vsky,? [20:14] parak0vsky: ' free -m ' says what about the memory usage ? [20:15] kalokagathia: 8gb it started happening when i get heavy on tabs in the browser for several minutes than resumes [20:15] parak0vsky, how much swap do you have [20:15] kalokagathia: I disabled it [20:15] enable itr [20:15] back [20:16] 8gb ram isn't usable wout swap [20:16] when I had it it wasn't better [20:16] ok so I just double it thanks [20:26] 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] it works fine in this laptop, and I'm booted from it right now [20:27] that machine is either having hardware errors, as it's acted strange and not-consistent [20:27] kalokagathia: enabled the swap, thanks. [20:27] or the right drivers just aren't in the xubuntu 18.04.2lts media [20:37] 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] using xenial chrooted into a bionic live USB session [20:39] Sven_vB: I think it is /boot/efi/EFI/ubuntu where efi files are [20:39] I'll make that directory then [20:40] Sven_vB: the directory should exist [20:40] wait why a double /EFI? shouldn't my ESP be mounted at /boot? [20:40] that xenial system used grub-pc originally [20:41] Sven_vB: is it partitioned using GPT? [20:41] 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] 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] calamari, good luck with U+1F69B articulated lorry, on my fonts it's usually 2.5 chars wide [20:44] 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] oh good idea, maybe once I add it grub will write the EFI files [20:44] huh, according to the live I'm running off of, I have bluetooth in here? [20:45] I didn't know I had that, and I've owned this laptop 3 years [20:45] hot keys/function keys are working too now that never have [20:45] CrazyLikeAFox: don't get too worked up over bluetooth [20:48] Is there a way to lock apps to a desktop workspace ? [20:48] 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] neat, it linked with my earbuds no issues [20:49] oceanquake: in 16.04 xubuntu, I always had an issue with a swap leak [20:50] 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] I just bit the bullet and went to 32 GB on current system. [20:50] CrazyLikeAFox: you mean killing and restarting ffox? [20:51] yeah [20:51] 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] does update-grub2 run update-initramfs or do I have to do that manually? [20:52] oceanquake: we'll see how it goes [20:53] based on how the liveUSB is working, I'd be better off doing a clean install, and just migrating my data over [20:53] like srs, hot keys have never worked on here before [20:54] anyone ? :p [20:55] jeremy31, I added it to the chroot's fstab and ran update-grub2 again, still no EFI files [20:55] Sven_vB: Did you also install grub-efi-amd64-signed? [20:56] jeremy31, nope, not explicitly. it might have been auto-installed. I'll install it. [20:58] Sven_vB: do a> sudo mount -a [20:58] see if the /boot/efi folder shows [20:59] jeremy31, should I mount my ESP into /boot or /boot/efi? [21:00] Sven_vB, /boot/efi [21:00] Sven_vB: /boot/efi [21:00] oh then maybe that's the problem [21:00] so for encrypted LVM boot I need an ESP *and* a boot partition next to my LVM container? [21:00] Sven_vB: my /etc/fstab shows this for the EFI # /boot/efi was on /dev/sda1 during installation [21:00] UUID=8342-16B0 /boot/efi vfat umask=0077 0 1 [21:01] Sven_vB: For encrypted LVM, I do not know [21:02] Sven_vB, yes [21:03] im pretty sure /boot/ and boot/efi can share partition doh. have not done it myself so cant speak for how to [21:05] as expected, without the EFI files, it can't boot. so I'll boot the live USB again and chroot again [21:07] 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] 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] jeremy31, the ESP was mounted in /media/ubuntu/ESP, and bind-mounted from there into /target/boot [21:08] nice, the empty password was accepted for ubuntu [21:11] Sven_vB: usually I do something like in https://gist.github.com/jeremyb31/07217d786dfd0afead022befd84b4999 [21:12] please do not display your "tip: use livepatch" for users whose distro's/architectures aren't applicable for it [21:12] 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] hmm, looks like it's a subscription service, checking the learn more webpage ... [21:21] sappheiros: What are you talking about and to whom are you speaking to? [21:22] jeremy31, ok now the chroot shows a mount entry "/dev/sda6 on /boot type vfat (rw,…" === stwalkerster is now known as Oresrian [21:22] I'll install the packages you said earlier [21:23] 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] 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] !bug [21:25] If you find a bug in Ubuntu or any of its official !flavors, please report it using the command « ubuntu-bug » - See https://help.ubuntu.com/community/ReportingBugs for other ways to report bugs. [21:27] 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] 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] oh ok it wants "en@quot" [21:31] okay, thanks. however, i don't think it's a bug so much as poor design. [21:31] 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] is it okay to file bugs over poor design? [21:32] i thought a bug was only a malfunction, i.e. software not functioning as advertised or intended [21:32] sappheiros: You could but someone might label as wishlist, not the end of the world [21:34] 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] 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] Therefore the out come of your action failed, therefor I believe you would perceive that as being a bug. No? [21:35] Sven_vB: efi directory should be /boot/fi not /boot [21:36] */boot/efi [21:37] EriC^^, but I mounted my ESP on /boot [21:38] oh maybe I need vfat drivers in my initrd [21:38] Sven_vB: hmm no [21:39] if grub gives a rescue shell, that means it can't find the stuff $prefix points to (pre-initrd stage) [21:39] maybe I specified the luks LVM target wrong [21:40] Sven_vB: do you have a separate /boot? [21:40] EriC^^, I try to use the ESP for that [21:40] Sven_vB: what about /boot though? the kernels and /boot/grub ? [21:40] I have the ESP next to my luks container [21:41] I'll check once the live session is ready again [21:41] 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] Sven_vB, if there is nothing to boot from nothing can decrypted.. so /boot needs to be outside the container [21:42] Sven_vB: alright, once the live usb is up, try to run "ls -l /mnt/boot" after mounting the efi dir there [21:43] you meant mount the ESP there? [21:43] yeah [21:43] Sven_vB: the partition table only has efi + luks, no other ext* ones? [21:44] oh yeah there are no kernels and initrds, that's strange [21:44] oooh I think I forgot to update-grub2 after install-grub [21:44] Sven_vB: nah, that wouldnt install any kernels [21:45] ok well in /mnt/boot I have EFI/ and grub/ [21:45] Mathisen, verified, I see those w/o having opened luks [21:46] Sven_vB: alright, so no other ext* partitions in "sudo parted -ls" output yeah? [21:47] 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] 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] Sven_vB: oh, interesting [21:47] Sven_vB: can you run "sudo parted -ls | nc termbin.com 9999" and paste the link it gives you here? [21:47] nope but I can make you a censored report :) [21:48] 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] classified? Sven_vB [21:48] jeremy31, yeah some parts are company secrets [21:48] EriC^^, do you need posisitions and sizes? [21:49] the sectors I mean [21:49] Sven_vB: censor out what you want and paste the rest [21:50] what possible information could be sensitive looking at partition info :) [21:53] Mathisen: It's what happens when you have non-technical people write up legal documents for employment agreements to hire employees [21:54] EriC^^, http://paste.debian.net/plainh/a67ab47a [21:55] oh I forgot to copy some lines, the top is the SSD with a GPT [21:56] Sven_vB: alright, try mounting the luks root partition under "/cdrom" [21:56] how to restrict the apps to the net is it possible using iptables? [21:57] 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] Sven_vB: then pastebin the contents of "ls -l /cdrom/boot" and "cat /cdrom/etc/fstab" [21:57] 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] chieta: No, it is not possible to block specific applications from making network connections via firewalls [21:58] EriC^^, in a chroot? because in the live session, /cdrom is aready used for /dev/sdb3 on /cdrom type vfat [21:58] EriC^^, I could mount it at /target as the installer probably would [21:58] chieta: maybe apparmor can get you what you want, no idea about it though [21:59] Sven_vB: sure why not [21:59] 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] 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] EriC^^, those are remains of the previous boot setup which was really DIY [22:01] Sven_vB: oh i see [22:02] /target/boot is empty. shall I bind-mount the ESP there? [22:04] 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] /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] actually, i don't know the which port used... how to check it out? [22:06] 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] pragmaticenigma no i don't want it === kostkon_ is now known as kostkon [22:07] 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] chieta: Don't want what? [22:08] 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] chieta, running this will list ports for you and name service/whatever using it sudo netstat -ltnp [22:09] chieta, that will need net-tools installed >> sudo apt update && sudo apt install net-tools [22:10] Sven_vB: ok, no worries then [22:10] Sven_vB: ok, so we have to prepare a chroot now to install stuff from there [22:11] Sven_vB: type "for i in /dev /proc /sys /run; do sudo mount -R $i /target$i; done" [22:11] I had for B in /proc /sys /run /dev /dev/pts; do sudo mount --bind $B /target$B; done for that :) [22:12] Sven_vB: ok, great :) [22:12] shall I mount the ESP from inside or bind-mount it as well? [22:12] 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] why is there no script as standard yet for ubuntu for chroot like arch-chroot so mutch work to do all that :) [22:13] "sudo mount --move /mnt/boot/ /target/boot" -> "mount: /target/boot: bad option; moving a mount residing under a shared mount is unsupported." [22:14] I'll just umount it and mount it from inside [22:14] Sven_vB: alright sounds good [22:14] ok I'm in the chroot [22:15] once you've chrooted, type "ls -l /target/boot" and just confirm there are no vmlinuz or initrd there already [22:15] i mean "ls -l /boot" [22:15] exactly, there's just EFI/ and grub/ even with additional -A [22:15] (after you mounted the efi) [22:15] alright [22:16] Sven_vB: let's first prepare grub so it knows what to do, type "nano /etc/default/grub" [22:17] Sven_vB: add the line "GRUB_ENABLE_CRYPTODISK=y" to the file, then save and exit [22:17] oh. I missed that one before. [22:18] ok [22:18] ah crap, my bad please remove it [22:18] my tutorial said I'd just need GRUB_CMDLINE_LINUX_DEFAULT="cryptopts=target=vg_luks,source=UUID=*****_******,lvm=vg_luks" [22:18] 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] 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] ok removed it [22:20] yeah for the way he did [22:20] but im maybe wrong here... maybe there is diffrent ways [22:20] however the double VG name there looks suspicious [22:20] Sven_vB: alright, type "apt-get install linux-generic" [22:21] […] linux-generic is already the newest version (4.4.0.156.164). […] [22:21] (the chroot is xenial) [22:21] Sven_vB: aha, type "apt-get install --reinstall linux-image-generic" [22:21] seems to have worked [22:22] ok, /boot should have the kernel and initrd now hopefully [22:22] nope, still as before [22:22] :O [22:22] maybe that's where the FAT32 downfalls come in? but in that case I'd expect an error message,. [22:22] how abt limiting all internet outgoing traffic to the specific group EriC^^ [22:22] where is the pragma* [22:22] that's odd, yeah [22:23] Sven_vB: hmm it doesn't make sense to me [22:23] I even re-ran update-grub2 , doesn't add those files either [22:24] maybe I should ask dpkg do remove the generic image first [22:24] Sven_vB: sudo update-grub should do the same [22:24] Sven_vB, sudo grub-mkconfig -o /boot/grub/grub.cfg [22:24] same thing.. but still double check :) [22:24] Is there an app to move files from an android device to your computer via usb? [22:25] Sven_vB: you could try 'apt-get remove linux-image-generic' then 'apt-get install linux-image-generic' i guess [22:25] oh I see update-grub found no linux partitions [22:25] Sven_vB: try "dpkg -l | grep linux-image" [22:26] does it show a kernel installed, with "ii" at the start? [22:26] Mathisen, same with your command [22:27] "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] oh I think I remember the version-less package is just an alias [22:28] I'll reinstall the explicit one [22:28] now initrds are generated :) [22:29] the ESP now has initrd.img-4.4.0-156-generic and vmlinuz-4.4.0-156-generic [22:29] great [22:29] Sven_vB: alright, try running "update-grub" it should pick some stuff up this time hopefully [22:30] let's check the grub CMDLINE before I reboot. should it really mention the vg name as target=? [22:31] EriC^^, I think the apt hooks did that, but can't hurt to do it again [22:31] Sven_vB: it looks like it should mention the name of the luks stuff, like sda5_crypt for instance [22:31] Sven_vB: yeah, you're right [22:32] and sda5_crypt in that example is the volume group name for the container in /dev/sda5? [22:32] because it also appears as lvm= [22:33] 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] what line are you 2 talking about now [22:33] Sven_vB: might as well run "grub-install" as well for the efi stuff [22:34] EriC^^, with the parameters from before? [22:34] Mathisen: GRUB_CMDLINE_LINUX_DEFAULT="cryptopts=target=vg_luks,source=UUID=*****_******,lvm=vg_luks" [22:35] Sven_vB: nope, just "grub-install" [22:35] salamanderrake: the standard file browser (nautilus) can do it if you have allowed it on the android device. [22:35] Sorry, I'm on XUbuntu. [22:35] 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] 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] salamanderrake: i guess it also works with thunar, you'll just need a way to mount mtp devices [22:36] EriC^^, it's the VG name. maybe the device mapper name and VG name just coincide. [22:36] Sven_vB, it should be enough to to change your line like this >> GRUB_CMDLINE_LINUX="cryptdevice=/dev/sd????:luks:allow-discards" [22:36] tomreyn: It keeps giving me access violation messages [22:36] 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] yes it has an "ubuntu" entry as Boot0003 [22:37] Sven_vB: oh ok [22:37] salamanderrake: worst case install adb on ubuntu, use it to connect to the device and to copy files [22:38] Mathisen, with your style, can it still use UUID=… instead of /dev/sd? [22:38] Sven_vB, i cant say sorry, i have not use UUID myself just the location [22:38] ok [22:39] is the discards option about TRIM? I think I read that earlier [22:39] 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] Sven_vB, correct [22:39] Sven_vB, it is a SSD thing.. im not 100% sure how it works i just know it needs to be there :) [22:39] 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] Mathisen, I read it's a security risk because it reveals behaviour info about your file system [22:40] that is over my head so you can be right [22:40] Sven_vB: typo, /boot/efi/ubuntu/grub.cfg [22:41] I'm feeling lucky so I'll just reboot and maybe check if it fails [22:42] alright :) [22:44] 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] or maybe reboot with the token disk in [22:45] I should make that grub menu font larger later [22:46] ah great [22:46] thanks for helping me with EFI! I'll now have to debug the token file spec, I'll read about that first. [22:48] that tutorial on oxygenimpaired.com has lvm=vg-your-root but I can't find "your-root" mentioned there anywhere else [22:48] Sven_vB: no problem [22:49] I'll try Mathisen's style [22:49] i think your way is more fancy with more specifics included thats all [22:50] yeah it doesn't work though. =) [22:50] I'll also try /dev/disk/by-uuid/ instead of UUID= [22:52] Sven_vB: maybe lvm=vg-your-root translates for you to /dev/vg_luks/fnord_ubuntu [22:52] i think that's lvm=vg_luks-fnord_ubuntu ? or something similar? [22:52] oh that might be [22:54] however, when I "ls /dev/mapper" in the initramfs shell, it just has "control" [22:56] also the token disk partition has not been mounted yet [22:56] I'll add a systemd unit for that [22:59] 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] it's specified in the crypttab [22:59] but how does it open crypttab? [23:00] i mean crypttab is in the encrypted luks [23:03] 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] it should not be needed really [23:03] some tutorials say I'd need ",keyscript=/lib/cryptsetup/scripts/passdev" as a luks option, I'll try that. [23:03] Sven_vB: or do you mean that it's in crypttab and the initrd would have it as well in that case? [23:04] i cant speak for ubuntu but adding encrypt and lvm2 to the mkinitcpio modules is enough + grub. [23:04] 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] 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] CrazyLikeAFox, That's why I love Linux. [23:40] uRock: firefox is saying 'feed me semour' about the reduced ram, but that's it's own thing :P [23:43] CrazyLikeAFox, Yeah, it is a ram hog.