Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Aug 2008 14:51:00 +0000
From:      Josh Paetzel <josh@tcbug.org>
To:        freebsd-questions@freebsd.org
Cc:        "C.M. Burns" <montiburns@googlemail.com>
Subject:   Re: Migrate harddisk with FreeBSD into new machine
Message-ID:  <200808141451.05230.josh@tcbug.org>
In-Reply-To: <48A481AE.9080209@googlemail.com>
References:  <48A478C5.3030002@googlemail.com> <6.0.0.22.2.20080814135612.025a8730@mail.computinginnovations.com> <48A481AE.9080209@googlemail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--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--



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