mount iso image in terminal

How to Mount ISO Files in Ubuntu

ISO files typically contain images of CDs or DVDs. You need to mount them in your OS to be able to use them. In this article we will look at how to mount ISO files in Linux. You can use these commands on all Linux systems.


How to Mount ISO Files in Ubuntu

Here are the steps to mount ISO files in Ubuntu.


1. Make Directory

Let us say you want to mount image.iso file to /media/iso folder. In that case, open terminal and run the following command to create folder /media/iso.

$ sudo mkdir /media/iso


2. Mount ISO file

Run the following command to mount ISO file at /media/iso. Replace /path/to/image.iso with path to your iso file.

$ sudo mount /path/to/image.iso /media/iso -o loop


3. View Files

Once the ISO file is mounted, you can view its contents using ls command.

$ ls -l /media/iso


4. Unmount ISO file

Run the following command to unmount ISO file.

$ sudo umount /media/iso

Please note, it is umount and not unmount command. There is no ‘n’ in the above command.

That’s it. As you can see it is very easy to mount ISO file in Linux, just like mounting a volume or drive.

Also read:

How to Mount Drive from Terminal
How to Disable mod_deflate in Apache
How to Stop/Prevent SSH Brute Force Attacks
How to Disable SSH Root Login in Linux
How to Open, Extract RAR Files in Linux

2 thoughts on “How to Mount ISO Files in Ubuntu

Leave a Reply

Your email address will not be published. Required fields are marked *