I needed to setup a VM, and VirtualBox was complaining that it was sticking when running direct from the disk.
I therefore found the following:
cd /disk1
dd if=/dev/cdrom of=WindowsXP.iso
Where /disk1 is where you want the ISO to be created, /dev/cdrom is your CD Drive, and WindowsXP.iso is the ISO name you require