How to extract iso images to the hard disk?
I have some ISO images and would like to extract them to a hard-disk. They are not OS images, I think they are music or audio books, I Don't know until they are extracted. Thanks
Solution 1:
If you are comfortable with the command line you can make use of the loop-back device.
All you'll need is an empty folder, so either use an existing one or create an new one:
mkdir test_folder
then run:
sudo mount -o loop,ro -t iso9660 filename.iso test_folder
If you are not sure about the filesystem type of the .iso, your system might be able to auto-detect it. This works on Ubuntu 18.04 with the Ubuntu installation ISOs for example:
sudo mount filename.iso test_folder
Now you can just cd test_folder
or just ls test_folder
to see the contents. No need to extract anything.
To "remove" the .iso, just type:
umount /path/to/test_folder
Solution 2:
sudo apt-get install p7zip-full
7z x disk.iso
See also: https://unix.stackexchange.com/questions/70738/what-is-the-fastest-way-to-extract-an-iso
See also:
- create ISO: How to create an ISO image from a ZIP file? It seems 7z can only unpack but not create ISO files?
- edit ISO: How to edit ISO Images (Including Bootable ISOs)
Tested in Ubuntu 18.04 with the Ubuntu 18.04 ISO itself: ubuntu-18.04.1-desktop-amd64.iso
.