Generating ISO images from the command line
One thing I always forget and have to look up is the command syntax for dd that enables you to make an ISO image of a CD/DVD. In the end, it’s a really simple process, it just keeps popping out of my head because I rarely use it :)
Anyway, the syntax is:
$ dd if=/dev/cdrom of=image.iso
Where the parameter:
- if is the device (file) of the CD/DVD you want to make the image of
- of is the target file where the resulting iso will be stored
The one caveat is that the device denoted by the if parameter must be unmounted before you call dd.