< Previous | Contents | Next >
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:
dd if=/dev/cdrom of=ubuntu.iso
dd if=/dev/cdrom of=ubuntu.iso
This technique works for data DVDs as well, but will not work for audio CDs, as they do not use a file system for storage. For audio CDs, look at the cdrdao command.