On Thu, Dec 9, 2021 at 3:13 AM Andrei Borzenkov <arvidjaar@gmail.com> wrote:
On 09.12.2021 01:17, Linux Kamarada wrote:
Hi, everyone!
I'm working on Linux Kamarada 15.3 (Leap-based Live image) and I found out that GRUB's "Boot from Hard Disk" does not work.
Your menu entry exits grub and returns to firmware. What happens after that is outside of control of your image.
Syslinux "Boot from hard disk" on BIOS menu explicitly loads first sector and jumps to it. On EFI it simply exits to firmware.
EFI grub attempts to locate known installed systems (openSUSE, SLES) and chainload their grub. If nothing found it simply exits to firmware.
So what happens on EFI is mostly outside of bootloader control.
Thank you for your explanation! As you can see, I was using a VirtualBox virtual machine to test my KIWI-generated Live ISO image. Today I used a flash drive with Ventoy to test my ISO image on my real machine and it showed a different behavior. When I tried "Boot from hard disk", it showed something very quickly and then went back to the GRUB menu. After trying a few times (three, I think) it finally booted from the hard disk. Maybe you are right: there is no problem with the bootloader, it is up to the firmware, and there is nothing we can do (as maintainers of Linux distros, be it openSUSE, or Linux Kamarada, or any other). Antonio The Linux Kamarada Project https://linuxkamarada.com/