Add ramdisk_size and disksize arguments to loadlin and isolinux
command lines.
This commit is contained in:
parent
b535871449
commit
82c4005825
|
@ -67,7 +67,7 @@ if [ "$ISOLINUX" = "yes" ] && [ "$NN" = "1" ]; then
|
|||
else
|
||||
echo "Using ${THISTYPE:-vanilla} boot-disks image on CD$N"
|
||||
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
|
||||
fi
|
||||
|
||||
|
@ -124,20 +124,20 @@ if [ "$ISOLINUX" = "yes" ]; then
|
|||
cp -f $BASEDIR/data/woody/isolinux.txt $BASEDIR/data/woody/f*.txt boot$N/isolinux/
|
||||
cat > boot$N/isolinux/isolinux.cfg <<EOF
|
||||
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
|
||||
kernel /install/linpci
|
||||
LABEL idepci
|
||||
kernel /install/linpci
|
||||
LABEL compact
|
||||
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
|
||||
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
|
||||
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
|
||||
kernel /install/linpci
|
||||
append noinitrd
|
||||
|
@ -197,19 +197,19 @@ goto ONE
|
|||
|
||||
:ONE
|
||||
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
|
||||
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
|
||||
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
|
||||
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
|
||||
) |todos > $CDDIR/install/boot.bat
|
||||
|
@ -220,7 +220,7 @@ fi
|
|||
|
||||
# write final lines to mkisofs_opts
|
||||
if [ "$ISOLINUX" = "yes" ] && [ "$NN" = "1" ]; then
|
||||
echo -n "boot$N" >> $N.mkisofs_opts
|
||||
echo -n "boot$N " >> $N.mkisofs_opts
|
||||
else
|
||||
echo -n "-c boot/boot.catalog boot$N " >> $N.mkisofs_opts
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue