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. I have 3 partitions: hda1 / hda2 swap hda3 /home and mbr How can I wrap them all into 1 image file. Thanks, Jerry
On 7/14/06, Jerry Geis <geisj at pagestation.com> 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20060714/99a81370/attachment-0002.html>
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, ArgentinaThanks, 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