[CentOS] creating disk images

Fri Jul 14 19:56:02 UTC 2006
Jerry Geis <geisj at pagestation.com>

On 7/14/06, Jerry Geis <geisj at pagestation.com <http://lists.centos.org/mailman/listinfo/centos>> wrote:
>/
/>/ I am familiar with using dd to create a disk image. dd if=/dev/hda1
/>/ of=myimge.img
/>/
/>/ However, is there a way to capture the entire disk image into a file.
/

>Replacing /dev/hda1 in your dd line by /dev/hda used to work.

>-- 
>Eduardo Grosclaude
>Universidad Nacional del Comahue
>Neuquen, Argentina

Thanks, I'll try that...

Any way to drop the size of the created image?
Ex: disk is 100G and I no longer need all the extra space. perhaps only 20Gig image instead of the full 100Gig.

Thanks,

Jerry