Steve's random ramblings and technical notes

Tuesday, August 17, 2004

Creating ISOs from CDs

Creating ISOs from CDs - TreehouseTechnologies

How do we get an ISO file when we only have the burned CD?

# mount /dev/cdrom /mnt/cdrom

# df

(By mounting the CD, we can get the true block count of the ISO image. Make a note of the "1K-blocks" number for the CD.)

# umount

# dd if=/dev/cdrom of=/tmp/aniso.iso bs=1k count=[insert 1k block count here]

By specifying the exact size of the image, we prevent trying to read the overburned sectors and end up with an exact ISO image, that is the same size and has the same MD5 sum as the original.
Comments: Post a Comment

<< Home

This page is powered by Blogger. Isn't yours?