Originally posted by GreyGeek
View Post
Code:
[FONT=monospace][COLOR=#54FF54][B]stuart@office[/B][/COLOR][COLOR=#000000]:[/COLOR][COLOR=#5454FF][B]~[/B][/COLOR][COLOR=#000000]$ ll /subvol/@grub/boot/[/COLOR] total 548 drwxr-xr-x 1 root root 112 Apr 27 14:43 [COLOR=#5454FF][B].[/B][/COLOR][COLOR=#000000]/[/COLOR] drwxr-xr-x 1 root root 8 Apr 27 14:42 [COLOR=#5454FF][B]..[/B][/COLOR][COLOR=#000000]/[/COLOR] drwxr-xr-x 1 root root 120 Apr 27 14:34 [COLOR=#5454FF][B]grub[/B][/COLOR][COLOR=#000000]/[/COLOR] -rw-r--r-- 1 root root 182704 Jan 28 2016 memtest86+.bin -rw-r--r-- 1 root root 184380 Jan 28 2016 memtest86+.elf -rw-r--r-- 1 root root 184840 Jan 28 2016 memtest86+_multiboot.bin [COLOR=#54FF54][B]stuart@office[/B][/COLOR][COLOR=#000000]:[/COLOR][COLOR=#5454FF][B]~[/B][/COLOR][COLOR=#000000]$ ll /subvol/@grub/boot/grub/[/COLOR] total 2356 drwxr-xr-x 1 root root 120 Apr 27 14:34 [COLOR=#5454FF][B].[/B][/COLOR][COLOR=#000000]/[/COLOR] drwxr-xr-x 1 root root 112 Apr 27 14:43 [COLOR=#5454FF][B]..[/B][/COLOR][COLOR=#000000]/[/COLOR] drwxr-xr-x 1 root root 22 Apr 27 13:41 [COLOR=#5454FF][B]fonts[/B][/COLOR][COLOR=#000000]/[/COLOR] -rw-r--r-- 1 root root 712 Apr 26 14:26 gfxblacklist.txt -rw-r--r-- 1 root root 3844 Apr 27 14:34 grub.cfg -rw-r--r-- 1 root root 1024 Apr 27 13:17 grubenv drwxr-xr-x 1 root root 6228 Apr 27 13:47 [COLOR=#5454FF][B]i386-pc[/B][/COLOR][COLOR=#000000]/[/COLOR] drwxr-xr-x 1 root root 68 Apr 27 13:47 [COLOR=#5454FF][B]locale[/B][/COLOR][COLOR=#000000]/[/COLOR] -rw-r--r-- 1 root root 2397557 Apr 26 14:25 unicode.pf2 [/FONT]
Originally posted by GreyGeek
View Post
Originally posted by GreyGeek
View Post
To explain: When I boot, I initally see my custom grub menu that looks like this:
Code:
KDE Neon KDE Neon - new Kubuntu 18.04 Kubuntu 16.04 Ubuntu 16.04 Manjaro free Manjaro nonfree Memory test (memtest86+) Memory test (memtest86+, serial console 115200) KDEneon ISO'
Code:
menuentry 'Kubuntu 18.04' { insmod part_gpt insmod btrfs search --no-floppy --fs-uuid --set=root 8f0c1661-4e84-4512-b875-23bcfd5be1d8 configfile /@Kubuntu_1804/boot/grub/grub.cfg }
Again: the advantage with this is the custom menu is (mostly) set-it-and-forget-it. I only have to edit it when I add or remove a distro. Each distro, since they all have their own grubs and grub.cfgs, maintain their own grub.cfgs just like they would in a stand-alone installation. Kernel changes are not an issue. Also, since grub is stand-alone, no one distro can muck it up.
A few weeks back when my KDEneon was having trouble booting and I need to roll-back to a snapshot, I just booted to Manjaro, did the roll-back, and rebooted. Done in less than a minute.
Originally posted by GreyGeek
View Post
As to booting my new Kubuntu 18.04 install; When I installed Kubuntu 18.04 without a bootloader, update-grub did not run. Therefore there was no grub.cfg in the Kubuntu 18.04 to select from my custom grub.cfg and boot from. I had to manually boot it by entering the proper commands to boot it into grub. This was much less difficult than it sounds. Since all my distros reside on the same file system, they have the same UUID. All I had to do was select KDEneon in my first grub menu (the custom one), when the second grub menu (from the grub.cfg in KDEneon) appeared, I pressed the "E" key to enter the grub editor. Then I edited these two lines (the last in the menuentry):
Code:
linux /[B]@KDEneon[/B]/boot/vmlinuz-[B]4.15.0-15[/B]-generic root=UUID=8f0c1661-4e84-4512-b875-23bcfd5be1d8 ro rootflags=subvol=[B]@KDEneon [/B] quiet splash $vt_handoff initrd /[B]@KDEneon[/B]/boot/initrd.img-[B]4.15.0-15[/B]-generic
Code:
linux /[B]@Kubuntu_18.04[/B]/boot/vmlinuz-[B]4.15.0-20[/B]-generic root=UUID=8f0c1661-4e84-4512-b875-23bcfd5be1d8 ro rootflags=subvol=[B]@Kubuntu_1804[/B] initrd /[B]@Kubuntu_18.04[/B]/initrd.img-[B]4.15.0-20[/B]-generic
Once I had successfully booted into @Kubuntu 18.04, I ran update-grub and created a grub.cfg. Then I mounted @grub at /mnt/grub, edited /mnt/grub/boot/grub/grub.cfg (my custom grub.cfg) and added a menuentry for Kubuntu 18.04. Now it boots just like the other six distros.
Comment