diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-09-22 20:10:42 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-09-22 20:10:42 +0000 |
commit | b043edb3d5e37d178e2c07da3d38ec3320b7e683 (patch) | |
tree | 422b06e50a14aa871883343d7f6aedef560864bd /target/linux/x86/image/grub.cfg | |
parent | 57d951f7a0a2c2b956e65ec341444a08d9d92690 (diff) | |
download | upstream-b043edb3d5e37d178e2c07da3d38ec3320b7e683.tar.gz upstream-b043edb3d5e37d178e2c07da3d38ec3320b7e683.tar.bz2 upstream-b043edb3d5e37d178e2c07da3d38ec3320b7e683.zip |
x86: add support for building grub2 images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33513 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/x86/image/grub.cfg')
-rw-r--r-- | target/linux/x86/image/grub.cfg | 13 |
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 +} |