Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Mar 2003 15:55:00 -0600
From:      Mike Meyer <mwm-dated-1047246901.8cfa85@mired.org>
To:        chad@shire.net
Cc:        freebsd-questions@freebsd.org, chad@pengar.com
Subject:   Re: partition is "e" should be "a" -- how to fix?
Message-ID:  <15973.8372.371147.943043@guru.mired.org>
In-Reply-To: <E18qK2V-0005lp-00@xmission.xmission.com>
References:  <E18qK2V-0005lp-00@xmission.xmission.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In <E18qK2V-0005lp-00@xmission.xmission.com>, Chad Leigh <chad@xmission.com> typed:
> I have sent this three or four times already in the last 30 hours and 
> never seen it show up in the list...  I am trying sending from a different 
> account.

I haven't seen it before.

[system having root on da0s1e partition not booting.]

Yup. One of the few magic partitions is root - it has to be a for the
system to boot

> How do I fix this?  How do I change the root partition from using "e" to 
> "a"?  I would think I could use disklabel to map the "a" partition to the 
> same range of blocks as the "e" partition, remake the special dev files, 
> and be done with it.

Yup, that's the way you fix it.

> However, I am wanting some second opinions on this, 
> and since I am not a disklabel guru, some guidance on how to use disklabel 
> without screwing up my system would be appreciated.

Basically, run "disklabel -e /dev/da0s1". That will create a temporary
file with the disklabel in it, and open an editor on that file. Delete
the line - if it exists - for a, copy the e line to where it was, and
then change the initial e to an a. Then save the file and exit the
editor. Fix your fstab to refer to da0s1a instead of da0s1e, and
reboot.

	<mike
-- 
Mike Meyer <mwm@mired.org>		http://www.mired.org/consulting.html
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?15973.8372.371147.943043>