Difference between revisions of "Burning ISOs"

From Alpine Linux
Jump to: navigation, search
(Expand, refine)
(update losetup instructions)
Line 19: Line 19:
  
 
To mount an ISO without physically burning it to a CD:
 
To mount an ISO without physically burning it to a CD:
 +
<!-- "mount -t iso9660 -o ro,loop=/dev/loop0 /path/to/cdimage.iso /mnt" doesn't work with BusyBox's mount -->
 
{{Cmd|modprobe loop
 
{{Cmd|modprobe loop
mount -t iso9660 -o ro,loop{{=}}/dev/loop0 /path/to/cdimage.iso /mnt}}
+
LOOP=`losetup -f`
 +
losetup $LOOP /path/to/cdimage.iso
 +
mount -t iso9660 -o ro $LOOP /mnt
 +
...
 +
# when finished
 +
umount /mnt
 +
losetup -d $LOOP}}
 
or see [https://wiki.archlinux.org/index.php/Mounting_images_as_user#fuseiso Arch Wiki on fuseiso].
 
or see [https://wiki.archlinux.org/index.php/Mounting_images_as_user#fuseiso Arch Wiki on fuseiso].
  

Revision as of 00:55, 5 November 2012

Underconstruction clock icon gray.svg
This material is work-in-progress ...

Do not follow instructions here until this notice is removed.
(Last edited by Dubiousjim on 5 Nov 2012.)

See:


To do the converse operation, copying a CD to an ISO image, just do:

dd if=/dev/cdrom of=/path/to/cdimage.iso


To mount an ISO without physically burning it to a CD:

{{{1}}}

or see Arch Wiki on fuseiso.


See also: