Introduction

Creating an ISO image in Windows can be somewhat tedious in some cases (e.g., bootable CDs, etc.). In Linux, one might think it would be complicated, but it’s actually very simple.

Method using cat

The easiest method:

  cat /dev/hda > ~/image.iso
  

hda: corresponds to your CD device (using /dev/cdrom should also work)

Method using dd

Here’s another method that’s not much more complicated:

  dd if=/dev/cdrom of=winxp.iso
  

And if you want compression afterward:

  dd if=/dev/ad0 bs=8192 | gzip > my_image_file.dd.gz
  

Last updated 14 Aug 2007, 06:19 CEST. history