summaryrefslogtreecommitdiffstats
path: root/scripts/mk-images.i386
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-06-02 20:08:00 +0000
committerMatt Wilson <msw@redhat.com>2000-06-02 20:08:00 +0000
commite4a0b59a8a269f02a26bb795977a143cde8f61f3 (patch)
tree20626217432051088750b93014cb5b0f2fa4241d /scripts/mk-images.i386
parent5555b4b71c8d5cad626ccf71d7485d1782ee0b83 (diff)
downloadanaconda-e4a0b59a8a269f02a26bb795977a143cde8f61f3.tar.gz
anaconda-e4a0b59a8a269f02a26bb795977a143cde8f61f3.tar.xz
anaconda-e4a0b59a8a269f02a26bb795977a143cde8f61f3.zip
dd the zero'd filesystem into place
Diffstat (limited to 'scripts/mk-images.i386')
-rw-r--r--scripts/mk-images.i3861
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/mk-images.i386 b/scripts/mk-images.i386
index cb21f2a32..9d8a48c5b 100644
--- a/scripts/mk-images.i386
+++ b/scripts/mk-images.i386
@@ -8,6 +8,7 @@ fi
SECSTAGE="vfat raid0 raid1 raid5"
prepareBootImage() {
+ dd if=/dev/zero bs=1k count=$BOOTDISKSIZE of=/$MBD_TMPIMAGE 2>/dev/null
gunzip < $BOOTDISKDIR/template.img.gz |
dd of=$MBD_TMPIMAGE conv=notrunc > /dev/null 2> /dev/null
$SYSLINUX $MBD_TMPIMAGE