aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/x86/image/grub.cfg
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-09-22 20:10:42 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-09-22 20:10:42 +0000
commit52e8ee06668020ccbc5a94859e7bd5ed61cf98ec (patch)
tree75e81f6d49c3c1fb3aee2f77bf9160b575e4bbf6 /target/linux/x86/image/grub.cfg
parentcc13232904bdc7a01f897e6cbcbd2c2721b0af5c (diff)
downloadupstream-52e8ee06668020ccbc5a94859e7bd5ed61cf98ec.tar.gz
upstream-52e8ee06668020ccbc5a94859e7bd5ed61cf98ec.tar.bz2
upstream-52e8ee06668020ccbc5a94859e7bd5ed61cf98ec.zip
x86: add support for building grub2 images
SVN-Revision: 33513
Diffstat (limited to 'target/linux/x86/image/grub.cfg')
-rw-r--r--target/linux/x86/image/grub.cfg13
1 files changed, 13 insertions, 0 deletions
diff --git a/target/linux/x86/image/grub.cfg b/target/linux/x86/image/grub.cfg
new file mode 100644
index 0000000000..4e55dcfa61
--- /dev/null
+++ b/target/linux/x86/image/grub.cfg
@@ -0,0 +1,13 @@
+@SERIAL_CONFIG@
+@TERMINAL_CONFIG@
+
+set default="0"
+set timeout="@TIMEOUT@"
+set root='(hd0,msdos1)'
+
+menuentry "OpenWrt" {
+ linux /boot/vmlinuz @CMDLINE@ noinitrd reboot=bios
+}
+menuentry "OpenWrt (failsafe)" {
+ linux /boot/vmlinuz failsafe=true @CMDLINE@ noinitrd reboot=bios
+}