From owner-freebsd-questions@FreeBSD.ORG Wed Apr 2 11:39:22 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8095337B401 for ; Wed, 2 Apr 2003 11:39:22 -0800 (PST) Received: from peitho.fxp.org (peitho.fxp.org [209.26.95.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7855543F85 for ; Wed, 2 Apr 2003 11:39:21 -0800 (PST) (envelope-from bulldog@fxp.org) Received: by peitho.fxp.org (Postfix, from userid 1206) id CC095137B8; Wed, 2 Apr 2003 14:39:20 -0500 (EST) Date: Wed, 2 Apr 2003 14:39:20 -0500 From: Bob Bomar To: Bsd Neophyte Message-ID: <20030402193920.GA33265@peitho.fxp.org> References: <20030402161924.4293.qmail@web20103.mail.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+HP7ph2BbKc20aGI" Content-Disposition: inline In-Reply-To: <20030402161924.4293.qmail@web20103.mail.yahoo.com> User-Agent: Mutt/1.4i X-Mailer: socket() cc: questions@freebsd.org Subject: Re: rebuilding the MBR X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Apr 2003 19:39:22 -0000 --+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--