In order to copy a CD or DVD to an ISO image in Linux, use one of the following commands below:
dd if=/dev/cdrom of=image.iso
or:
cat /dev/cdrom >image.iso
Note that you should not use the mounted directory to the cdrom device, but rather the device directory itself.