Diff for "MountIso"


Differences between revisions 18 and 20 (spanning 2 versions)
Revision 18 as of 2008-06-27 10:15:17
Size: 4260
Editor: localhost
Comment: converted to 1.6 markup
Revision 20 as of 2008-10-23 21:05:41
Size: 3959
Editor: mobile-166-217-024-033
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
||<tablestyle="float:right; font-size: 0.9em; width:40%; background:#F1F1ED; margin: 0 0 1em 1em;" style="padding:0.5em;">'''Contents'''<<BR>><<TableOfContents(2)>>|| ||<tablestyle="float:right; font-size: 0.9em; width:40%; background:#F1F1ED; margin: 0 0 1em 1em;" style="padding:0.5em;"><<TableOfContents(2)>>||
Line 7: Line 7:
An IsoImage is an image of a CD or DVD disk that can be stored on your computer and used to write to a new disk. It is also possible to mount an IsoImage to your disk, removing the need of a CD. An IsoImage is an image of a CD or DVD disk that can be stored on your computer and used to write to a new disk. It is also possible to mount an IsoImage to your disk, removing the need for a CD.
Line 11: Line 11:
gISOMount is a utility for mounting and managing .iso images with the added capabilities of calculating md5sums, and reading various volume information. It can be downloaded through Synaptic Package Manager gISOMount is a utility for mounting and managing .iso images with the added capabilities of calculating md5sums and reading various volume information. It can be installed with Synaptic Package Manager or apt-get.
Line 15: Line 15:
The default [[http://en.wikipedia.org/wiki/Mount_point|mount point]] under GNU/Linux is under ''/media''. The default [[http://en.wikipedia.org/wiki/Mount_point|mount point]] for Ubuntu is under ''/media''.
Line 20: Line 20:
sudo mkdir /media/cdimage
sudo mount -o loop ''myfile''.iso /media/cdimage
sudo mkdir /media/NameOfISO
sudo mount -o loop NameOfISO.iso /media/NameOfISO
Line 24: Line 24:
'''Note''': ''myfile''.iso is to be replaced with the file you want to mount.
This will mount the ISO image to the directory ''/media/cdimage''.
To mount the image so that it can be written to, do the following instead:
Line 27: Line 26:

##I do not understand what this is supposed to do, and therefore I am temporarily hiding this until the function of this is specified better.
##To mount the image so that it can be written to do the following instead:

## {{{
##sudo mkdir /media/cdimage
##sudo mount -o rw,loop myfile.iso /media/cdimage
##}}}
 {{{
sudo mkdir /media/NameOfISO
sudo mount -o rw,loop NameOfISO.iso /media/NameofISO
}}}
Line 39: Line 34:
sudo umount /media/cdimage
rmdir /media/cdimage
sudo umount /media/NameOfISO
su
do rmdir /media/NameOfISO

Mounting ISO Files

Introduction

An IsoImage is an image of a CD or DVD disk that can be stored on your computer and used to write to a new disk. It is also possible to mount an IsoImage to your disk, removing the need for a CD.

GUI

gISOMount is a utility for mounting and managing .iso images with the added capabilities of calculating md5sums and reading various volume information. It can be installed with Synaptic Package Manager or apt-get.

Command Line

The default mount point for Ubuntu is under /media.

To mount an iso file to this location:

  • sudo mkdir /media/NameOfISO
    sudo mount -o loop NameOfISO.iso /media/NameOfISO

To mount the image so that it can be written to, do the following instead:

  • sudo mkdir /media/NameOfISO
    sudo mount -o rw,loop NameOfISO.iso /media/NameofISO

To unmount the image:

  • sudo umount /media/NameOfISO
    sudo rmdir /media/NameOfISO

Convert Other Formats To ISO

Other formats of CD or DVD images can be converted to ISO and then mounted as above.

  • .img files can be converted to .iso using ccd2iso.

     ccd2iso imagen.img imagen.iso
  • Nero image (.nrg) files can either be converted to iso using nrg2iso or mounted directly using mount.

    • To mount using mount:

      sudo mkdir /media/cdimage
      sudo mount -o loop,offset=307200 myfile.nrg /media/cdimage
    • To install nrg2iso:

      sudo apt-get install nrg2iso
    • To convert to iso using nrg2iso:

      nrg2iso myfile.nrg myfile.iso
  • Cue/Bin image (.cue/.bin) files must be converted. This can be done using bchunk.

    • To install bchunk:

      sudo apt-get install bchunk
    • To convert to iso using bchunk:

      bchunk myfile.bin myfile.cue myfile
  • Clone CD (.ccd/.img/.sub) files must be converted. This can be done using ccd2iso. The package for this program is extremely unstable and has been taken from the Ubuntu forums http://www.ubuntuforums.org. It is also only packaged for Pentium (i386) systems. You can also compile from the source using the guide on ManageDiscImages.

  • Alcohol 120% image (.mdf) files can either be converted to iso using mdf2iso or mounted directly using mount.

  • To mount using mount:

    sudo mkdir /media/cdimage
    sudo mount -o loop=/dev/loop0 myfile.iso /media/cdimage
    • To install mdf2iso:

      sudo apt-get install mdf2iso
    • To convert to iso using mdf2iso:

      mdf2iso myfile.mdf myfile.iso
  • A couple of other image formats can be found on the help page ManageDiscImages.

Other Options

  • cdemu is a kernel module for mounting Cue/Bin files directly. To install it you would have to setup LinuxHeaders, compile the module and modprobe it. This is out of the scope of this page. There is a script under development in the Ubuntu forums for automating the building of cdemu Located Here (Use this at your own risk.)

  • "Mount and Unmount ISO images without burning them" has a nice step-by-step explanation (with screen shots) showing how to mount and unmount ISO images.


CategoryDocumentation CategoryCleanup

MountIso (last edited 2012-11-12 22:05:40 by 95)