This process is not limited to Mac OS X, you can follow this guide to create a disk image of whatever disk you want: your windows OS disk, your data, anything.
Here are the steps I am going to go through in this post:
- start up in linux,
- find the device name of the disk to backup,
- find the mounted name of the disk where to save the backup,
- run the
ddcommand with the appropriate attributes,
- test that the backup worked.