Created
October 24, 2021 06:43
-
-
Save pankaj-gecko/949a6cb61ef86d1e0005c1e07000eb94 to your computer and use it in GitHub Desktop.
Burning cd/dvd image on linux using terminal
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Playing with Images | |
===================== | |
Creating An Image Copy Of A CD-ROM | |
---------------------------------- | |
If we want to make an iso image of an existing CD-ROM, we can use dd to read all the | |
data blocks off the CD-ROM and copy them to a local file. Say we had an Ubuntu CD | |
and we wanted to make an iso file that we could later use to make more copies. After in- | |
serting the CD and determining its device name (weâll assume /dev/cdrom), we can | |
make the iso file like so: | |
Example: | |
------------------------------------------------------------------ | |
pankaj@pankaj-Satellite-C850 ~ $ sudo dd status=progress if=/dev/sr0 of=/home/pankaj/pank.iso | |
1407048+0 records in | |
1407048+0 records out | |
720408576 bytes (720 MB, 687 MiB) copied, 139.587 s, 5.2 MB/s | |
pankaj@pankaj-Satellite-C850 ~ $ | |
------------------------------------------------------------------ | |
Writing CD-ROM Images | |
--------------------- | |
After we have an image file, we can burn it onto our optical media. | |
To write an image, we will use a tool named as wodim, specifying the name of the | |
optical media writer device and the name of the image file: | |
wodim dev=/dev/cdrw image.iso | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment