From owner-freebsd-hackers Thu Jul 27 9:36:59 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from pike.osd.bsdi.com (pike.osd.bsdi.com [204.216.28.222]) by hub.freebsd.org (Postfix) with ESMTP id 4DC7C37BC1F for ; Thu, 27 Jul 2000 09:36:56 -0700 (PDT) (envelope-from jhb@pike.osd.bsdi.com) Received: (from jhb@localhost) by pike.osd.bsdi.com (8.9.3/8.9.3) id JAA76849; Thu, 27 Jul 2000 09:36:37 -0700 (PDT) (envelope-from jhb) From: John Baldwin Message-Id: <200007271636.JAA76849@pike.osd.bsdi.com> Subject: Re: unable to use disklabel -B from fixit floppy? In-Reply-To: <14719.60144.794393.763015@gargle.gargle.HOWL> from John Reynolds at "Jul 27, 2000 00:55:28 am" To: John Reynolds Date: Thu, 27 Jul 2000 09:36:37 -0700 (PDT) Cc: hackers@FreeBSD.org X-Mailer: ELM [version 2.4ME+ PL68 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG John Reynolds wrote: > > Hello all ... hope this is the right group for this .... Umm, well. First off, disklabel -B doesn't fix your MBR. fdisk does that, or boot0cfg if you are using boot0 to dual-boot. However, can you type disklabel ad0 now and get useful information? Or disklabel ad0sX (where X is the slice number for your FreeBSD slice)? > So, then I just fell back to method #2 which I've done before in going into the > partition editor within sysinstall, editing NOTHING but hitting 'w' to write > the current information along with the boot sector. This happily worked. Yes, this touches the MBR. The disklabel command serves the same purpose as the label editor in sysinstall. IOW, you use disklabel to lay out partitions (a-h) within a FreeBSD slice. > But, why did I get the wierd error above? Previously I had compiled and > installed a new 4.1-STABLE world. Is the disklabel command from 4.0 somehow > incompatible with device entries or something else in 4.1-STABLE? See if disklabel ad0 works now. -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message