From 209010ddd92996b7f6730324ec79b7035b9efb71 Mon Sep 17 00:00:00 2001 From: "Ycarus (Yannick Chabanois)" Date: Fri, 11 Nov 2022 11:15:00 +0100 Subject: [PATCH] Search for the kernel FS on all disk. From coolsnowwolf repo --- root/target/linux/x86/image/grub-efi.cfg | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 root/target/linux/x86/image/grub-efi.cfg diff --git a/root/target/linux/x86/image/grub-efi.cfg b/root/target/linux/x86/image/grub-efi.cfg new file mode 100644 index 00000000..bbb31f77 --- /dev/null +++ b/root/target/linux/x86/image/grub-efi.cfg @@ -0,0 +1,13 @@ +@SERIAL_CONFIG@ +@TERMINAL_CONFIG@ + +set default="0" +set timeout="@TIMEOUT@" +search -l kernel -s root + +menuentry "@TITLE@" { + linux /boot/vmlinuz @GPT_ROOTPART@ @CMDLINE@ noinitrd +} +menuentry "@TITLE@ (failsafe)" { + linux /boot/vmlinuz failsafe=true @GPT_ROOTPART@ @CMDLINE@ noinitrd +}