Virtual CDs

Linux
cp /dev/cdrom /iso/cd-name.iso

(or mkisofs, if you don't want to start with a real CD...)

mount -t iso9660 -o loop,ro /iso/cd-name.iso /mnt

Windows
Virtual CD

VCOM CD Anywhere

daemon-tools

disc4you Sim Disc