From owner-freebsd-stable Thu Apr 5 3:17:16 2001 Delivered-To: freebsd-stable@freebsd.org Received: from probity.mcc.ac.uk (probity.mcc.ac.uk [130.88.200.94]) by hub.freebsd.org (Postfix) with ESMTP id 091D137B423 for ; Thu, 5 Apr 2001 03:17:13 -0700 (PDT) (envelope-from rasputin@freebsd-uk.eu.org) Received: from dogma.freebsd-uk.eu.org ([130.88.200.97] ident=root) by probity.mcc.ac.uk with esmtp (Exim 2.05 #4) id 14l6pC-0009yy-00 for stable@freebsd.org; Thu, 5 Apr 2001 11:17:10 +0100 Received: (from rasputin@localhost) by dogma.freebsd-uk.eu.org (8.11.1/8.11.1) id f35AH7E35540 for stable@freebsd.org; Thu, 5 Apr 2001 11:17:07 +0100 (BST) (envelope-from rasputin) Date: Thu, 5 Apr 2001 11:17:07 +0100 From: Rasputin To: stable@freebsd.org Subject: Disklabel 101? Message-ID: <20010405111707.A35325@dogma.freebsd-uk.eu.org> Reply-To: Rasputin Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Is there a decent walkthrough anywhere on the Net for using disklabel, fdisk , etc - along with an explanation of what a,c etc all mean? man disklabel etc all assume you know what those letters mean. I know c is the whole partition, but that's it. I need to know because: <-----EXTENDED-----><------PHYSICAL------------> ad0s1 ad0s5 ad0s6 ad0s3 <-winXX--><-msdos-><-------BSD----------------> | 2Gb | 1.5Gb | 2Gb | / | swap | /usr | /var | ^ | I have an old Slackware partition that has FUBARed itself so throuoghly that it can't even be mounted. (Actually there were about 3 partitions in there, but they're lost now) It's in the second logical partition in an extended DOS partition on my second physical partition (dev/ad0s6 in FreeBSD) There's a Gb of data in ad0s5 (which is fine). BSD dumps ad0s6 altogether when it boots; and fdisk from a boot CD says something along the lines of: "Second slice extended past end of disk" or similar (box is offline today, so I can't check right now) This concerns me; if I try to fdisk/newfs ad0s2 (assuming I could see it), I risk losing ad0s3, which is the only bit of the disk I really want to keep. I assume/hope that if I blow away the extended partition entirely, I can just recreate it. But I don't really know what it's called? Is it ad0s2? And won't I need to let BSD know where / has moved to? What I'd really like is some advice from anyone who knows this stuff. But I'm surprised the Handbook doesn't go into a lot of detail on this, since dual-boot systems are fairly common amongst cheapskates like me. If I can free up that 2Gb, maybe I'll have space for the docproj port... :) -- Rasputin Jack of All Trades :: Master of Nuns To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message