Add ramdisk_size and disksize arguments to loadlin and isolinux

command lines.
This commit is contained in:
Christopher Lawrence 2002-04-09 22:38:16 +00:00
parent b535871449
commit 82c4005825
1 changed files with 10 additions and 10 deletions

View File

@ -67,7 +67,7 @@ if [ "$ISOLINUX" = "yes" ] && [ "$NN" = "1" ]; then
else else
echo "Using ${THISTYPE:-vanilla} boot-disks image on CD$N" echo "Using ${THISTYPE:-vanilla} boot-disks image on CD$N"
mkdir -p boot$N/boot mkdir -p boot$N/boot
cp -f CD1/dists/$CODENAME/main/disks-$ARCH/current/images-2.88/${THISTYPE}/rescue.bin boot$N/boot/ cp -lf CD1/dists/$CODENAME/main/disks-$ARCH/current/images-2.88/${THISTYPE}/rescue.bin boot$N/boot/
echo -n "-cache-inodes -J -b boot/rescue.bin " > $N.mkisofs_opts echo -n "-cache-inodes -J -b boot/rescue.bin " > $N.mkisofs_opts
fi fi
@ -124,20 +124,20 @@ if [ "$ISOLINUX" = "yes" ]; then
cp -f $BASEDIR/data/woody/isolinux.txt $BASEDIR/data/woody/f*.txt boot$N/isolinux/ cp -f $BASEDIR/data/woody/isolinux.txt $BASEDIR/data/woody/f*.txt boot$N/isolinux/
cat > boot$N/isolinux/isolinux.cfg <<EOF cat > boot$N/isolinux/isolinux.cfg <<EOF
DEFAULT /install/linpci DEFAULT /install/linpci
APPEND root=/dev/ram ro initrd=idepci.bin flavor=idepci APPEND root=/dev/ram ro initrd=idepci.bin ramdisk_size=16384 disksize=1.44 flavor=idepci
LABEL linux LABEL linux
kernel /install/linpci kernel /install/linpci
LABEL idepci LABEL idepci
kernel /install/linpci kernel /install/linpci
LABEL compact LABEL compact
kernel /install/lincompt kernel /install/lincompt
append root=/dev/ram ro initrd=compact.bin flavor=compact append root=/dev/ram ro initrd=compact.bin ramdisk_size=16384 disksize=1.44 flavor=compact
LABEL vanilla LABEL vanilla
kernel /install/linux kernel /install/linux
append root=/dev/ram ro initrd=root.bin append root=/dev/ram ro initrd=root.bin ramdisk_size=16384 disksize=1.44
LABEL bf24 LABEL bf24
kernel /install/lin24 kernel /install/lin24
append root=/dev/ram ro initrd=bf24.bin flavor=bf2.4 append root=/dev/ram ro initrd=bf24.bin ramdisk_size=16384 disksize=1.44 flavor=bf2.4
LABEL rescue LABEL rescue
kernel /install/linpci kernel /install/linpci
append noinitrd append noinitrd
@ -197,19 +197,19 @@ goto ONE
:ONE :ONE
echo using IDEPCI kernel echo using IDEPCI kernel
loadlin.exe linpci root=/dev/ram ro initrd=root.bin flavor=idepci loadlin.exe linpci root=/dev/ram ro initrd=root.bin ramdisk_size=16384 flavor=idepci
:TWO :TWO
echo using compact (SCSI) kernel echo using compact (SCSI) kernel
loadlin.exe lincompt root=/dev/ram ro initrd=compact.bin flavor=compact loadlin.exe lincompt root=/dev/ram ro initrd=compact.bin ramdisk_size=16384 flavor=compact
:THREE :THREE
echo using 2.4.x kernel echo using 2.4.x kernel
loadlin.exe lin24 root=/dev/ram ro initrd=bf24.bin flavor=bf2.4 loadlin.exe lin24 root=/dev/ram ro initrd=bf24.bin ramdisk_size=16384 flavor=bf2.4
:FOUR :FOUR
echo using standard (vanilla) kernel echo using standard (vanilla) kernel
loadlin.exe linux root=/dev/ram ro initrd=root.bin loadlin.exe linux root=/dev/ram ro initrd=root.bin ramdisk_size=16384
EOF EOF
) |todos > $CDDIR/install/boot.bat ) |todos > $CDDIR/install/boot.bat
@ -220,7 +220,7 @@ fi
# write final lines to mkisofs_opts # write final lines to mkisofs_opts
if [ "$ISOLINUX" = "yes" ] && [ "$NN" = "1" ]; then if [ "$ISOLINUX" = "yes" ] && [ "$NN" = "1" ]; then
echo -n "boot$N" >> $N.mkisofs_opts echo -n "boot$N " >> $N.mkisofs_opts
else else
echo -n "-c boot/boot.catalog boot$N " >> $N.mkisofs_opts echo -n "-c boot/boot.catalog boot$N " >> $N.mkisofs_opts
fi fi