From owner-freebsd-questions Tue Mar 4 13:55: 4 2003 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 F2BE837B401 for ; Tue, 4 Mar 2003 13:55:02 -0800 (PST) Received: from mired.org (ip68-97-54-220.ok.ok.cox.net [68.97.54.220]) by mx1.FreeBSD.org (Postfix) with SMTP id D87CB43FBD for ; Tue, 4 Mar 2003 13:55:01 -0800 (PST) (envelope-from mwm-dated-1047246901.8cfa85@mired.org) Received: (qmail 36285 invoked from network); 4 Mar 2003 21:55:01 -0000 Received: from localhost.mired.org (HELO guru.mired.org) (127.0.0.1) by localhost.mired.org with SMTP; 4 Mar 2003 21:55:01 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15973.8372.371147.943043@guru.mired.org> Date: Tue, 4 Mar 2003 15:55:00 -0600 To: chad@shire.net Cc: freebsd-questions@freebsd.org, chad@pengar.com Subject: Re: partition is "e" should be "a" -- how to fix? In-Reply-To: References: X-Mailer: VM 7.07 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`; h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ From: Mike Meyer X-Delivery-Agent: TMDA/0.70 (Pensive) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In , Chad Leigh 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. 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