A much simpler, albiet slower way to create the iso from a CD/DVD is the dd command :
Originally Posted by frog3764
..where "/dev/sr0" is your CD inserted and detected by the system. It can be /dev/sr1,sr2 etc. in some cases, you can confirm which one it is by seeing the output of -
dd if=/dev/sr0 of=MyISOfile.iso
"MyISOfile.iso" is the name of the target iso file. You can name it whatever you wish, the above is just an example. If you wish to put the image on your desktop, add "Desktop/" before the name (e.g. "of=Desktop/MyISOfile.iso").
I just created an ISO from a bootable DVD of Windows7 (about 4GB), finished at an average copy speed of 4 MB/s (expected, as it was copied to a nearly full NTFS partition). Booted a windows virtual machine from the iso - works perfectly.
General form of using dd command like this is -
The "if=" stands for "Input File=", while "of=" means "Output File=".
dd if=<input file> of=<output file>
When copying a disk to image, the "if=" is the device file that represents the device (not its mount point), and the "of=" is the image file that is to be created.
When copying (cloning) directly from a device (e.g. CD) to another device (e.g. a USB flash disk), "if=" is the device file representing the CD (e.g. /dev/sr0) and "of=" is the device file representing the flash drive (e.g. /dev/sdb).
CAUTION ! Be very careful while using dd in the above manner ! If you reversed the "if=" and "of=" arguments and used a writable diskfile address with "of=", you may end up totally destroying the existing data on that disk.