From owner-freebsd-questions Mon Jan 15 23:30:21 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mailhost01.reflexnet.net (mailhost01.reflexnet.net [64.6.192.82]) by hub.freebsd.org (Postfix) with ESMTP id 9177737B402 for ; Mon, 15 Jan 2001 23:29:57 -0800 (PST) Received: from rfx-64-6-211-149.users.reflexcom.com ([64.6.211.149]) by mailhost01.reflexnet.net with Microsoft SMTPSVC(5.5.1877.197.19); Mon, 15 Jan 2001 23:28:12 -0800 Received: (from cjc@localhost) by rfx-64-6-211-149.users.reflexcom.com (8.11.1/8.11.0) id f0G7Tus51637; Mon, 15 Jan 2001 23:29:56 -0800 (PST) (envelope-from cjc) Date: Mon, 15 Jan 2001 23:29:51 -0800 From: "Crist J. Clark" To: David Schultz Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Fun with slices and partitions Message-ID: <20010115232951.K97980@rfx-64-6-211-149.users.reflexco> Reply-To: cjclark@alum.mit.edu References: <002301c07f79$fd668a60$0100a8c0@mshome.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <002301c07f79$fd668a60$0100a8c0@mshome.net>; from vvortex1@home.com on Mon, Jan 15, 2001 at 09:05:47PM -0800 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Jan 15, 2001 at 09:05:47PM -0800, David Schultz wrote: > Hi everyone, > > I just did a bit of rearranging of my partitions to get my FreeBSD slice > from one end of a drive to another. I did this by creating another slice on > the other end of the drive, partitioning it, and slowly migrating all of the > original /usr, /, and /var slices to the new drive with dumpfs piped to > restore. My /etc/fstab has been updated accordingly, but I have a bit of a > problem. > > When I boot, boot2 can't find the root partition and dumps me at an > unhelpful prompt that isn't documented very well in the manual. man boot > My root > partition is currently ad1s1e, whereas it used to be ad1s3a. However, ad1s3 > does not exist anymore. Of course I can boot by typing 'ad(1,e)' at the > boot2 prompt, but it is necessary for this machine to be able to boot > without user intervention. Does anyone know how I can get boot2 to find > ad1s1e automatically or fix the disk labels so boot2 can find it where it > is? > > So far, I've tried using disklabel to relabel partition e to a. Of course > this fails because root is always mounted. Hmm... boot floppy? Please let me > know if you have any suggestions, and thanks in advance. Yes, change your root partition to 'a.' And see boot0cfg(8). -- Crist J. Clark cjclark@alum.mit.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message