summaryrefslogtreecommitdiffstats
path: root/scripts/mk-images.i386
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>2000-11-20 15:42:13 +0000
committerErik Troan <ewt@redhat.com>2000-11-20 15:42:13 +0000
commitad9e83615c97a33f99269f0974ef5cd95573c776 (patch)
treee658c3cc22ea4a70f270d65f39f91d4bd965d34d /scripts/mk-images.i386
parente14f40a463a425ce17978c41f15743e9c75690a7 (diff)
downloadanaconda-ad9e83615c97a33f99269f0974ef5cd95573c776.tar.gz
anaconda-ad9e83615c97a33f99269f0974ef5cd95573c776.tar.xz
anaconda-ad9e83615c97a33f99269f0974ef5cd95573c776.zip
made cd boot image 2.88 MB
Diffstat (limited to 'scripts/mk-images.i386')
-rw-r--r--scripts/mk-images.i38613
1 files changed, 11 insertions, 2 deletions
diff --git a/scripts/mk-images.i386 b/scripts/mk-images.i386
index 6c3b05be2..a7813bf2c 100644
--- a/scripts/mk-images.i386
+++ b/scripts/mk-images.i386
@@ -7,8 +7,7 @@ fi
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
+ mkdosfs -C $MBD_TMPIMAGE $BOOTDISKSIZE >/dev/null
$SYSLINUX $MBD_TMPIMAGE
mount -o loop -t msdos $MBD_TMPIMAGE $MBD_BOOTTREE
@@ -151,6 +150,16 @@ makedriverdisk "Supplemental Drivers" "drivers" "+scsi +net +cdrom"
makedriverdisk "Parallel port IDE Drivers" "paride" "parport_pc parport pcd paride aten bpck comm dstr epat fit2 fit3 friq frpw kbic ktti on20 on26 epia ppa imm"
+makeinitrd --initrdto $TOPDESTPATH/dosutils/autoboot/initrd.img \
+ --initrdsize 4100 \
+ --loaderbin loader-local \
+ --modules "$COMMONMODULES =scsi"
+
+makebootdisk --kernelto $TOPDESTPATH/dosutils/autoboot/vmlinuz \
+ --bootdisksize 2880 \
+ --imagename ../dosutils/autoboot/cdboot.img \
+ --initrd $TOPDESTPATH/dosutils/autoboot/initrd.img
+
makemainmodules "=scsi =net $SECSTAGE"
makeinstimage --size1 3100 --size2 4096 "netstg" "=scsi $SECSTAGE"