cackerso
April 13th, 2018, 07:23 PM
I got a new hard drive. I set up the system as UEFI only and partitioned the drive accordingly. I created a partition for Windows 10 and installed it.I set up partitions for Kubuntu 16.04 and Ubuntu 17.04. I installed them. Everything went fine. I had no problems booting, GRUB came up with all three OS's and I could boot into all three. At some point Kubuntu and Ubuntu upgraded their respective kernels. The updater ran "update-grub". I had no problems and things continued to boot just fine.
It's clear from from the boot order in the GRUB boot screen that the grub configuration file for boot came from the Ubuntu installation, the one I installed last. My question is can I use some version of "grub-install" to switch the boot loader to use the Kubuntu installation configuration file? I assume the installers ran some version of this when the installed the OS. My /boot/efi partition is sda2. So will running "grub-install /dev/sda" from Kubuntu do what I'm looking to do or do I run "grub-install /dev/sda2", or something else ? Someone suggested I run" sudo grub-install from the Kubuntu install. I did and it made the Ubuntu install unbootable. When I re-installed it everything worked OK again. I know I can just edit the etc/default/grub file to change which OS boots first but it would be useful at some point to be able change which configuration file the boot file uses.
Just a note, when I boot Kubuntu now a couple of lines appear during the boot.
Couldn't get size: 0x800000000000000e
MODSIGN: Couldn't get UEFI db list
Couldn't get size: 0x800000000000000e
Then it boots fine. What do the lines mean? Is there something I should fix?
It's clear from from the boot order in the GRUB boot screen that the grub configuration file for boot came from the Ubuntu installation, the one I installed last. My question is can I use some version of "grub-install" to switch the boot loader to use the Kubuntu installation configuration file? I assume the installers ran some version of this when the installed the OS. My /boot/efi partition is sda2. So will running "grub-install /dev/sda" from Kubuntu do what I'm looking to do or do I run "grub-install /dev/sda2", or something else ? Someone suggested I run" sudo grub-install from the Kubuntu install. I did and it made the Ubuntu install unbootable. When I re-installed it everything worked OK again. I know I can just edit the etc/default/grub file to change which OS boots first but it would be useful at some point to be able change which configuration file the boot file uses.
Just a note, when I boot Kubuntu now a couple of lines appear during the boot.
Couldn't get size: 0x800000000000000e
MODSIGN: Couldn't get UEFI db list
Couldn't get size: 0x800000000000000e
Then it boots fine. What do the lines mean? Is there something I should fix?