How to: Mount an ISO image under Linux
You can mount ISO images via the loop device. It is possible to specify transfer functions (for encryption/decryption or other purposes) using loop device.
But how to mount ISO image under Linux? You need to use mount command as follows:
Procedure to mount ISO images under Linux
1) You must login as a root user, if not root user then switch to root user using following command:
$ su -
2) Create the directory aka mount point:
# mkdir -p /mnt/disk
3) Use mount command as follows (assumes that your ISO file name is disk1.iso):
# mount -o loop disk1.iso /mnt/disk
4) Change directory to list it:
# cd /mnt/disk # ls -l
See also:
Want to stay up to date with the latest Linux tips, news and announcements? Subscribe to our free e-mail newsletter or full RSS feed to get all updates.
You can Email this page to a friend.
You may also be interested in...
- How to: Extract files from ISO CD images in Linux
- Linux creating CD-ROM ISO image
- Linux: Burn multi session CDs on Linux
- Download of the day: AcetoneISO - extract, browse ISO and other CD/DVD formats under Linux
- Mounting with an alternative superblock
Discussion on This Article:
Leave a Reply
We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Thank you very much for stopping by our site!
Tags: cd_command, cd_iso, iso_images, linux_loopback_device, loop_module, mkdir_command, mount_command, mount_iso ~ Last updated on: December 7, 2007



Cheers, worked like a charm
Quick comment:
You need the kernel module loop for it; people that get the error about it in mount should get the latest copy of the linux source and proceed to compile the correct module which is under block devices
Other than that it works
Just what i needed, mahalo!
Thanks! This was very very easy to find and follow. I’m new to linux and this is the reason I made the swicth, the help that everyone give make learning linux easy and fun. Thank you for your time, thank you!
sweet! worked cleanly, no stupid paid software for windows needed to do such a simple task!
Looks like we cant mount it for RW. Bloody well then.
This tip was a great help! I only need to read the iso for installations so thanks a heap!
Learn How to make ISO images on Linux
richard, to edit bootable ISO mount it as it’s described here, copy it’s contents to some directory, edit files you need and generate new ISO by command:
sudo mkisofs -o /tmp/new.iso -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -J -R -V “new iso name” .
or
read this
Works like a charm. It kept me from Burning a DVD for a computer that didn’t read DVDs. I did a Net Install of Linux over http://FTP. I copied the File to a Linux FTP Server, mounted the ISO and did an install. Sweet.
But what if I don’t have root? Or am too lazy to su or sudo?
the .img .iso and .nrg images can mounted directly, only change the options for loop and offest..
the other types (.b5i , .daa , .cdd , .cue , .bin , .xbo , .mdf , .cda , .pdi ) can mounting by the cdemu/cdemuserspace module for linux kernels, here all packages for debian users:
qgqlochekone.blogspot.com/2008/04/iso-linux-debian-venenux-tools.html
other method is coverting the image to native iso image and then mounting normaly..
in the McKAY blog are all convertion utilitys for al image types, including .daa (poweriso) and pdi (instancopy)
also:
u dont need su or sudo for mounting, that is stupid..
only added user to cdrom and disk groups an mount groups, and now user can mounting without any su or sudo permissions..
McKAY’s isos tools and converters for VENENUX/debian
@hedron: You need root access to mount any device, unless it is listed in /etc/fstab and has the option “user”. That also answer your question: Set up a filename convention for the iso image (/home/user/mountme.iso) and the directory where to mount it (/home/user/mountmehere), add an appropriate line to /etc/fstab, don’t forget the option to allow ordinary users to mount the pseudo device, and you’re done.
SALAM
Thanks alot