Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Apr 2003 14:39:20 -0500
From:      Bob Bomar <bulldog@fxp.org>
To:        Bsd Neophyte <bsdneophyte@yahoo.com>
Cc:        questions@freebsd.org
Subject:   Re: rebuilding the MBR
Message-ID:  <20030402193920.GA33265@peitho.fxp.org>
In-Reply-To: <20030402161924.4293.qmail@web20103.mail.yahoo.com>
References:  <20030402161924.4293.qmail@web20103.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--+HP7ph2BbKc20aGI
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Apr 02, 2003 at 08:19:24AM -0800, Bsd Neophyte wrote:
> i posted a message earlier, unfortunately, i received no responses.  so i
> guess i'll ask a different question.
>=20
> i've moved my HD from one system to another.
>=20
> is it possible to rebuild the MBR?  i'm booting from a promise controller.
>  initially i was booting from the primary controller but now i'm booting
> from the second ide contoller now.
>=20
> i'm assuming there is a mismatch.  i guess need to boot off of the generic
> kernel and reconfigure.  i have a great deal of information on this drive,
> so i would really not like to do a reinstallation.
>=20
>=20

If you just moved the drives, and did not edit the /etc/fstab
then just boot to single user mode, and edit the /etc/fstab.
Remember that when you boot to single user mode, you will not=20
have the partitions mounted, do a mount -a -t ufs to get the=20
/ partition to read/write, and then you can mount the other=20
partitions as neccessay, I would recommend mounting /usr and
/var so that vi will work, or you can use ed to edit the /etc/fstab.

--=20
/----------------------------------------------------------------\
| Bob Bomar 	bulldog@fxp.org 	http://www.bomar.us/~bob |
|=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D|
| FreeBSD: The Power to Serve.		http://www.freeBSD.org   |
\----------------------------------------------------------------/

--+HP7ph2BbKc20aGI
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (FreeBSD)

iD8DBQE+izxo9Jm/aTrtdKoRAjHEAJ9BQoezTQ8CPgjAqKhFfMvbnMCcJQCcCPX8
rUu/kL3hOv3JQaDNiQNTwKo=
=uSwn
-----END PGP SIGNATURE-----

--+HP7ph2BbKc20aGI--



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