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.

  1. Syntax: isoinfo -d -i DEVICE-Of-CD-DVD
  2.  
  3. # isoinfo -d -i /dev/cdrom
  4.  
  5. CD-ROM is in ISO 9660 format
  6. System id: WIN32
  7. Volume id: RQ0010
  8. Volume set id:
  9. Publisher id:
  10. Data preparer id:
  11. Application id: ULTRAISO V9.3 CD & DVD CREATOR, (C)2008 EZB SYSTEMS, INC.
  12. Copyright File id:
  13. Abstract File id:
  14. Bibliographic File id:
  15. Volume set size is: 1
  16. Volume set sequence number is: 1
  17. Logical block size is: 2048
  18. Volume size is: 1825
  19. Joliet with UCS level 3 found
  20. NO Rock Ridge present

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

  1. # dd if=/dev/cdrom bs=2048 count=1825 of=mydata.iso
  2.  
  3. 1825+0 records in
  4. 1825+0 records out
  5. 3737600 bytes (3.7 MB) copied, 4.43782 seconds, 842 kB/s