fdisk error messages/partition table woes

fdisk error messages/partition table woes

Post by Amelia A Lew » Tue, 12 Nov 1996 04:00:00



I'm having a little problem that may not actually be a problem.  That is, it
isn't causing any troubles, but the error messages and warnings have me
slightly concerned.

fdisk 1.01, when asked to verify my main drive, complained about overlaps,
partitions not ending on cylinder boundaries, and logical partitions not
wholly inside the extended partition.  I bit the bullet, backed everything
up, and deleted partitions 3-8.  Then I created new ones.  The error
messages are very similar to what I had before.  As far as I can tell, fdisk
doesn't seem to like it when I have two partitions within one 1024-cylinder
block (that is, although hda1 and hda2 aren't considered "overlapping",
hda2, hda3, and hda5, which all have one or more cylinders in the range
1024-2408, are supposed to be overlapping, and the same is true for all the
partitions that have a cylinder in the range 2048-3072).  I *can't* reduce
hda2 by a cylinder (that's my boot partition; trying to fiddle things about
in there strikes me as a recipe for disaster).

Can anyone suggest a reason why the error messages appear?  Or what meaning
the "begin" column has?  I can't find any documentation for either error
messages or the begin column (nor can I figure out how to change the begin
column, for that matter).  Why are all my logical partitions marked as
ending not on a cylinder boundary?  They were created using +cylinders, in
whole cylinders.  BTW, hdb doesn't show any of these problems.

I'd appreciate any feedback, including pointers to detailed documentation
for fdisk.

Here's the output of fdisk -l:

Disk /dev/hda: 16 heads, 63 sectors, 3146 cylinders
Units = cylinders of 1008 * 512 bytes

   Device Boot   Begin    Start      End   Blocks   Id  System
/dev/hda1            1        1      959   483304+   7  OS/2 HPFS
/dev/hda2   *      960      960     1024    32760   83  Linux native
/dev/hda3         1024     1025     1537   258552   83  Linux native
/dev/hda4         1024     1538     3146   810936    5  Extended
/dev/hda5         1024     1538     2050   258520+  83  Linux native
/dev/hda6         2048     2051     2563   258520+  83  Linux native
/dev/hda7         2048     2564     2948   194008+  83  Linux native
/dev/hda8         2048     2949     3146    99760+  83  Linux native

Disk /dev/hdb: 16 heads, 63 sectors, 1046 cylinders
Units = cylinders of 1008 * 512 bytes

   Device Boot   Begin    Start      End   Blocks   Id  System
/dev/hdb1            1        1      261   131512+   6  DOS 16-bit >=32M
/dev/hdb2          262      262      912   328104    5  Extended
/dev/hdb3          913      913      973    30744   83  Linux native
/dev/hdb4          974      974     1046    36792   82  Linux swap
/dev/hdb5          262      262      912   328072+   7  OS/2 HPFS

Here's the message displayed at startup of fdisk [/dev/hda]:

The number of cylinders for this disk is set to 3146.
This is larger than 1024, and may cause problems with:
1) software that runs at boot time (e.g., LILO)
2) booting and partitioning software form other OSs
   (e.g., DOS FDISK, OS/2 FDISK)
Warning: ignoring extra data in partition table 5
Warning: ignoring extra data in partition table 5

Here's the output of the 'v' command:

Warning: partition 2 overlaps partition 3.
Warning: partition 2 overlaps partition 5.
Warning: partition 3 overlaps partition 5.
Warning: partition 5 overlaps partition 6.
Warning: partition 5 overlaps partition 7.
Warning: partition 6 overlaps partition 7.
Warning: partition 5 overlaps partition 8.
Warning: partition 6 overlaps partition 8.
Warning: partition 7 overlaps partition 8.
Logical partition 5 not entirely in partition 4
523205 unallocated sectors

Thanks in advance.

Amy!
--

           To be whole is to be part; true voyage is return.
                                                  -- Ursula K. LeGuin

 
 
 

fdisk error messages/partition table woes

Post by Geoffrey Myer » Tue, 12 Nov 1996 04:00:00



> I'm having a little problem that may not actually be a problem.  That is, it
> isn't causing any troubles, but the error messages and warnings have me
> slightly concerned.

> fdisk 1.01, when asked to verify my main drive, complained about overlaps,
> partitions not ending on cylinder boundaries, and logical partitions not
> wholly inside the extended partition.  I bit the bullet, backed everything
> up, and deleted partitions 3-8.  Then I created new ones.  The error
> messages are very similar to what I had before.  As far as I can tell, fdisk
> doesn't seem to like it when I have two partitions within one 1024-cylinder
> block (that is, although hda1 and hda2 aren't considered "overlapping",
> hda2, hda3, and hda5, which all have one or more cylinders in the range
> 1024-2408, are supposed to be overlapping, and the same is true for all the
> partitions that have a cylinder in the range 2048-3072).  I *can't* reduce
> hda2 by a cylinder (that's my boot partition; trying to fiddle things about
> in there strikes me as a recipe for disaster).

> Can anyone suggest a reason why the error messages appear?  Or what meaning
> the "begin" column has?  I can't find any documentation for either error
> messages or the begin column (nor can I figure out how to change the begin
> column, for that matter).  Why are all my logical partitions marked as
> ending not on a cylinder boundary?  They were created using +cylinders, in
> whole cylinders.  BTW, hdb doesn't show any of these problems.

> I'd appreciate any feedback, including pointers to detailed documentation
> for fdisk.

> Here's the output of fdisk -l:

> Disk /dev/hda: 16 heads, 63 sectors, 3146 cylinders
> Units = cylinders of 1008 * 512 bytes

>    Device Boot   Begin    Start      End   Blocks   Id  System
> /dev/hda1            1        1      959   483304+   7  OS/2 HPFS
> /dev/hda2   *      960      960     1024    32760   83  Linux native
> /dev/hda3         1024     1025     1537   258552   83  Linux native
> /dev/hda4         1024     1538     3146   810936    5  Extended
> /dev/hda5         1024     1538     2050   258520+  83  Linux native
> /dev/hda6         2048     2051     2563   258520+  83  Linux native
> /dev/hda7         2048     2564     2948   194008+  83  Linux native
> /dev/hda8         2048     2949     3146    99760+  83  Linux native

I don't, but it appears to me that you have partitions /dev/hda3,
/dev/hda4 and
/dev/hda5 beginning at the same sector, which would in fact say you have
an overlap.

The same problem appears to exist with hda6, hda7 and hda8.  The way I
understand it
is that Begin indicates the beginning of the partition and Start is
where the data
starts on the partition.  I don't think you want partitions starting on
the same
sector.

If hda2 ends at 1024, you would want hda3 to start at 1025.

- Show quoted text -

> Disk /dev/hdb: 16 heads, 63 sectors, 1046 cylinders
> Units = cylinders of 1008 * 512 bytes

>    Device Boot   Begin    Start      End   Blocks   Id  System
> /dev/hdb1            1        1      261   131512+   6  DOS 16-bit >=32M
> /dev/hdb2          262      262      912   328104    5  Extended
> /dev/hdb3          913      913      973    30744   83  Linux native
> /dev/hdb4          974      974     1046    36792   82  Linux swap
> /dev/hdb5          262      262      912   328072+   7  OS/2 HPFS

> Here's the message displayed at startup of fdisk [/dev/hda]:

> The number of cylinders for this disk is set to 3146.
> This is larger than 1024, and may cause problems with:
> 1) software that runs at boot time (e.g., LILO)
> 2) booting and partitioning software form other OSs
>    (e.g., DOS FDISK, OS/2 FDISK)
> Warning: ignoring extra data in partition table 5
> Warning: ignoring extra data in partition table 5

> Here's the output of the 'v' command:

> Warning: partition 2 overlaps partition 3.
> Warning: partition 2 overlaps partition 5.
> Warning: partition 3 overlaps partition 5.
> Warning: partition 5 overlaps partition 6.
> Warning: partition 5 overlaps partition 7.
> Warning: partition 6 overlaps partition 7.
> Warning: partition 5 overlaps partition 8.
> Warning: partition 6 overlaps partition 8.
> Warning: partition 7 overlaps partition 8.
> Logical partition 5 not entirely in partition 4
> 523205 unallocated sectors

> Thanks in advance.

> Amy!
> --

>            To be whole is to be part; true voyage is return.
>                                                   -- Ursula K. LeGuin

--
Until later:

        Opinions expressed by me are mine, all mine, only mine.....