mirror of
https://github.com/jiazhang0/meta-secure-core.git
synced 2026-05-07 10:09:22 +00:00
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:
@@ -5,9 +5,11 @@
|
|||||||
menuentry "Sample EFI boot" --unrestricted {
|
menuentry "Sample EFI boot" --unrestricted {
|
||||||
savedefault
|
savedefault
|
||||||
set fallback=1
|
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 {
|
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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user