aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/x86/image/grub-efi.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/x86/image/grub-efi.cfg')
-rw-r--r--target/linux/x86/image/grub-efi.cfg13
1 files changed, 13 insertions, 0 deletions
diff --git a/target/linux/x86/image/grub-efi.cfg b/target/linux/x86/image/grub-efi.cfg
new file mode 100644
index 0000000000..14d30e88e4
--- /dev/null
+++ b/target/linux/x86/image/grub-efi.cfg
@@ -0,0 +1,13 @@
+@SERIAL_CONFIG@
+@TERMINAL_CONFIG@
+
+set default="0"
+set timeout="@TIMEOUT@"
+set root='(hd0,gpt1)'
+
+menuentry "@TITLE@" {
+ linux /boot/vmlinuz @GPT_ROOTPART@ @CMDLINE@ noinitrd
+}
+menuentry "@TITLE@ (failsafe)" {
+ linux /boot/vmlinuz failsafe=true @GPT_ROOTPART@ @CMDLINE@ noinitrd
+}