Burning ISOs: Difference between revisions

From Alpine Linux
mNo edit summary
m (mentioned that cdrskin is in Alpine as well)
Line 12: Line 12:
<pre>cdrecord -v dev=/dev/sr0 speed=4 alpine-standard-3.8.0-x86.iso</pre>
<pre>cdrecord -v dev=/dev/sr0 speed=4 alpine-standard-3.8.0-x86.iso</pre>


Debian has <code>cdrskin</code>, which can be invoked just like <code>cdrecord</code> above.
Debian, like Alpine, has <code>cdrskin</code>, which can be invoked just like <code>cdrecord</code> above.





Revision as of 14:17, 1 July 2018

This material is work-in-progress ...

Do not follow instructions here until this notice is removed.
(Last edited by Msi on 1 Jul 2018.)


Burning an image to a CD or DVD

On systems that ship cdrtools (e.g., Gentoo, openSuSe, NetBSD, Slackware), you can use cdrecord to write an image to a disc, for example:

cdrecord -v speed=4 alpine-standard-3.8.0-x86.iso

If there's only one CD drive on the system, it should be auto-detected. If not, find the device name using lsblk and specify the dev option, for example:

cdrecord -v dev=/dev/sr0 speed=4 alpine-standard-3.8.0-x86.iso

Debian, like Alpine, has cdrskin, which can be invoked just like cdrecord above.


See also:

Copying an installation image to a USB key

Creating an image from a CD

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

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


Mounting an ISO image

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

modprobe loop LOOP=`losetup -f` losetup $LOOP /path/to/cdimage.iso mount -t iso9660 -o ro $LOOP /mnt ... # when finished umount /mnt losetup -d $LOOP # this step may happen automatically when you umount

or see Arch Wiki on fuseiso.


See also