On Wed, 15 May 2019 17:57:11 -0400 Felix Miata <mrmazda@earthlink.net> wrote:
Stephen Berman composed on 2019-05-15 21:29 (UTC+0200):
The output of efibootmgr when CSM is enabled in the BIOS is different from the output when CSM is disabled (i.e. UEFI only). Originally, and when I installed TW, CSM was enabled, but in preparation for reinstallation using pure EFI I disabled it, and this is what efibootmgr now outputs:
BootCurrent: 0000 Timeout: 1 seconds BootOrder: 0000 Boot0000* opensuse
Unless you change Leap's GRUB_DISTRIBUTOR= first, you'll still have only one opensuse entry after reinstalling TW in UEFI mode.
I changed Leap's GRUB_DISTRIBUTOR to 'osleap', ran grub2-mkconfig as the comment in /etc/default/grub recommends, then rebooted, and the boot screen showed 'osleap' instead of 'openSUSE Leap 15.0' and also 'openSUSE Tumbleweed'. I booted into TW... [...]
Having the ESP partition mounted to /boot/efi/ in fstab I find it hard to understand that there would be any need to reinstall to ensure TW is only used in UEFI mode. If it was here, first thing I would try is changing TW's GRUB_DISTRIBUTOR= to something unique, then running yast bootloader, changing the timeout, exiting, and rebooting, all assuming in your TW you see the following:
# rpm -qa | egrep -i 'grub|prober' grub2-2.02-43.1.x86_64 grub2-i386-pc-2.02-43.1.noarch grub2-x86_64-efi-2.02-43.1.noarch os-prober-1.76-5.1.x86_64 ruby2.6-rubygem-cfa_grub2-1.0.1-1.3.x86_64
I have this output, so I changed GRUB_DISTRIBUTOR to 'ostw', went to the YaST bootloader module, changed the bootloader from GRUB2 to GRUB2 for EFI, but on saving got an error that no EFI partition was found. So I added /boot/efi to TW's fstab, went back to the bootloader module, and this time saved without error. However, doing that rewrote /etc/default/grub and unset GRUB_DISTRIBUTOR again. Nevertheless, /boot/grub2/grub.cfg showed both TW and Leap (in that order). Then I rebooted into Leap, where GRUB_DISTRIBUTOR was still set to 'osleap', ran the bootloader module, changed GRUB2 to GRUB2 for EFI, saved, and again this unset GRUB_DISTRIBUTOR, but again, on rebooting, both Leap and TW were listed (now in that order). I was assuming that, when booting in UEFI, GRUB2 for EFI should be used instead of GRUB2, but perhaps that's not necessary. What do you use? On Wed, 15 May 2019 18:36:58 -0400 Felix Miata <mrmazda@earthlink.net> wrote:
Carlos E. R. composed on 2019-05-15 21:56 (UTC+0200):
The same EFI partition can be mounted in as many operating systems you install. It should have different directories inside for each.
It /should/, but don't count on it, unless you are exercising oversight of GRUB_DISTRIBUTOR= on each (making each unique).
As described above, this didn't work for me, and no separate directories were created (where should they be, under /boot/efi ?); did I do something wrong? Do the directories need to be created manually? Also, although "Use graphical console" is checked in the Kernel Parameters tab of the bootloader module (and GRUB_TERMINAL="gfxterm" is in /etc/default/grub in both Leap and TW), the boot screen is in textmode. Other than that, I haven't noticed any problems. Steve Berman -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org