Create an ISO image from an existing CDROM
February 11th, 2007
Here is a single line shell command to convert an existing CDROM data disc into a distributable ISO image.
In this example, I’m converting one of the Fedora Core 4 installation discs which I’ve already burnt to disc, back into an ISO image called fc4_disc1.iso.
(Run as root)
dd if=/dev/cdrom of=fc4_disc1.iso bs=2048 count=`isosize -d 2048 /dev/cdrom`
Note: The single quotes used on the count parameter are not those typically found on the same key as the @ symbol. The quote in use here can be found to the left of the number 1 button on your keyboard.