Mounting an ISO Image as a File System
August 04, 2023 —
Gregg Szumowski
If you need to get one or more files from an ISO image and don’t have a CD/DVD drive you can mount the ISO image to a directory and navigate to the file(s) you need using a terminal or file explorer. You’ll have to do this as root.
# mkdir /mnt/iso
# mount -o loop -t iso9660 /home/user/Downloads/Custom-Build/custom.iso /mnt/iso
mount: /mnt/iso: WARNING: source write-protected, mounted read-only.
# cd /mnt/iso/
# ls
DateBuilt System/ boot/ boot.catalog efi.img initrd linux mach_kernel slint.txt
#
When you’re done just unmount the location:
# umount /mnt/iso/
#