Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Dec 2007 15:27:03 +1100
From:      Norberto Meijome <freebsd@meijome.net>
To:        Gaston Rey <gastonlrey@yahoo.com.ar>
Cc:        questions@freebsd.org
Subject:   Re: Question
Message-ID:  <20071217152703.07f955f6@meijome.net>
In-Reply-To: <654217.98107.qm@web50506.mail.re2.yahoo.com>
References:  <654217.98107.qm@web50506.mail.re2.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 16 Dec 2007 08:32:04 -0800 (PST)
Gaston Rey <gastonlrey@yahoo.com.ar> wrote:

> Hi all,
>     I need to know how to migrate a HD from my actual Server to another r=
ecently made up. This HD has the base operating system and i want to move u=
p it to the other server but surely it'll carry up a kernel panic error :s=
=20
>=20
> does Anybody know how to do it?

Hola Gast=F3n,

FBsd isn't windows - go ahead and do it - if u can get the new HD and hook =
it up to the old box,  go into single user mode , partition the new disk as=
 you wish, mount each partition at a time and transfer the data.=20

to transfer the data, you can use dump and restore , or tar (with the prope=
r bunch of switches)...I personally use=20
rsync --progress --recursive -x --delete /orig/ /dest

but the others should work just fine.

don't forget to run the boot0cfg against the new drive's / partition. (or j=
ust take the disk as is to the new server, boot from an install CD, go into=
 rescue mode and do it from there, to be 100% sure there is no mixup with t=
he older box...but you shouldn't have to).

Bill M's answer is spot on - make sure your current kernel supports all you=
r hardware, and that fstab and bootloader are pointing ,in the new drive (a=
fter you've copied all the data), to the right devices in the new machine.=
=20

Suerte,
B
_________________________
{Beto|Norberto|Numard} Meijome

"Produce great people, the rest will follow."
  Elbert Hubbard

I speak for myself, not my employer. Contents may be hot. Slippery when wet=
. Reading disclaimers makes you go blind. Writing them is worse. You have b=
een Warned.



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