2.3. Extracting Red Hat Enterprise Linux boot images
You can extract the contents of a boot image.
Procedure
-
Ensure that the directory
/mnt/isoexists and nothing is currently mounted there. Mount the downloaded image.
# mount -t iso9660 -o loop path/to/image.iso /mnt/isoWhere path/to/image.iso is the path to the downloaded boot image.
Create a working directory where you want to place the contents of the ISO image.
$ mkdir /tmp/ISOCopy all contents of the mounted image to your new working directory. Make sure to use the
-poption to preserve file and directory permissions and ownership.# cp -pRf /mnt/iso /tmp/ISOUnmount the image.
# umount /mnt/iso