Create an ISO file from a CD or DVD

by Ramesh

First, find the volume size and the block size of the CD or DVD as shown below using isoinfo command.

Syntax: isoinfo -d -i DEVICE-Of-CD-DVD

# isoinfo -d -i /dev/cdrom

	CD-ROM is in ISO 9660 format
	System id: WIN32
	Volume id: RQ0010
	Volume set id:
	Publisher id:
	Data preparer id:
	Application id: ULTRAISO V9.3 CD & DVD CREATOR, (C)2008 EZB SYSTEMS, INC.
	Copyright File id:
	Abstract File id:
	Bibliographic File id:
	Volume set size is: 1
	Volume set sequence number is: 1
	Logical block size is: 2048
	Volume size is: 1825
	Joliet with UCS level 3 found
	NO Rock Ridge present

Next, copy the CD or DVD image as an ISO file using the dd command as shown below.

# dd if=/dev/cdrom bs=2048 count=1825 of=mydata.iso

	1825+0 records in
	1825+0 records out
	3737600 bytes (3.7 MB) copied, 4.43782 seconds, 842 kB/s
1 Saint DanBert April 5, 2010 at 2:08 pm

Within the ‘dd’ command, the bs=nnnn option must be (a) the same, or (b) an integer multiple of the block size reported by isoinfo.

Within the ‘dd’ command, the count=nnnn option is optional.

~~~ 8d;-Dan

Comments on this entry are closed.

Previous post:

Next post: