16.4. Preparing for a Network Installation

Note

Make sure an installation CD (or any other type of CD) is not in your hosting partition's drive if you are performing a network-based installation. Having a CD in the drive may cause unexpected errors.

The Red Hat Enterprise Linux installation media must be available for either a network installation (via NFS, FTP, or HTTP) or installation via local storage. Use the following steps if you are performing an NFS, FTP, or HTTP installation.

The NFS, FTP, or HTTP server to be used for installation over the network must be a separate machine which can provide the complete contents of the installation DVD-ROM or the installation CD-ROMs.

Note

In the following examples, the directory on the installation staging server that will contain the installation files will be specified as /location/of/disk/space. The directory that will be made publicly available via FTP, NFS, or HTTP will be specified as /export/directory. For example, /location/of/disk/space may be a directory you create called /var/isos. /export/directory might be /var/www/html/rhel5, for an HTTP install.

To copy the files from the installation DVD or CD-ROMs to a Linux machine which acts as an installation staging server, perform the following steps:

  • Create an iso image from the installation disk(s) using the following command:

    • For DVD:

      dd if=/dev/dvd of=/location/of/disk/space/RHEL5.iso

      where dvd refers to your DVD drive device.

    • For CD-ROMs:

      dd if=/dev/cdrom of=/location/of/disk/space/diskX.iso

      where cdrom refers to your CD drive device, and X is the number of the disk that you are copying, beginning with 1 for the first disk, and so on.