Linux Know-How provides a collection of introductory texts on often needed Linux skills. |
Home Newbie Guide Before Linux Installation Install floppy | ||
See also: Starting the installation, Accessing drives/partitions, Operating MS Windows and Linux in Parallel | ||
Search the VIAS Library | Index | ||
Install floppyIf your computer can boot from the CD drive (older computers cannot), you don't need a boot diskette to install Linux. Have a look at your BIOS setup; the boot sequence can often be set up there (the default is often floppy followed by hard drive). My computer has the CD drive specified as the first boot device in the BIOS yet still cannot boot from the CD drive. So the BIOS setup does not necessary reflect the capability of your machine. If you can boot from the CD drive, just insert the RedHat CD into the CD drive and reboot the computer to enter the RedHat Linux installation program.
If your computer cannot boot from the CD drive, make an install boot diskette from under DOS or the MS Windows DOS mode. (You have go to to "Shutdown" and "Restart in MS-DOS mode", not just run a DOS window). It is important that you have a perfectly good floppy (without even one bad cluster). The program that makes the diskette does not check if the floppy was written properly. Also, don't count on the DOS FORMAT utility finding a faulty floppy--it probably won't. If I were you, I would make two or three boot floppies at once--you may be surprised how many diskettes have problems. For me, the third floppy worked! If your install diskette does not boot, make another one--it definitely should boot. Here are the commands. To make the boot floppy run: F:\dosutils\rawrite.exe -f F:\images\boot.img -d a: -n To make the supplemental (optional) diskette run: F:\dosutils\rawrite.exe -f F:\images\supp.img -d a: -n This assumes your CDROM is the DOS "F:" drive, and your floppy is "A:", adjust the commands if the drive letters are different on your system. The commands above run the utility "rawrite" and specify the input file ("disk image", after the option "-f") and the destination drive (after the option "-d"), and suppresses the prompt to insert a floppy (option "-n"). You may find it easier to run rawrite without any argument--it will interactively prompt you for the input image (pick the file name as in the commands above) and the destination drive letter. From under Linux, you can make a boot floppy as follows. If the floppy needs low-level formatting, you can format it under Linux using: fdformat /dev/fd0H1440 Mount the RedHat CDROM: mount /mnt/cdrom cd /mnt/cdrom/images/ Write the floppy image to the floppy: dd if=boot.img of=/dev/fd0 [The ``dd'' command copies files. The above command specifies that the input file ("if") is ``boot.img'' and the output file ("of") is /dev/fd0, which is the first floppy drive, i.e. the floppy drive number zero (if you want to write to your second floppy drive, use /dev/fd1). ] To verify that the disk image was written to the floppy correctly, you can use one of the following four ways: [1st way] cmp boot.img /dev/fd0 [2nd way] diff boot.img /dev/fd0 [3rd way] md5sum boot.img md5sum /dev/fd0 [compare if the two returned md5 checksums are identical] [4th way] sum boot.img sum /dev/fd0 [compare if the two returned sums are identical]
|
||
Home Newbie Guide Before Linux Installation Install floppy |