grub/boot-menu.inc: use linux and initrd commands instead of chainloader to boot kernel

Since bzImage is not signed during the build.

Signed-off-by: Lans Zhang <jia.zhang@windriver.com>
This commit is contained in:
Lans Zhang
2017-07-27 16:19:40 +08:00
parent 71fc35c506
commit afdac6c3ca
@@ -5,9 +5,11 @@
menuentry "Sample EFI boot" --unrestricted {
savedefault
set fallback=1
chainloader /bzImage root=/dev/sda2 ro rootwait initrd=/initrd
linux /bzImage root=/dev/sda2 ro rootwait
initrd /initrd
}
menuentry "Sample EFI boot (Recovery)" --unrestricted {
chainloader /bzImage_bakup root=/dev/sda2 ro rootwait initrd=/initrd_bakup
linux /bzImage_bakup root=/dev/sda2 ro rootwait
initrd /initrd_bakup
}