First, yes, "the last GRUB installed" controls the booting. Frustrating. But you can always boot back into your controlling GRUB OS and issue grub-install and update-grub, which I know you know.
Side note: I keep refind installed just for fun, for a backup, and in case I have to help someone else with it. But, if it gets an update, then it takes over BootOrder #1 (in efibootmgr listing). So, I either leave it that way or change back to my regular OS GRUB by one of two ways: (1) Use efibootmgr to change the ordering; or (2) Boot into the OS and do grub-install and update-grub.
OK, so back to the subject:
In my how-to, I describe 5 ways to dual boot. It is this how-to:
UEFI Simplified, a quicker version
https://www.kubuntuforums.net/showth...l=1#post379977
and the 5-ways described there:
5 methods for dual booting:
#1, #2, #3, do nothing special:
(1) Use rEFInd. (2) Use GRUB2-EFI. (3) Use the UEFI firmware.
Or, try #4 or #5:
(4) Ubuntu-based OSs: set up separate subdirectories of EFI: /boot/efi/EFI/<some_ubuntu_distribution>
Set up the dual-boot: Both LinuxX and LinuxY are Ubuntu derivatives, using the same ESP.
Disable Secure Boot in firmware. Install LinuxX, boot into it, then:
Code:
sudo grub-install --bootloader-id=<some_name_for_LinuxX> --no-uefi-secure-boot Repeat with LinuxY. Optional: adjust BootOrder and generate new boot menus.
(5) Separate ESPs:
GParted: set up the ESPs and the OS partitions you need, give each ESP a label you will recognize. Install each OS, in sequence, with this procedure: Turn off all ESPs (turn off their boot flags) except for the ESP you wish to be used by the OS you are about to install now. Install the OS using the Manual installation method. Repeat for each OS. Then turn on all ESPs (re-set their boot flags in GParted).
#1, #2, #3, do nothing special:
(1) Use rEFInd. (2) Use GRUB2-EFI. (3) Use the UEFI firmware.
Or, try #4 or #5:
(4) Ubuntu-based OSs: set up separate subdirectories of EFI: /boot/efi/EFI/<some_ubuntu_distribution>
Set up the dual-boot: Both LinuxX and LinuxY are Ubuntu derivatives, using the same ESP.
Disable Secure Boot in firmware. Install LinuxX, boot into it, then:
Code:
sudo grub-install --bootloader-id=<some_name_for_LinuxX> --no-uefi-secure-boot Repeat with LinuxY. Optional: adjust BootOrder and generate new boot menus.
(5) Separate ESPs:
GParted: set up the ESPs and the OS partitions you need, give each ESP a label you will recognize. Install each OS, in sequence, with this procedure: Turn off all ESPs (turn off their boot flags) except for the ESP you wish to be used by the OS you are about to install now. Install the OS using the Manual installation method. Repeat for each OS. Then turn on all ESPs (re-set their boot flags in GParted).
df /boot/efi
and it will show you the sdxn of the ESP that is mounted at /boot/efi for THAT specific OS (that you have booted into).
Leave a comment: