Create .iso image from a CD

su - root
mkdir /mnt/cdrom
mount /dev/cdrom /mnt/cdrom
cd <local directory for .iso>
dd if=/dev/cdrom of=filename.iso

now check that the creation is okay with:

sum -r /dev/cdrom
sum -r <filename.iso>

The 2 values should match.