From owner-freebsd-questions@FreeBSD.ORG Thu Aug 14 20:17:37 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 7ACE5106566C for ; Thu, 14 Aug 2008 20:17:37 +0000 (UTC) (envelope-from josh@tcbug.org) Received: from cenn-smtp.mc.mpls.visi.com (cenn.mc.mpls.visi.com [208.42.156.9]) by mx1.freebsd.org (Postfix) with ESMTP id 5A86E8FC18 for ; Thu, 14 Aug 2008 20:17:37 +0000 (UTC) (envelope-from josh@tcbug.org) Received: from mail.tcbug.org (mail.tcbug.org [208.42.70.163]) by cenn-smtp.mc.mpls.visi.com (Postfix) with ESMTP id 7383287E3; Thu, 14 Aug 2008 14:52:03 -0500 (CDT) Received: from homebase.tcbug.org (unknown [208.42.70.167]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.tcbug.org (Postfix) with ESMTPSA id 42410558811; Thu, 14 Aug 2008 14:52:03 -0500 (CDT) From: Josh Paetzel To: freebsd-questions@freebsd.org Date: Thu, 14 Aug 2008 14:51:00 +0000 User-Agent: KMail/1.10.0 (FreeBSD/7.0-RELEASE-p3; KDE/4.1.0; i386; ; ) References: <48A478C5.3030002@googlemail.com> <6.0.0.22.2.20080814135612.025a8730@mail.computinginnovations.com> <48A481AE.9080209@googlemail.com> In-Reply-To: <48A481AE.9080209@googlemail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2652044.uH5mUclLDF"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200808141451.05230.josh@tcbug.org> Cc: "C.M. Burns" 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:17:37 -0000 --nextPart2652044.uH5mUclLDF Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Thursday 14 August 2008 19:04:14 C.M. Burns wrote: > Derek Ragona schrieb: > > At 01:26 PM 8/14/2008, C.M. Burns wrote: > >> Hi list, > >> > >> 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 > >> ;) > >> > >> thanks! > > > > 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 :) It sounds like the kernel on the disks doesn't have the driver for the=20 buslogic bt948 SCSI controller in it. Unfortunately, this driver is not=20 available to be loaded as a module either. the GENERIC kernel comes with t= he=20 needed driver (called bt). You don't have to compile a new kernel, but you= =20 are going to have to replace the kernel on the disks with one containing th= e=20 needed driver (like GENERIC). Either way, the recovery procedure involves= =20 booting off a CD and replacing the on disk kernel. =2D- Thanks, Josh Paetzel PGP: 8A48 EF36 5E9F 4EDA 5A8C 11B4 26F9 01F1 27AF AECB --nextPart2652044.uH5mUclLDF Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEABECAAYFAkikRlkACgkQJvkB8SevrssY/ACfWkrR0MHAIoWhNMVGhU5Np+fl EvUAnjeci1JK8rzyEdE0g93miqPBlmJw =RMpW -----END PGP SIGNATURE----- --nextPart2652044.uH5mUclLDF--