Creating Boot Disks
Most Pentium-I systems are able to boot directly from a CD-ROM. This simplifies
installation because you just put in the CD, set the hardware BIOS settings to 'boot
from CD', and the installation process starts.
On older machines, all '386s and nearly all '486s, you have to create a floppy disk
from the installation CD. To do this you need a 'boot image' file. Conveniently these
are around 1.44 megabytes (the same size as a floppy disk) in size. Usually the d
istribution has a file such as 'README' or 'BOOTING' to tell you which disk image to
use.
When you locate the right disk image you need a program to create the floppy disk. But
first, you must format the floppy disk for use with MS-DOS. The reason for this is
that if there is just one bad block on the floppy disk, this process will not work.
The floppy must be absolutely perfect before writing the boot floppy data to it. Also
beware other unforeseen problems such as using Windows 2000 or XP
to make boot disks. These don't use pure MS-DOS file systems and so sometimes boot
disk creation fails.
If you are using Windows you need a program called RAWRITE usually supplied
with the Linux distribution. Copy the program and the disk image to the Windows C:
drive and from the MS-DOS prompt enter the command
C:> rawrite a: bootdisk.img
This instructs Windows to write the image file 'bootdisk.img' to floppy drive
a:.
From Linux, you need to use the dd command. This transfers the image file from the
CD to the floppy. You needn't mount the floppy disk to do this. So, assuming that
the path to your CD drive is '/cdrom', you would issue a command like
dd if=/cdrom/boot/disk.img
of=/dev/fd0
This copies the image file from (if=)
the CD (using whatever the correct path/file name is) to the
(of=) floppy drive
(/dev/fd0).
You can then test the boot disk by booting a machine with it. You may have to use
this process more than once since some distributions have more than one boot disk
(some require additional disks for kernel modules, like PCMCIA support on laptops).
When you have booted your machine with the floppy disk, installation with the
CD-ROM drive should proceed as normal.
Note that there are other options too. Using boot floppies you can initiate an
installation over a local network (an 'NFS install') using the CD drive on another
machine. This is useful when installing onto a machine that has no CD drive. However,
it's a little more technical because you must 'export' a CD (or better still DVD
because only one disk is required) drive from a working Linux machine. It is also
much slower. For those who have the ability to set up SLIP or PPP via a serial port,
it's even possible to instal via a serial port, although this will take many hours
to complete!
| |