projects
/
openwrt
/
staging
/
robimarko.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a3be09
)
tweak grub install in x86 ext2 images
author
Nicolas Thill
<nico@openwrt.org>
Tue, 2 Jan 2007 19:38:52 +0000
(19:38 +0000)
committer
Nicolas Thill
<nico@openwrt.org>
Tue, 2 Jan 2007 19:38:52 +0000
(19:38 +0000)
SVN-Revision: 5970
target/linux/x86-2.6/image/gen_image.sh
patch
|
blob
|
history
diff --git
a/target/linux/x86-2.6/image/gen_image.sh
b/target/linux/x86-2.6/image/gen_image.sh
index 795a46b710bc2f53bab28a084ef65c335889d2a9..314d7314fd9ef86e4c7ac09b87650a56798a1760 100755
(executable)
--- 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