Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jun 2010 22:59:08 -0500
From:      Antonio Olivares <olivares14031@gmail.com>
To:        Kevin Kinsey <kdk@daleco.biz>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>, Al Plant <noc@hdk5.net>
Subject:   Re: Copy a FreeBSD 8* install to larger HD
Message-ID:  <AANLkTik1sPJYeQtUeehZZRMh43DzULwy7gtaNmG9AdAx@mail.gmail.com>
In-Reply-To: <4C217CCE.7030605@daleco.biz>
References:  <4C217702.8080705@hdk5.net> <4C217CCE.7030605@daleco.biz>

next in thread | previous in thread | raw e-mail | index | archive | help
Al and others,

One solution or way to do it would be to get Clonezilla Live CD

http://clonezilla.org/clonezilla-live/

Connect both hard drives check carefully which one is the smaller one
and select it as the source, and copy it exactly as it is.  Let
clonezilla do its thing. When finished, shutdown the machine and
unplug the old/smaller hard drive and leave the other one plugged in
and start the machine.  Everything should work normally.

HTH,

Antonio

On 6/22/10, Kevin Kinsey <kdk@daleco.biz> wrote:
> Al Plant wrote:
>> Aloha,
>>
>> I am looking for the easiest way to copy a fresh working FreeBSD 8* HD
>> install (Manolis version) to a bigger HD that I found.
>>
>> I plan to have the new  HD in the same box for doing this copy.
>>
>> Can I use sysinstall to make the new default slices on the big HD and
>> then move the OS and directories/files to them?
>
> Last time I did this, it worked fine ... just make sure the "slices" (right
> term?)
> correspond with your /etc/fstab, or you'll end up in single user or even
> stuck at a boot prompt with the new drive the first time out.
>
>> What command (utility) do I use? dd or cp or some other to copy the files.
>
> I'd recommend dump and restore ... possibly piping dump *to* restore,
> something like:
>
> dump -0 -a -L -u -f - /usr | ( cd /newusr ; restore -ruf - )
>
> HTH.
>
>> Thanks....
>
>
> You're welcome :-)
>
> Kevin Kinsey
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTik1sPJYeQtUeehZZRMh43DzULwy7gtaNmG9AdAx>