creating .iso cd-image file of a local cdrom

das paagol at gmail.com
Fri May 4 11:39:24 UTC 2007


On Fri, 2007-05-04 at 19:54 +0900, Tomoki Taniguchi wrote:
> I want to create an .ISO image backup of a cd
> inserted into a local cdrom drive.
> 

Get the CD/DVD inserted and mounted. 

Say the DVD is mounted in the folder /media/dvd and the device
is /dev/scd1.

Go to a folder on a partition with enough space, that is, more than 4.7G
for a DVD image, and more than say 700M for a CD. 

Issue this command:
dd if=/dev/scd1 of=taniguchi.iso

It will take a disk-dump of the input file /dev/scd1 into the output
file taniguchi.iso

Now, to write this image onto a dvd, insert a blank dvd into the writer
drive, and issue the command:
growisofs -dvd-compat -Z /dev/dvd=taniguchi.iso
(Give the command from the same directory where the ISO is)

(When, obviously /dev/dvd is a sybolic link of /dev/scd1. If it is not
there, create it with: sudo ln -s /dev/scd1 /dev/dvd
But it will be there in Ubuntu)

(If in doubt read 'man dd' or 'man growisofs' or 'man ln')

In case of a CD, the iso-building command will be the same. Only the
CD-writing command (after you insert a blank CD) will be:
cdrecord -vv -dev=/dev/scd1 -speed=16 taniguchi.iso
(Assuming that you want it verbose, and speed at 16. It will rebuke you
that this is not a proper way to assign device, but it will work. Read
'man cdrecord' for details)

---
das






More information about the ubuntu-users mailing list