Using dd to Make a Clone of a Drive

Bart Silverstrim bsilver at
Fri Feb 10 09:52:39 PST 2006

On Feb 10, 2006, at 11:11 AM, Peter wrote:

> --- Bart Silverstrim <bsilver at> wrote:
>> On Feb 10, 2006, at 9:50 AM, Giorgos Keramidas wrote:
>>> On 2006-02-10 09:44, Peter <petermatulis at> wrote:
>>>> --- Giorgos Keramidas <keramida at> wrote:
>>>>>> As long as the "new" slice had enough space, geometry shouldn't
>>>>>> matter to dump|restore ....  <?>
>>>>> Right :)  It also allows restoring in a different partition layout.
>>>> Any chance of there being a way like this to restore to windows
>>>> systems
>>>> from the FreeBSD box?
>>> Not really.  I'm far from being a Windows expert though, so YMMV.
>> As an image?  Look up partimage and partimaged.  We've had some luck
>> restoring from both a Linux system running the Partimaged daemon and
>> booting from a Linux disk and restoring images off a samba/Windows
>> share using partimage.
> I intend to use g4u.  I have done some preliminary testing and I am 
> quite
> confident that I can upload and download an image.  I am now wondering
> about the situation where I need to recreate the partition that is to
> contain the image.  It needs to be exactly the same size (sectors) as 
> the
> image.  That's what I'm worried about.  Any suggestions?

Never used g4u...I know that with partimage, if I imaged, say, a 4 gig 
drive, then pulled it down to a 6 gig drive and booted Windows, Windows 
(2000) would see 4 gig.  I had to use a partition editor (there was a 
graphical one on one of the Linux rescue CDs) that I used to enlarge 
the partition, and Win2k didn't seem to care at all.  Qtparted, maybe?

More information about the freebsd-questions mailing list