<div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>>Replacing /dev/hda1 in your dd line by /dev/hda used to work.<br><br><br>Thanks, I'll try that...
<br><br>Any way to drop the size of the created image?<br>Ex: disk is 100G and I no longer need all the extra space. perhaps only 20Gig image instead of the full 100Gig.</blockquote><div>Extracting
and compressing images depends on what you're up to. You can compress
the created image, even on the fly, but then perhaps dd'ing a whole
disk is not such a good idea if all you're interested in is backing up
files, as you're saving lots of unused blocks in your filesystems, and
also taking a completely useless snapshot of your whole swap partition.
If backing up files is your business, you shouldn't be bypassing the
filesystem as with dd, so you will want to read about tar or cpio for
instance. On the other hand, you may wish to keep a pristine image of a
disk for forensics purposes, so dd is the way to go. Feel free to
elaborate about your needs and we may be able to help better.<br>
<br>
</div></div><br>-- <br>Eduardo Grosclaude<br>Universidad Nacional del Comahue<br>Neuquen, Argentina