Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Apr 2001 11:17:07 +0100
From:      Rasputin <rara.rasputin@virgin.net>
To:        stable@freebsd.org
Subject:   Disklabel 101?
Message-ID:  <20010405111707.A35325@dogma.freebsd-uk.eu.org>

next in thread | raw e-mail | index | archive | help

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:

<PHYSICAL><-----EXTENDED-----><------PHYSICAL------------>

 ad0s1    ad0s5    ad0s6      ad0s3
<-winXX--><-msdos-><Slackware><-------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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010405111707.A35325>