Mailinglist Archive: opensuse-bugs (5295 mails)

< Previous Next >
[Bug 848902] Live USB KDE 64 bits. GRUB option 'boot from Hard Disk' fails. OpenSUSE option starts OK

https://bugzilla.novell.com/show_bug.cgi?id=848902

https://bugzilla.novell.com/show_bug.cgi?id=848902#c18


--- Comment #18 from Michael Chang <mchang@xxxxxxxx> 2013-11-28 07:54:01 UTC ---
(In reply to comment #17)

Changing this entry to:
set root='hd1,1'
chainloader /EFI/BOOT/bootx64.efi
booted from the PC's hard disk in my case but I don´t know if it´s the cleaner
solution or there is a better way.

Not only the disk, but also the EFI System Partition could vary. I'm afraid
things can't be done easily by "static" config anymore.

Some of my thoughts.

1. We offer static "Reboot into firmware setup menu." in grub2 menu to use
firmware's boot manager to boot to any other OS. But this requires UEFI
firmware to support "OsIndications" variable which is not common.

2. Search any other disk's default efi loader, for example like this

next_disk=hd1
search --set=next_disk_efi_part --file --hint-efi="$next_disk"
/EFI/BOOT/bootx64.efi
chainloader "${next_disk_efi_part}/EFI/BOOT/bootx64.efi"

The problem here is how grub2 in defining "next disk" exactly in it's device
naming.

3. Import all boot variables from boot manager and menu entries are dynamically
presented these variables and using chainloader, but that would require most
work as read/write efi vars are not be able to do as command.

--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
< Previous Next >
References