diff options
author | Nicolas Thill <nico@openwrt.org> | 2007-01-02 19:38:52 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2007-01-02 19:38:52 +0000 |
commit | e0f251d25fd47ebf8849365a82f44f0bcca1164b (patch) | |
tree | dda618f2c80091c26daef07127f8ee400a4f616b | |
parent | 6a3be09b045732ec4b51634e4ecced20c5b8df34 (diff) | |
download | upstream-e0f251d25fd47ebf8849365a82f44f0bcca1164b.tar.gz upstream-e0f251d25fd47ebf8849365a82f44f0bcca1164b.tar.bz2 upstream-e0f251d25fd47ebf8849365a82f44f0bcca1164b.zip |
tweak grub install in x86 ext2 images
SVN-Revision: 5970
-rwxr-xr-x | target/linux/x86-2.6/image/gen_image.sh | 3 |
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 |