Add ISOLINUX support and fix boot options in /install/boot.bat when

using loadlin.
This commit is contained in:
Christopher Lawrence 2002-04-09 01:39:43 +00:00
parent 5b892f4ae9
commit ceff16b166
13 changed files with 354 additions and 27 deletions

24
data/woody/f1.txt Normal file
View File

@ -0,0 +1,24 @@
0fHELP INDEX:07
Press the function keys <09F107> through <09F1007> for helpful information.
0fKEY TOPIC07
<09F107> This page, the help index.
<09F207> Prerequisites for installing this system.
<09F307> Boot methods for special ways of using this Rescue disk.
<09F407> Special boot arguments, overview.
<09F507> Special boot arguments for special machines.
<09F607> Special boot arguments for selected disk controllers.
<09F707> Special boot arguments for the install system.
<09F807> How to get help.
<09F907> Debian e-mail lists.
<09F1007> Copyrights and warranties.
Press <09ENTER07> or type boot method, arguments, and <09ENTER07> to boot.
Press any of <09F207> through <09F1007> for quick installation help.

23
data/woody/f10.txt Normal file
View File

@ -0,0 +1,23 @@
0fCOPYRIGHTS AND WARRANTIES07
Copyright (C) 1993-2002 Software in the Public Interest, and others.
The 09Debian GNU/Linux07 system is freely redistributable. You may find
a few programs distributed with Debian in directories named "non-free"
that are 0fnot07 freely redistributable, but none of these are critical
components of the system. After installation, the exact distribution
terms for each program are described in the corresponding file
/usr/share/doc/0bpackagename07/copyright.
Debian GNU/Linux comes with 0fABSOLUTELY NO WARRANTY07, to the extent
permitted by applicable law.
Press <09ENTER07> or type boot method, arguments, and <09ENTER07> to boot.
Press function key <09F107> for the help index.

24
data/woody/f2.txt Normal file
View File

@ -0,0 +1,24 @@
0fPREREQUISITES FOR INSTALLING THIS SYSTEM07
You must have at least twelve megabytes of RAM and swap space, or 14MB
if not using swap; there is no low memory boot disk any longer.
You should have space on your hard disk to create a new disk partition
of at least 64 megabytes and swap space to install the base system.
You'll need more disk space to install additional packages, depending
on what you wish to do with your new Debian system.
See the Installation Manual or the FAQ for more information; both
of these are also available at the Debian web site,
http://www.debian.org/ .
Press <09ENTER07> or type boot method, arguments, and <09ENTER07> to boot.
Press function key <09F107> for the help index.

24
data/woody/f3.txt Normal file
View File

@ -0,0 +1,24 @@
0fBOOT METHODS07
The Rescue disk can be used for system recovery as well as for installation.
The 0frescue07 method will mount an existing root partition, while the other
methods will give you a small, standalone root system.
0fAvailable boot methods:07
0flinux07 or 0fidepci07
Start the installation -- this is the default.
0fbf2407
Start the installation with a Linux 2.4 kernel.
0fcompact07
Start the installation with a kernel including PCI SCSI and IDE drivers.
0fvanilla07
Start the installation with a kernel including many drivers for
older hardware (such as systems with ISA-based hardware).
0frescue07
Boot and mount any root filesystem. The root filesystem must be given at
the prompt, so e.g., type 0frescue root=/dev/hda107. (You can also use
0frescbf2407, 0fresccomp07, or 0frescvanl07.)
Press <09ENTER07> or type boot method, arguments, and <09ENTER07> to boot.
Press function key <09F107> for the help index.

24
data/woody/f4.txt Normal file
View File

@ -0,0 +1,24 @@
0fSPECIAL BOOT ARGUMENTS - OVERVIEW07
On a few systems, you may need to specify a parameter at the 0fboot:07
prompt in order to boot the system. For example, Linux may not be able
to "autodetect" your hardware, and you will need to explicitly specify
its location or type for it to be recognized. The table below
indicates whether you need a parameter. If you do, enter the 0fboot
method07 followed by the parameter from the table. For example, if your
3.5 inch floppy drive is your second drive, and your first drive is a
5.25 inch one, you would type "0flinux root=/dev/fd107" at the 0fboot:07
prompt. Some of the arguments require numerical parameters which are
shown in 0bcyan07. By default, these are interpreted as decimal. If you use
hex numbers you have to add a 0x prefix (e.g., 0x300).
For more information about what boot arguments you can use, press:
<09F507> -- boot arguments for special machines
<09F607> -- boot arguments for various disk controllers
<09F707> -- boot arguments understood by the install system
Press <09ENTER07> or type boot method, arguments, and <09ENTER07> to boot.
Press function key <09F107> for the help index.

24
data/woody/f5.txt Normal file
View File

@ -0,0 +1,24 @@
0fSPECIAL BOOT ARGUMENTS - VARIOUS HARDWARE07
You can use the following boot arguments at the 0fboot:07 prompt,
in combination with the boot method (see <09F307>).
If you use hex numbers you have to use the 0x prefix (e.g., 0x300).
0fHARDWARE PARAMETER TO SPECIFY07
Monochrome monitor 0fmono07
Disable framebuffer for monitor 0fvideo=vga16:off07
IBM PS/1 or ValuePoint (IDE disk) 0fhd=0bcylinders0f,0bheads0f,0bsectors07
IBM ThinkPad 0ffloppy=thinkpad07
IBM Pentium Microchannel 0fmca-pentium no-hlt07
Protect I/O port regions 0freserve=0biobase0f,0bextent07[0f,0b...07]
Workaround faulty FPU (old machines) 0fno38707
Advanced Power Management 0fapm=on07
0fEthernet:07
Some ethernet and proprietary CD-ROM drivers are loaded as modules.
For such drivers, give parameters for them during the installation
process, not at boot. See the Installation Manual for details.
Press <09ENTER07> or type boot method, arguments, and <09ENTER07> to boot.
Press function key <09F107> for the help index.

24
data/woody/f6.txt Normal file
View File

@ -0,0 +1,24 @@
0fSPECIAL BOOT ARGUMENTS - VARIOUS DISK DRIVES07
You can use the following boot arguments at the 0fboot:07 prompt,
in combination with the boot method (see <09F307>).
0fHARDWARE PARAMETER TO SPECIFY07
Adaptec 151x, 152x 0faha152x=0biobase07[0f,0birq07[0f,0bscsi-id07[0f,0breconnect07]]]
Adaptec 1542 0faha1542=0biobase07[0f,0bbuson0f,0bbusoff07[0f,0bdmaspeed07]]
Adaptec 274x, 284x 0faic7xxx=no_reset07 (enabled if non-zero)
USB keyboard (floppy boot) 0fkeytimer07 (keep root floppy ready)
BusLogic SCSI Hosts 0fbuslogic=0biobase07
Certain DELL machines 0faic7xxx=no_probe07
Future Domain TMC-8xx/950 0ftmc8xx=0bmem_base0f,0birq07
NCR-based SCSI controller 0fsym53c8xx=safe:y07
Pro Audio Spectrum 0fpas16=0biobase0f,0birq07
PS/2 ESDI (MCA) 0fed=0bcyl0f,0bhead0f,0bsec07
Seagate ST-0x 0fst0x=0bmem_base0f,0birq07
Trantor T128 0ft128=0bmem_base0f,0birq07
If your system hangs when booting, and the last message you see is
"aec671x-detect..", try 0fgdth=disable:y07
Press <09ENTER07> or type boot method, arguments, and <09ENTER07> to boot.
Press function key <09F107> for the help index.

24
data/woody/f7.txt Normal file
View File

@ -0,0 +1,24 @@
0fSPECIAL BOOT ARGUMENTS - INSTALLATION SYSTEM07
You can use the following boot arguments at the 0fboot:07 prompt,
in combination with the boot method (see <09F307>).
If you use hex numbers you have to use the 0x prefix (e.g., 0x300).
These arguments are used by the installation system to specify
how the installation system should be run.
0fARGUMENT MEANING07
0fquiet07 Quiet mode; fewer prompts
0fverbose07 Verbose mode; more prompts
0fdebug07 Debugging mode; look at tty3 for messages.
0fbootkbd07 Set the keyboard translation to use, e.g.,
0fbootkbd=qwerty/us07
Press <09ENTER07> or type boot method, arguments, and <09ENTER07> to boot.
Press function key <09F107> for the help index.

24
data/woody/f8.txt Normal file
View File

@ -0,0 +1,24 @@
0fGETTING HELP07
If you can't install the system, don't despair! The Debian team is ready to
help you! We are especially interested in hearing about installation problems,
because in general they don't happen to only 0fone07 person. We've either already
heard about your particular problem and can dispense a quick fix, or we would
like to hear about it and work through it with you, and the next user who
comes up with the same problem will profit from your experience!
If you encounter a problem it will fall into one of two areas: the
base system installation, which ends when you start selecting packages
to install; or the installation of packages from the Debian distribution.
Problems with installation of the base system should be addressed to
the Debian Boot Team at 0fdebian-boot@lists.debian.org07. Problems
installing packages should be directed to 0fdebian-user@lists.debian.org07.
In either case your message should contain a detailed explanation of
your problem, including the text of any system error messages that you
think might be relevant to the problem. Press function key <09F907> for
more detailed information about these and other Debian e-mail lists.
Press <09ENTER07> or type boot method, arguments, and <09ENTER07> to boot.
Press function key <09F107> for the help index.

24
data/woody/f9.txt Normal file
View File

@ -0,0 +1,24 @@
0fDEBIAN E-MAIL LISTS07
If you have WWW access, you might want to first look at our Web page
0fhttp://www.debian.org/07, follow the link labeled 0fMailing List
Subscription07 to see an overview of the 80+ lists associated with The
Debian Project. A convenient subscription form is available on the
0fMailing List Subscription07 web page.
If you know the name of list you are interested in, you can subscribe manually
by sending an e-mail message to 0fdebian-<listname>-REQUEST@lists.debian.org07
containing the word "0fsubscribe07". Communication with other subscribers to
the list is through the 0fdebian-<listname>@lists.debian.org07 e-mail address.
Where <listname> is replaced with the name of the e-mail list of interest.
For example, if you wish to report a problem or need help with installation
of Debian packages: send the word "0fsubscribe07" in a message to
0fdebian-user-REQUEST@lists.debian.org07; then send a detailed explanation
of your problem to 0fdebian-user@lists.debian.org07. Your message will be
read by hundreds of Debian users, and someone will be sure to help.
Press <09ENTER07> or type boot method, arguments, and <09ENTER07> to boot.
Press function key <09F107> for the help index.

23
data/woody/isolinux.txt Normal file
View File

@ -0,0 +1,23 @@
0fWelcome to 0bDebian GNU/Linux 3.00f!07
This is a Debian CD-ROM. Keep it available once you have installed
your system, as you can boot from it to repair the system on your hard
disk if that ever becomes necessary (press <09F307> for details).
For a "safe" installation with kernel 2.2.20, you can press <09ENTER07> to begin.
If you want additional features like modern hardware support, specify a
different boot flavor at the boot prompt (press <09F307> to get an overview).
If you run into trouble or if you already have questions, press <09F107>
for quick installation help.
0fWARNING07: You should completely back up all of your hard disks before
proceeding. The installation procedure can completely and 0cirreversibly07
erase them! If you haven't made backups yet, remove the CD-ROM
from the drive and press <09RESET07> or <09Control-Alt-Del07> to get back to
your old system.
0bDebian GNU/Linux07 comes with 0fABSOLUTELY NO WARRANTY07, to the extent
permitted by applicable law. For copyright information, press <09F1007>.
Press <09F107> for help, or <09ENTER07> to boot.

11
debian/changelog vendored
View File

@ -22,8 +22,13 @@ debian-cd (2.2.14) unstable; urgency=low
disk sizes in build.sh and build_all.sh, and use the textutils
version of md5sum to avoid missing large file support in dpkg
version. Specify the output image sizes in CONF.sh
* Added ISOLINUX code (export ISOLINUX=yes in CONF.sh); this provides a
"rescue floppy like" boot screen that allows choosing between kernel
images, rather than loading the rescue disks directly from the boot
sector.
* Removed obsolete local-variables section from changelog.
-- Raphael Hertzog <hertzog@debian.org> Sat, 6 Apr 2002 10:26:42 +0200
-- Raphael Hertzog <hertzog@debian.org> Mon, 8 Apr 2002 20:37:41 -0500
debian-cd (2.2.13) unstable; urgency=low
@ -520,7 +525,3 @@ debian-cd (0.1.0) unstable; urgency=low
* Initial Release.
-- Bruce Perens <bruce@debian.org> Fri, 18 Apr 1997 22:20:51 -0700
Local variables:
mode: debian-changelog
End:

View File

@ -50,15 +50,26 @@ KTYPE[8]=""
# Show user what is going on.
#
THISTYPE=${KTYPE[$NN]}
echo "Using ${THISTYPE:-vanilla} boot-disks image on CD$N"
# Put boot images on CD1...CD(N)
#
:> $N.mkisofs_opts
mkdir -p boot$N/boot
cp -f CD1/dists/$CODENAME/main/disks-$ARCH/current/images-2.88/${THISTYPE}/rescue.bin boot$N/boot/
echo -n "-J -b boot/rescue.bin " > $N.mkisofs_opts
if [ "$ISOLINUX" = "yes" ] && [ "$NN" = "1" ]; then
echo "Using ISOLINUX boot-disks image on CD$N"
mkdir -p boot$N/isolinux
cp -f /usr/lib/syslinux/isolinux.bin boot$N/isolinux/
cp -lf CD1/dists/$CODENAME/main/disks-$ARCH/current/images-1.44/root.bin boot$N/isolinux/
cp -lf CD1/dists/$CODENAME/main/disks-$ARCH/current/images-1.44/bf2.4/root.bin boot$N/isolinux/bf24.bin
cp -lf CD1/dists/$CODENAME/main/disks-$ARCH/current/images-1.44/compact/root.bin boot$N/isolinux/compact.bin
cp -lf CD1/dists/$CODENAME/main/disks-$ARCH/current/images-1.44/idepci/root.bin boot$N/isolinux/idepci.bin
echo -n "-cache-inodes -J -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table " > $N.mkisofs_opts
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/
echo -n "-cache-inodes -J -b boot/rescue.bin " > $N.mkisofs_opts
fi
install_languages $CDDIR
@ -75,7 +86,7 @@ if [ "$N" = "1" ] || [ "$N" = "1_NONUS" ] ; then
# Setup all boot-disk images (currently 4)
if [ "$MULTIBOOT" = "yes" ] ; then
if [ "$MULTIBOOT" = "yes" ] && [ ! "$ISOLINUX" = "yes" ]; then
echo "Adding additional boot images to CD1"
for i in 2 3 4 ; do
@ -95,17 +106,66 @@ fi
# populate the install directory as well
(cd $CDDIR/dists/$CODENAME/main/disks-$ARCH/current/ ; \
cp -f images-1.44/resc*.bin $CDDIR/install ; \
cp -f linux.bin $CDDIR/install/linux ; \
cp -f compact/linux.bin $CDDIR/install/lincompt ; \
cp -f idepci/linux.bin $CDDIR/install/linpci ; \
cp -f bf2.4/linux.bin $CDDIR/install/lin24 ; \
cp -f images-1.44/root.bin $CDDIR/install )
cp -lf images-1.44/resc*.bin $CDDIR/install ; \
cp -lf linux.bin $CDDIR/install/linux ; \
cp -lf compact/linux.bin $CDDIR/install/lincompt ; \
cp -lf idepci/linux.bin $CDDIR/install/linpci ; \
cp -lf bf2.4/linux.bin $CDDIR/install/lin24 ; \
cp -lf images-1.44/root.bin $CDDIR/install ; \
cp -lf images-1.44/bf2.4/root.bin $CDDIR/install/bf24.bin; \
cp -lf images-1.44/compact/root.bin $CDDIR/install/compact.bin; \
cp -lf images-1.44/idepci/root.bin $CDDIR/install/idepci.bin)
# Tools for disc 1
# and include the legacy DOS stuff
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
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
LABEL vanilla
kernel /install/linux
append root=/dev/ram ro initrd=root.bin
LABEL bf24
kernel /install/lin24
append root=/dev/ram ro initrd=bf24.bin flavor=bf2.4
LABEL rescue
kernel /install/linpci
append noinitrd
LABEL resccomp
kernel /install/lincompt
append noinitrd
LABEL rescvanl
kernel /install/linux
append noinitrd
LABEL rescbf24
kernel /install/lin24
append noinitrd
DISPLAY isolinux.txt
TIMEOUT 0
PROMPT 1
F1 f1.txt
F2 f2.txt
F3 f3.txt
F4 f4.txt
F5 f5.txt
F6 f6.txt
F7 f7.txt
F8 f8.txt
F9 f9.txt
F0 f10.txt
EOF
fi
cp -f $CDDIR/dists/$CODENAME/main/disks-$ARCH/current/dosutils/* $CDDIR/install/
(echo "Tools for DOS :" ; \
@ -121,10 +181,10 @@ you can safely ignore that.
smartdrv /c
echo Please choose a linux kernel now
echo 1= IDEPCI kernel (2.2)
echo 2= compact kernel (2.2)
echo 3= 2.4.x kernel (2.4)
echo 4= standard kernel (2.2)
echo 1= IDEPCI kernel (2.2)
echo 2= compact (SCSI) kernel (2.2)
echo 3= 2.4.x kernel (2.4)
echo 4= vanilla (standard) kernel (2.2)
choice /c:1234
if errorlevel 4 goto FOUR
@ -137,19 +197,19 @@ goto ONE
:ONE
echo using IDEPCI kernel
loadlin.exe linpci root=/dev/ram ro initrd=root.bin cdrom
loadlin.exe linpci root=/dev/ram ro initrd=root.bin flavor=idepci
:TWO
echo using compact kernel
loadlin.exe lincompt root=/dev/ram ro initrd=root.bin cdrom
echo using compact (SCSI) kernel
loadlin.exe lincompt root=/dev/ram ro initrd=compact.bin flavor=compact
:THREE
echo using 2.4.x kernel
loadlin.exe lin24 root=/dev/ram ro initrd=root.bin cdrom
loadlin.exe lin24 root=/dev/ram ro initrd=bf24.bin flavor=bf2.4
:FOUR
echo using standard kernel
loadlin.exe linux root=/dev/ram ro initrd=root.bin cdrom
echo using standard (vanilla) kernel
loadlin.exe linux root=/dev/ram ro initrd=root.bin
EOF
) |todos > $CDDIR/install/boot.bat
@ -159,7 +219,11 @@ fi
# write final lines to mkisofs_opts
echo -n "-c boot/boot.catalog boot$N " >> $N.mkisofs_opts
if [ "$ISOLINUX" = "yes" ] && [ "$NN" = "1" ]; then
echo -n "boot$N" >> $N.mkisofs_opts
else
echo -n "-c boot/boot.catalog boot$N " >> $N.mkisofs_opts
fi
# th,th, thats all