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

Advertisements

No comments yet

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: