Friday, 4 September 2009

Ubuntu Tip: How To Mount ISO Disk Images

If you use .iso CD/DVD images here's how to mount them from the command line or in a terminal window.

Open a terminal window and type the following commands;
  • sudo mkdir /media/iso
  • sudo modprobe loop
  • sudo mount filename.iso /media/iso -t iso9660 -o loop
  • mkdir creates a new directory. This directory will be used as a "mount point" by Ubuntu to allow you access to the .iso file. In reality any directory can be used. It's good practice however to use a clearly defined location. You avoid problems and keep your file system clean and tidy.
  • filename.iso is the name of the iso file you wish to mount. Substitute "filename.iso" for the name of your .iso file.
  • To unmount the file use the following command: sudo umount /media/iso or whatever you called your new mount point.

No comments:

Post a Comment