Fw: dd - cloning a disk. Second Part!

Grant Peel gpeel at thenetnow.com
Sat Mar 11 14:51:09 UTC 2006


Thanks Chuck,

I was kinda thinkning Dump and Restore might be the way to go.

I have never tried to use it to make a bootable disk though...does it do it 
automaticly or should I read something? (What)?

Thanks again,

-Grant

----- Original Message ----- 
From: "Chuck Swiger" <cswiger at mac.com>
To: "Grant Peel" <gpeel at thenetnow.com>; "freebsd-questions" 
<freebsd-questions at freebsd.org>
Sent: Saturday, March 11, 2006 9:39 AM
Subject: Re: Fw: dd - cloning a disk. Second Part!


> Grant Peel wrote:
>> I the answer is yes to the first question (original question), then,
>> what happens if one 'dd's a small, say 36 GM disk to a larger one, say
>> 73 GB. Can the newly made disk be resized so as not to loose 1/2 of it?
>
> If you partition the bigger disk into two fdisk partitions, one of which 
> is
> exactly the size of your original disk, you could use dd to copy the 
> contents of
> the BSD slice from one disk to the other, and then use newfs to create a
> separate filesystem on the second fdisk partition.
>
> However, if you want to use the entire 73GB space at once, use dump and 
> restore
> to copy the data instead.  There's detailed documentation on this on the 
> FreeBSD
> website...
>
> -- 
> -Chuck
> 




More information about the freebsd-questions mailing list