Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jan 2001 23:29:51 -0800
From:      "Crist J. Clark" <cjclark@reflexnet.net>
To:        David Schultz <vvortex1@home.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Fun with slices and partitions
Message-ID:  <20010115232951.K97980@rfx-64-6-211-149.users.reflexco>
In-Reply-To: <002301c07f79$fd668a60$0100a8c0@mshome.net>; from vvortex1@home.com on Mon, Jan 15, 2001 at 09:05:47PM -0800
References:  <002301c07f79$fd668a60$0100a8c0@mshome.net>

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




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