https://bugzilla.novell.com/show_bug.cgi?id=848902
https://bugzilla.novell.com/show_bug.cgi?id=848902#c20
--- Comment #20 from Michael Chang 2013-12-12 10:41:12 UTC ---
I'm testing this config and it seems to work for me, although it looks quite
scary.
menuentry "Boot from Hard Disk" --class opensuse --class os {
if regexp -s disknum "^hd([0-9]+)" "$root"; then
if [ x"$disknum" = x0 ]; then
use_hd1=true
fi
fi
if [ x"$use_hd1" = xtrue ]; then
hint="--hint=hd1,"
else
hint="--hint=hd0,"
fi
if [ x"$grub_cpu" = xx86_64 ]; then
default_loader="/efi/boot/bootx64.efi"
elif [ x"$grub_cpu" = xi386 ]; then
default_loader="/efi/boot/bootia32.efi"
else
default_loader="/efi/boot/bootx64.efi"
fi
search --file --set=boot_hd_dev $hint $default_loader
if [ -n "$boot_hd_dev" ]; then
echo "Booting HardDisk $boot_hd_dev"
set root="$boot_hd_dev"
chainloader "($root)$default_loader"
else
echo "No Bootable HardDisk"
fi
}
--
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.