bug-parted
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug report


From: Joern Tappe
Subject: bug report
Date: Tue, 10 Apr 2001 21:50:43 +0000

Dear Parted-Team,

Using GNU Parted 1.4.10 (actually your boot disk version 2),
I successfully resized the Windows partition of a Seagate 40 GB drive,
model ST340823A, and then entered these commands to add new partitions:

> (parted) mkpartfs primary FAT 7012.749 8032.500
> (parted) mkpartfs logical FAT 8032.500 19077.187
> (parted) mkpartfs logical FAT 19077.187 20096.938
> (parted) mkpartfs logical ext2 20096.938 20606.813
> (parted) mkpartfs logical linux-swap 20606.813 20732.321
> (parted) mkpartfs logical ext2 20732.321 24827.013

Upon viewing the newly created partitions with the latest version
of the 'Ranish Partition Manager', I got error messages saying that
several partitions (apparently the Logical Partitions) overlap
another partition. So, I inspected the Partition Sectors of the
Logical Partitions, and found out that the second record of each
Partition Table specifies the number of sectors in a way that all of
the remaining space of the Extended Partition is allocated to the
respective Logical Partition, which indeed constitutes overlapping
partitions:

>                    Starting          Ending        Starting   Number of
>     #  HD  FS    Cyl Head Sect    Cyl Head Sect      sector     sectors
> (1024,0,1):
>     1  00  0C  1,023  254   63  1,023  254   63          63  22,619,457
>     2  00  05  1,023  254   63  1,023  254   63  22,619,520  39,086,145
>                                                              ^^^^^^^^^^
> (2432,0,1):
>     1  00  0E  1,023  254   63  1,023  254   63          63   2,088,387
>     2  00  05  1,023  254   63  1,023  254   63  24,707,970  36,997,695
>                                                              ^^^^^^^^^^
> (2562,0,1):
>     1  00  83  1,023  254   63  1,023  254   63          63   1,044,162
>     2  00  05  1,023  254   63  1,023  254   63  25,752,195  35,953,470
>                                                              ^^^^^^^^^^
> (2627,0,1):
>     1  00  82  1,023  254   63  1,023  254   63          63     256,977
>     2  00  05  1,023  254   63  1,023  254   63  26,009,235  35,696,430
>                                                              ^^^^^^^^^^
> (2643,0,1):
>     1  00  83  1,023  254   63  1,023  254   63          63   8,385,867
>     2  00  00      0    0    0      0    0    0           0           0


As far as I know, the 'traditional' way of specifying the number of
sectors in those partition records which link the Logical Partitions
would yield these table entries for my partition layout:


>                    Starting          Ending        Starting   Number of
>     #  HD  FS    Cyl Head Sect    Cyl Head Sect      sector     sectors
> (1024,0,1):
>     1  00  0C  1,023  254   63  1,023  254   63          63  22,619,457
>     2  00  05  1,023  254   63  1,023  254   63  22,619,520   2,088,450
>                                                               ^^^^^^^^^
> (2432,0,1):
>     1  00  0E  1,023  254   63  1,023  254   63          63   2,088,387
>     2  00  05  1,023  254   63  1,023  254   63  24,707,970   1,044,225
>                                                               ^^^^^^^^^
> (2562,0,1):
>     1  00  83  1,023  254   63  1,023  254   63          63   1,044,162
>     2  00  05  1,023  254   63  1,023  254   63  25,752,195     257,040
>                                                                 ^^^^^^^
> (2627,0,1):
>     1  00  82  1,023  254   63  1,023  254   63          63     256,977
>     2  00  05  1,023  254   63  1,023  254   63  26,009,235   8,385,930
>                                                               ^^^^^^^^^
> (2643,0,1):
>     1  00  83  1,023  254   63  1,023  254   63          63   8,385,867
>     2  00  00      0    0    0      0    0    0           0           0


With these entries, there are no more error messages.

Please leave me a short note as to whether you consider to change
Parted's way of specifying partition sizes accordingly -- or did I chase
a pseudo-bug?

Kind regards,
Joern



reply via email to

[Prev in Thread] Current Thread [Next in Thread]