Linux

Mount an ISO image under linux

1. Create a directory

sudo mkdir -p /mnt/isoimg

-p no error if existing, make parent directories as needed
 
2. Mount ISO image

sudo mount -o loop mydvd.iso /mnt/isoimg

or
 
3. Mount ISO image, specifying file system type

sudo mount -o loop -t iso9660 mydvd.iso /mnt/isoimg

 
4. To unmount the file

sudo umount /mnt/isoimg