HOWTO create an ISO Image

Today I am testing Sun Virtual Box. I want to install windows xp on Fedora but I don't like installing Operating Systems from DVDs or CDs. I thought I should create an ISO Image from the Windows CD. Here is the simple command to create an ISO from the CD ROM.

[ravi@localhost e]$ dd if=/dev/cdrom of=/home/ravi/windows/e/windowss.iso

Simple!

How about mkisofs or

How about mkisofs or genisoimage ?

dd is quite simple.... but I think genisoimage is much more customizable :D

If disk is bootable, both

If disk is bootable, both mkisofs and genisoimage will work, but disk won`t be bootable. They just copy content, while dd copies entire drive`s bits.