MountIso

Differences between revisions 3 and 4
Revision 3 as of 2006-04-09 17:01:43
Size: 480
Editor: c-24-18-214-200
Comment:
Revision 4 as of 2006-05-04 02:54:29
Size: 928
Editor: 70-57-193-50
Comment: dist-upgrade from CD without burning
Deletions are marked like this. Additions are marked like this.
Line 14: Line 14:

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.

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 [http://doc.gwos.org/index.php/Mount_ISO_script]

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.

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