4
Chapter 1. Steps to Get You Started
1.4.2. Making Installation Diskettes
You may need to create a diskette from an
image file
; for example, you may need to use
updated diskette images obtained from the Red Hat Enterprise Linux ES errata page
(http://www.redhat.com/apps/support/errata) or you may need to create a boot disk.
An image file contains an exact copy (or image) of a diskette’s contents. Since a diskette contains
filesystem information in addition to the data contained in files, the image file is not usable until it has
been written to a diskette.
To start, you will need a blank, formatted, high-density (1.44MB), 3.5-inch diskette. You will need
access to a computer with a 3.5-inch diskette drive. The computer must be able to run either an MS-
DOS program or the
dd
utility found on most Linux-like operating systems.
The
images
directory on your Red Hat Enterprise Linux ES CD-ROM contains the boot images.
Once you have selected the proper image (such as
boot.img
for a CD-ROM-based installation or
bootnet.img
for a network installation), transfer the image file onto a diskette.
1.4.2.1. Using the
rawrite
Utility
To make a diskette using MS-DOS, use the
rawrite
utility included on the Red Hat Enterprise Linux
ES CD-ROM in the
dosutils
directory. First, label a blank, formatted 3.5-inch diskette appropriately
(such as "Boot Disk" or "Updates Disk"). Insert it into the diskette drive. Then, use the following
commands (assuming your CD-ROM is drive
d:
):
C:\
d:
D:\
cd \dosutils
D:\dosutils
rawrite
Enter disk image source file name:
..\images\boot.img
Enter target diskette drive:
a:
Please insert a formatted diskette into drive A: and
press --ENTER-- :
[Enter]
D:\dosutils
First,
rawrite
asks you for the filename of a diskette image; enter the directory and name of the
image you wish to write (for example,
..\images\boot.img
). Then
rawrite
asks for a diskette
drive to write the image to; enter
a:
. Finally,
rawrite
asks for confirmation that a formatted diskette
is in the drive you have selected. After pressing [Enter] to confirm,
rawrite
copies the image file
onto the diskette. If you need to make another diskette, label that diskette, and run
rawrite
again,
specifying the appropriate image file.
1.4.2.2. Using the
dd
Command
To make a diskette under Linux (or any other Linux-like operating system), you must have permission
to write to the device representing a 3.5-inch diskette drive (known as
/dev/fd0
under Linux).
First, label a blank, formatted diskette appropriately (such as "Boot Disk" or "Updates Disk"). Insert
it into the diskette drive (but do not issue a
mount
5
command). After mounting the Red Hat Enterprise
Linux ES CD-ROM, change to the directory containing the desired image file, and use the following
command (changing the name of the image file and diskette device as appropriate):
#
dd if=boot.img of=/dev/fd0 bs=1440k
To make another diskette, label that diskette, and run
dd
again, specifying the appropriate image file.
5. When you mount a floppy or CD-ROM, you make that device’s contents available to you. See the
Official
Red Hat Linux Getting Started Guide
for more information.
Содержание LINUX ES 2.1 -
Страница 1: ...Red Hat Enterprise Linux ES 2 1 Red Hat Enterprise Linux ES Installation Guide...
Страница 10: ......
Страница 18: ...8 Chapter 1 Steps to Get You Started...
Страница 72: ......
Страница 74: ...64 Appendix A Removing Red Hat Enterprise Linux ES...
Страница 86: ...76 Appendix C Troubleshooting Your Installation of Red Hat Enterprise Linux ES...
Страница 102: ...92 Appendix D An Introduction to Disk Partitions...
Страница 110: ......