How to extract a Red Hat Enterprise Linux ISO/DVD
Environment
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
Issue
- How to extract the contents of the RHEL installation DVD?
Resolution
NOTE: The RHEL9.2 DVD available on Customer Portal cannot be extracted with external utilities such as 7z.
Using the procedure below is known to always work.
-
Mount the DVD iso file:
# mount -o loop /<PATH>/<TO>/<ISO-FILE>.iso /mnt -
Create the target directory to store the extracted files:
# mkdir -p /<PATH>/<TO>/<TARGET> -
Use the
tartool to safely copy the content to the target directory:# tar cf - -C /mnt . | tar xf - -C /<PATH>/<TO>/<TARGET> -
Unmount the DVD iso file:
# umount /mnt
SBR
Product(s)
Components
Category
Tags
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.