Security Basics mailing list archives
Re: copying a disk image to restore on linux
From: Sebastian "Schäfer" <schaefer () b-tox de>
Date: Fri, 27 Dec 2002 20:14:49 +0000
stefmit <stefmit () starband net> schrieb am Tue, 24 Dec 2002 16:21:02 -0600:
Are you saying that: # df -h ==> used MB or GB then: # dd if=/dev/hda1 bs=1M count=<used MB or GB> | gzip > hda1-image.gz then, on the new drive: # zcat hda1-image.gz | dd of=/dev/hda1 >& /dev/null won't cut it for you?!?
That one is not good. As every filesystem I know of fragmentizes its data a part of a file could physically lay behind the 20th GB. Using your method it would not be imaged. Greets, Sebastian Schäfer
Current thread:
- copying a disk image to restore on linux phani (Dec 24)
- Re: copying a disk image to restore on linux Steve Suehring (Dec 24)
- Re: copying a disk image to restore on linux Kenny Wells (Dec 24)
- Re: copying a disk image to restore on linux Devdas Bhagat (Dec 24)
- Re: copying a disk image to restore on linux Ing. Bernardo Lopez (Dec 27)
- Re: copying a disk image to restore on linux Mel (Dec 27)
- Re: copying a disk image to restore on linux stefmit (Dec 27)
- Re: copying a disk image to restore on linux Schäfer (Dec 30)
- Re: copying a disk image to restore on linux Johannes Ullrich (Dec 30)
- Re: copying a disk image to restore on linux Kevin Currie (Dec 31)
- Re: copying a disk image to restore on linux Pablo Gietz (Dec 27)
- <Possible follow-ups>
- RE: copying a disk image to restore on linux Hornat, Charles (Dec 24)