[PLUG] Partition table: BAD!

Vincent L. Damewood vld at damewood.us
Tue Dec 6 02:34:29 UTC 2011


On Mon, Dec 5, 2011 at 1:16 PM, Robert Kopp <iconoklastic at yahoo.com> wrote:
> I could not modify the contents of my second drive with gparted, and the partition table looks like this: /dev/sdb1   * 7822369801953529577 585646299   a5  FreeBSD
> /dev/sdb2 235352062 782227455   273437697    5  Extended
> /dev/sdb5       235352064   245116927     4882432   82  Linux swap / Solaris
> /dev/sdb6       245118976   293945343    24413184   83  Linux
> /dev/sdb7       293947392   782227455   244140032   83  Linux
> Says, "Unallocated."

> The situation is that FreeBSD is really at the high end of the drive, primary partition, should be sdb8.

Primary partitions are always sdb1, sdb2, sdb3, or sdb4. Never 5+. 5+
are for logical partitions within an extended partition.

> Where sdb1 really is should be free space starting at the beginning, probably 63, and going to just before sdb2, or 235352062.

Free space isn't given an identifier, so it isn't going to be sdb1 or
sdb<anything>.

> Does someone know how to do this, or where I could find out how to do it (probably with fdisk?).

The numeric portion of the identifier isn't used to identify the order
on the disk that the partitions have. It's fairly normal that they'd
be out of order like that if you set the FreeBSD partition up before
your Extended partition. If you want to get it in the right order, I
think what you do is run fdisk, go into extra functionality mode
(press x), and 'fix partition order' (press f). I'm not sure, but I
suspect it will make sdb2 into sdb1, and sdb1 will become sdb2 (their
order on the disk).

>
> Robert "Tim" Kopp
> http://analytic.tripod.com/
> _______________________________________________
> PLUG mailing list
> PLUG at lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug



-- 
Vincent L. Damewood
+1.503.926.4563
http://damewood.us/



More information about the PLUG mailing list