Table of Contents

Ubuntu - CD - Create ISO from CD

Using dd

dd if=/dev/cdrom of=~/cdrom_image.iso.

Examples:

This will capture boot information from a bootable CD or DVD. Also good for ripping a video DVD to an ISO image for duplication.

You must have permission to access the drive directly using dd. Mount permissions are not necessarily the same as dd permissions!

When creating an ISO file, the device must not be mounted. To unmount the cdrom device, use the umount command as follows:

umount /dev/cdrom

Using cat

cat /dev/scd0 > cdrom_image.iso 

NOTE: This will not pick up the MBR from a bootable installation CD or DVD.


Using mkisofs

Copy an existing CDROM into a new ISO-9660 image:

mkisofs -r -o /fully-qualified-file-name-of-iso-image.iso /dev/cdrom

NOTE: The CD must be mounted first.