Differences between revisions 4 and 5
Revision 4 as of 2006-05-04 02:54:29
Size: 928
Editor: 70-57-193-50
Comment: dist-upgrade from CD without burning
Revision 5 as of 2006-12-30 21:41:50
Size: 975
Editor: nat-stumcr
Comment: link to a spec
Deletions are marked like this. Additions are marked like this.
Line 20: Line 20:

See also: specification for ImageMounting

ISO images may be mounted in the file system similar to a physical cd or dvd. This is done in the same way as you mount any other device, mount only needs a few directions:

mount -o loop -t iso9660 <source iso> <target dir>

for example:

mount -o loop -t iso9660 ubuntu.iso /media/myiso

If you are frequently using ISOs it may be more convenient to apply a Nautilus script for the task, see []

You can apply this to dist-upgrading from an image file without burning a CD. When you do apt-cdrom or synaptic or how ever you want to add the CD, run

sudo mount -o loop /path/to/cd/image.iso /cdrom

when it asks for you to insert the CD. The package utilities like to unmount /cdrom when they see there is no physical disk in the CDROM drive, so you have to run the command only after it fails to find a physical CD.

See also: specification for ImageMounting

MountIso (last edited 2008-08-06 16:28:55 by localhost)