fir3net
PPS-Firenetbanner-780.5x190-30-03-17

Linux - How to Mount an ISO image

In order to mount your ISO you will need to add the ISO to your box, create the directory then mount the file,

root@host:~$ mkdir /mnt/iso 
root@host:~$ mount -o loop -t iso9660 MYCD.iso /mnt/iso 

use the following command to confirm that you have mounted it correctly,

root@host:~$ df -kh 

You should see,

Filesystem           Size  Used Avail Use% Mounted on
MYCD.iso             654M  654M     0 100% /mnt/iso

To unmount your image run the following,

root@host:~$ umount /mnt/isoimage 

About the Author

RDonato

R Donato

Rick Donato is the Founder and Chief Editor of Fir3net.com. He currently works as a Principal Network Security Engineer and has a keen interest in automation and the cloud.

You can find Rick on Twitter @f3lix001