Burning ISOs: Difference between revisions

From Alpine Linux
m (→‎Burning an image to a CD or DVD: Corrected spelling of `openSuSE', used canonical URL for archlinux wiki.)
Line 4: Line 4:
== Burning an image to a CD or DVD ==
== Burning an image to a CD or DVD ==


On systems that ship cdrtools (e.g., Gentoo, openSuSe, NetBSD, Slackware), you can use <code>cdrecord</code> to write an image to a disc. For example:
On systems that ship cdrtools (e.g., Gentoo, openSUSE, NetBSD, Slackware), you can use <code>cdrecord</code> to write an image to a disc. For example:


<pre>cdrecord -v speed=4 alpine-standard-3.8.0-x86.iso</pre>
<pre>cdrecord -v speed=4 alpine-standard-3.8.0-x86.iso</pre>
Line 17: Line 17:
See also:
See also:
<ul>
<ul>
<li>[https://wiki.archlinux.org/index.php/CD_Burning Arch Wiki on CD Burning]
<li>[https://wiki.archlinux.org/title/Optical_disc_drive#Burning Arch Wiki on CD/DVD Burning]
<!-- Gentoo uses Jörg Schilling's "cdrtools"; Arch and Alpine use {{Pkg|cdrkit}} -->
<!-- Gentoo uses Jörg Schilling's "cdrtools"; Arch and Alpine use {{Pkg|cdrkit}} -->
<li>[https://wiki.archlinux.org/index.php/DVD_Burning Arch Wiki on DVD Burning]
<!-- Arch uses dvd+rw-tools, rather than less-capable dvdrtools -->
<!-- Arch uses dvd+rw-tools, rather than less-capable dvdrtools -->
Example: {{Cmd|growisofs -Z /dev/dvd{{=}}/path/to/dvdimage.iso}}
Example: {{Cmd|growisofs -Z /dev/dvd{{=}}/path/to/dvdimage.iso}}

Revision as of 03:44, 31 July 2023

This material is work-in-progress ...

Do not follow instructions here until this notice is removed.
(Last edited by Zcrayfish on 31 Jul 2023.)


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

Alpine, like Debian, 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, execute:

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 run umount

or see Arch Wiki on fuseiso.

See also