aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/x86-2.6/image/gen_image.sh
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2007-01-02 19:38:52 +0000
committerNicolas Thill <nico@openwrt.org>2007-01-02 19:38:52 +0000
commit3d3f4f45ab2d2cd1271b02bd7cbd27b35f3f0cb4 (patch)
tree0095cf3e855e7709638a4ab65ad9d4f6a6dd9858 /target/linux/x86-2.6/image/gen_image.sh
parent6396c634c8ccec6e9f286871f23eebb1e15b1680 (diff)
downloadmaster-187ad058-3d3f4f45ab2d2cd1271b02bd7cbd27b35f3f0cb4.tar.gz
master-187ad058-3d3f4f45ab2d2cd1271b02bd7cbd27b35f3f0cb4.tar.bz2
master-187ad058-3d3f4f45ab2d2cd1271b02bd7cbd27b35f3f0cb4.zip
tweak grub install in x86 ext2 images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5970 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/x86-2.6/image/gen_image.sh')
-rwxr-xr-xtarget/linux/x86-2.6/image/gen_image.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/x86-2.6/image/gen_image.sh b/target/linux/x86-2.6/image/gen_image.sh
index 795a46b710..314d7314fd 100755
--- a/target/linux/x86-2.6/image/gen_image.sh
+++ b/target/linux/x86-2.6/image/gen_image.sh
@@ -32,10 +32,11 @@ dd if="$ROOTFSIMAGE" of="$OUTPUT" bs=512 seek="$ROOTFSOFFSET" conv=notrunc
#rm -f "$OUTPUT.kernel"
which chpax >/dev/null && chpax -zp $(which grub)
-grub --device-map=/dev/null <<EOF
+grub --batch --no-curses --no-floppy --device-map=/dev/null <<EOF
device (hd0) $OUTPUT
geometry (hd0) $cyl $head $sect
root (hd0,0)
setup (hd0)
+quit
EOF