From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 16:59:03 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 199D416A502 for ; Wed, 19 Dec 2007 16:59:03 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from ezekiel.daleco.biz (southernuniform.com [66.76.92.18]) by mx1.freebsd.org (Postfix) with ESMTP id B5F1C13C465 for ; Wed, 19 Dec 2007 16:59:02 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from localhost (localhost [127.0.0.1]) by ezekiel.daleco.biz (8.13.8/8.13.8) with ESMTP id lBJGwodj089667; Wed, 19 Dec 2007 10:58:50 -0600 (CST) (envelope-from kdk@daleco.biz) X-Virus-Scanned: amavisd-new at daleco.biz Received: from ezekiel.daleco.biz ([127.0.0.1]) by localhost (ezekiel.daleco.biz [127.0.0.1]) (amavisd-new, port 10024) with LMTP id QGd6dywtB+Hh; Wed, 19 Dec 2007 10:58:44 -0600 (CST) Received: from archangel.daleco.biz (dsl.daleco.biz [209.125.108.70]) by ezekiel.daleco.biz (8.13.8/8.13.8) with ESMTP id lBJGvkFq089651; Wed, 19 Dec 2007 10:57:47 -0600 (CST) (envelope-from kdk@daleco.biz) Message-ID: <47694D85.7020903@daleco.biz> Date: Wed, 19 Dec 2007 10:57:41 -0600 From: Kevin Kinsey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.2) Gecko/20070418 SeaMonkey/1.1.1 MIME-Version: 1.0 To: =?windows-1252?Q?Nuno_Gon=E7alves?= References: <003e01c84250$9e2b8bd0$1f2c88c1@corp.fccn.pt> In-Reply-To: <003e01c84250$9e2b8bd0$1f2c88c1@corp.fccn.pt> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: Bare Metal Recovery FreeBSD How To 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: Wed, 19 Dec 2007 16:59:03 -0000 Nuno Gonçalves wrote: > I am trying to do a Bare Metal Recovery from a FreeBSD 6.0 system to a > different Hardware. > > I have a backup from all partitions of the affected system so I am trying to > install a minimum FreeBSD 6.0 in a different hardware which I already have > up and running. What kind of backup? Is it a dump(8) file? > I created a Swap Partition, a “/” partition where the minimum system is > running, and a third partition “/backup” in which I will restore the backup > through the network. > > Next step will be to change the boot manager and make it boot through > “/backup”. > > Do you guys think this is doable? > > I Think I probably must recompile the kernel after the bare metal recovery > because the hardware is different, still do you think it might work? Did the kernel have a lot of customization? A GENERIC kernel should boot on almost anything --- which is why "bare metal recovery" seems a misnomer to me. If the hard disk survives, I simply stick it in another box and rarely have any difficulties. If it doesn't, I do a minimal install with the desired final slice/partition scheme on the new HDD, and simply restore(8) over the top. > What is your opinion on this? What should be the best approach ? Well, I don't know your exact situation, but OOTOMH, the partitioning scheme you mention seems like wasting a disk unless you want the final system to have only /, swap, and /backup. Which could be OK, I guess, but isn't the traditional BSD Right Way(tm). Also, I'd consider installing a newer release than 6.0, and only restoring the important stuff. Again, it depends on your situation. My $.02, Kevin Kinsey -- You have been in Afghanistan, I perceive. -- Sherlock Holmes, A Study in Scarlet