19.2. Preparing for a Hard Drive Installation
19.2.1. Accessing Installation Phase 3 and the Package Repository on a Hard Drive
install.imgfile extracted from the ISO image. With these files present on a hard drive, you can choose as the installation source when you boot the installation program.
- an ISO image of the installation DVD. An ISO image is a file that contains an exact copy of the content of a DVD.
install.imgfile extracted from the ISO image.
- optionally, a
product.imgfile extracted from the ISO image.
- 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=/path_to_image/name_of_image.isowhere dvd is your DVD drive device, name_of_image is the name you give to the resulting ISO image file, and path_to_image is the path to the location on your system where the resulting ISO image will be stored.
- Transfer the ISO images to the DASD or SCSI device.The ISO files must be located on a hard drive that is activated in installation phase 1 (refer to Chapter 21, Installation Phase 1: Configuring a Network Device) or in installation phase 2 (refer to Chapter 22, Installation Phase 2: Configuring Language and Installation Source). This is automatically possible with DASDs.For an FCP LUN, you must either boot (IPL) from the same FCP LUN or use the rescue shell provided by the installation phase 1 menus to manually activate the FCP LUN holding the ISOs as described in Section 25.2.1, “Dynamically Activating an FCP LUN”.
- 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.isowhere 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 Downloads page in the Red Hat Customer Portal (refer to Chapter 1, Obtaining Red Hat Enterprise Linux). The two hashes should be identical.
- Copy the
images/directory from inside the ISO image to the same directory in which you stored the ISO image file itself. Enter the following commands:
mount -t iso9660 /path_to_image/name_of_image.iso /mount_point -o loop,ro
cp -pr /mount_point/images /publicly_available_directory/
path_to_imageis the path to the ISO image file,
name_of_imageis the name of the ISO image file, and
mount_pointis a mount point on which to mount the image while you copy files from the image. For example:
mount -t iso9660 /var/isos/RHEL6.iso /mnt/tmp -o loop,ro
cp -pr /mnt/tmp/images /var/isos/
umount /mnt/tmpThe ISO image file and an
images/directory are now present, side-by-side, in the same directory.
- Verify that the
images/directory contains at least the
install.imgfile, without which installation cannot proceed. Optionally, the
images/directory should contain the
product.imgfile, without which only the packages for a Minimal installation will be available during the package group selection stage (refer to Section 23.17, “Package Group Selection”).
product.imgmust be the only files in the
- Make the DASD or SCSI LUN accessible to the new z/VM guest virtual machine or LPAR, and then proceed with installation. (Refer to Chapter 20, Booting (IPL) the Installer) or alternatively with Section 126.96.36.199, “Preparing for Booting the Installer from a Hard Drive”.
mediacheckparameter to your parameter file (refer to Section 26.7, “Miscellaneous Parameters”).
188.8.131.52. Preparing for Booting the Installer from a Hard Drive
/mnt, and you do not need to preserve an existing boot record.
zipl -V -t /mnt/ -i /mnt/images/kernel.img -r /mnt/images/initrd.img -p /mnt/images/generic.prm