From owner-freebsd-questions@FreeBSD.ORG Thu Aug 14 20:22:36 2008 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 87124106567B for ; Thu, 14 Aug 2008 20:22:36 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.freebsd.org (Postfix) with ESMTP id 5DE628FC0A for ; Thu, 14 Aug 2008 20:22:35 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.3/8.14.2) with ESMTP id m7EKMZxg071891 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 14 Aug 2008 15:22:35 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.3/8.14.2/Submit) id m7EKMXF9071888; Thu, 14 Aug 2008 15:22:33 -0500 (CDT) (envelope-from dan) Date: Thu, 14 Aug 2008 15:22:33 -0500 From: Dan Nelson To: "C.M. Burns" Message-ID: <20080814202233.GB4558@dan.emsphone.com> References: <48A478C5.3030002@googlemail.com> <6.0.0.22.2.20080814135612.025a8730@mail.computinginnovations.com> <48A481AE.9080209@googlemail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48A481AE.9080209@googlemail.com> X-OS: FreeBSD 7.0-STABLE User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: Migrate harddisk with FreeBSD into new machine 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: Thu, 14 Aug 2008 20:22:36 -0000 In the last episode (Aug 14), C.M. Burns said: > Derek Ragona schrieb: > > At 01:26 PM 8/14/2008, C.M. Burns wrote: > >> I have a problem. A faulty machine was running freeBSD with a two > >> harddisk software raid. now these two disks should be put into a > >> new machine, but of course it won't boot because it is new > >> hardware. Kernel just reports: cannot mount root device from > >> /dev/mirror/gm0s1a (or sth like this). > >> > >> question is now, how can i add the correct driver into the initial > >> ramdisk (if there is such a thing on bsd) so the machine finds the > >> two drives? second question: how can i afterwards remove the > >> software mirror and only use one harddisk from that moment on? > >> > >> any help is very welcom, as i have no idea about bsd. i am a linux > >> guy ;) > > > > What I would do, is install FreeBSD onto a new separate hard disk. > > Disks are cheap. Once you get the boot disk installed you can > > create a custom kernel if necessary to support the RAID. > > maybe there is a way to use the "loader prompt" to manually load the > module? it is a buslogic bt948 controller. > i would rather not compile a new kernel :) I was going to suggest building the buslogic driver as a module and then loading it from floppy at the loader prompt, but it doesn't look like the "bt" driver is available in module form. Do you maybe have an Adaptec SCSI card you could use instead, at least until you can rebuild the kernel? I know modules for those are on the install CD (newer cards will be managed by the ahc or ahd drivers). -- Dan Nelson dnelson@allantgroup.com