Product SiteDocumentation Site

12.2. Preparing for a Hard Drive Installation

Note — Not all file systems supported

Hard drive installations only work from ext2, ext3, ext4, or FAT file systems. You cannot use a hard drives formatted for any other file system as an installation source for Red Hat Enterprise Linux.
To check the file system of a hard drive partition on a Windows operating system, use the Disk Management tool. To check the file system of a hard drive partition on a Linux operating system, use the fdisk tool.

Cannot Install from LVM Partitions

You cannot use ISO files on partitions controlled by LVM (Logical Volume Management).
Use this option to install Red Hat Enterprise Linux on systems without a DVD drive or network connection.
Hard drive installations use the following files:
With these files present on a hard drive, you can choose Hard drive as the installation source when you boot the installation program (refer to Section 15.3, “Installation Method”).
Ensure that you have boot media available on CD, DVD, or a USB storage device such as a flash drive.
To prepare a hard drive as an installation source, follow these steps:
  1. Obtain an ISO image of the Red Hat Enterprise Linux installation DVD (refer to Chapter 1, Obtaining Red Hat Enterprise Linux). Alternatively, if you have the DVD on physical media, you can create an image of it with the following command on a Linux system:
    dd if=/dev/dvd of=/location/of/disk/space/RHEL6.iso
    where dvd refers to your DVD drive device.
  2. Transfer the ISO image to the hard drive.
    The ISO image must be located on a hard drive that is either internal to the computer on which you will install Red Hat Enterprise Linux, or on a hard drive that is attached to that computer by USB.
  3. Use a SHA256 checksum program to verify that the ISO image that you copied is intact. Many SHA256 checksum programs are available for various operating systems. On a Linux system, run:
    $ sha256sum name_of_image.iso
    where name_of_image is the name of the ISO image file. The SHA256 checksum program displays a string of 64 characters called a hash. Compare this hash to the hash displayed for this particular image on the Download Software page on the Red Hat Network (refer to Chapter 1, Obtaining Red Hat Enterprise Linux). The two hashes should be identical.
  4. Copy the images/ directory within the ISO file to a directory named images/. Enter the following commands:
      mount -t iso9660 /path/to/RHEL6.iso /mnt/point -o loop,ro
      cp -pr /mnt/point/images /path/images/
      umount /mnt/point
  5. Verify that the the images/ directory contains at least the install.img file, without which installation cannot proceed. Optionally, the images/ directory should contain the product.img file, without which only the packages for a Minimal installation will be available during the package group selection stage (refer to Section 9.17, “Package Group Selection”).

Note

The Red Hat Enterprise Linux installation program has the ability to test the integrity of the installation media. It works with the DVD, hard drive ISO, and NFS ISO installation methods. We recommend that you test all installation media before starting the installation process, and before reporting any installation-related bugs (many of the bugs reported are actually due to improperly-burned DVDs). To use this test, type the following command at the boot: prompt:
linux mediacheck