Date: Tue, 16 Jan 2001 01:35:59 -0600 (CST) From: Mike Meyer <mwm@mired.org> To: "David Schultz" <vvortex1@home.com> Cc: questions@freebsd.org Subject: Re: Fun with slices and partitions Message-ID: <14947.63967.11589.350117@guru.mired.org> In-Reply-To: <48262057@toto.iv>
next in thread | previous in thread | raw e-mail | index | archive | help
David Schultz <vvortex1@home.com> types: > 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. 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. If tere's a way to boot an e partition, I haven't found it (and I tried). Changing the ad1s1 labels is the solution. I managed this without a boot floppy, but I was on a system with two bootable FreeBSD systems. You might try doing this in single user mode with the root file system mounted r/o before going to a boot floppy. <mike -- Mike Meyer <mwm@mired.org> http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. 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?14947.63967.11589.350117>