Archive for the ‘Linux’ Tag

Mount and Unmount ISO Files on Linux

Need access to files in an ISO on your linux machine? Simply use the MOUNT command to mount that iso as a directory.

First create a directory to mount the ISO to. In this example, we’ll create the directory in the /mnt directory. Make sure you’ve got write permissions on the directory where you’ll be creating the new directory.

mkdir /mnt/SomeISO

Now you can mount the ISO onto the newly created directory

mount -o loop -t iso9660 /tmp/some.iso /mnt/SomeISO

That’s it. You can now navigate to the directory (CD /mnt/SomeISO) to access the files in the ISO you just mounted.

To unmount the iso, use UMOUNT command:

umount /mnt/SomeISO