From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 04:27:33 2007 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8C48116A419 for ; Mon, 17 Dec 2007 04:27:33 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.freebsd.org (Postfix) with ESMTP id 43BBA13C4F2 for ; Mon, 17 Dec 2007 04:27:32 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: (qmail 13976 invoked from network); 16 Dec 2007 22:27:33 -0600 Received: from 124-170-40-102.dyn.iinet.net.au (HELO localhost) (124.170.40.102) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 16 Dec 2007 22:27:32 -0600 Date: Mon, 17 Dec 2007 15:27:03 +1100 From: Norberto Meijome To: Gaston Rey 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> X-Mailer: Claws Mail 3.0.2 (GTK+ 2.12.3; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: questions@freebsd.org Subject: Re: Question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Dec 2007 04:27:33 -0000 On Sun, 16 Dec 2007 08:32:04 -0800 (PST) Gaston Rey 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.