On Sat, Sep 26, 2009 at 07:06:04AM +0400, James Brown wrote:
> Very thanks.
> I have tried fdisk -l -u and I have had the next :
> ~$ sudo fdisk -l -u
> [sudo] password for igor:
> 
> Disk /dev/sda: 500 GB, 500105249280 bytes
> 255 heads, 63 sectors/track, 60801 cylinders, total 976768065 sectors
> Units = sectors of 1 * 512 = 512 bytes
> 
>    Device Boot      Start         End      Blocks   Id  System
> /dev/sda1              63     8177084     4088511   12  Compaq diag
> /dev/sda2   *     8177085    83762909    37784880    c  FAT32 LBA
> /dev/sda4        83762910   863124254   389672640    5  Extended
> /dev/sda5        83762973    84453704      337365   83  Linux
> Warning: Partition 5 does not end on cylinder boundary.
> /dev/sda6        84453768    94221224     4875727   83  Linux
> Warning: Partition 6 does not end on cylinder boundary.
> /dev/sda7        94221288   100084949     2923830   83  Linux
> Warning: Partition 7 does not end on cylinder boundary.
> /dev/sda8       100085013   102799934     1349460   82  Linux swap
> Warning: Partition 8 does not end on cylinder boundary.
> /dev/sda9       102799998   103587119      385560   83  Linux
> Warning: Partition 9 does not end on cylinder boundary.
> /dev/sda10      103587183   863124254   379760535   83  Linux
> Warning: Partition 10 does not end on cylinder boundary.
> /dev/sda3       863124255   976768064    56813872    c  FAT32 LBA
> 
> So, there are no overlaps, but there are some gaps.

The gaps make sense.

The reason is the way extended partitions work.  An extended partition
contains a partition table with one primary partition and another extended
partition.  The primary partition is your logical partitions, and the
extended partition is the space of the remaining logical partitions.

So your layout appears to be:

partition                           start                  end
----(partition table)                   0                   62
sda1(primary)                          63              8177084
sda2(primary)                     8177085             83762909
sda4(extended)                   83762910            863124254
 sda4(partition table)           83762910             83762972
 sda5(primary)                   83762973             84453704
 ----(extended)                  84453705            863124254
  ----(partition table)          84453705             84453767
  sda6(primary)                  84453768             94221224
  ----(extended)                 94221225            863124254
   ----(partition table)         94221225             94221287
   sda7(primary)                 94221288            100084949
   ----(extended)               100084950            863124254
    ----(partition table)       100084950            100085012
    sda8(primary)               100085013            102799934
    ----(extended)              102799935            863124254
     ----(partition table)      102799935            102799997
     sda9(primary)              102799998            103587119
     ----(extended)             103587120            863124254
      ----(partition table)     103587120            103587182
      sda10(primary)            103587183            863124254
sda3(primary)                   863124255            976768064

Looks fine to me.

-- 
Len Sorensen


-- 
To UNSUBSCRIBE, email to debian-laptop-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to