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

Re: multi-boot cfdisk warning: is it broke? How do I fix?



Charles Blair <c-blair@Illinois.edu> writes:

> FATAL ERROR: Bad primary partition 2: Partition ends in the final partial cylinder
>
>    fdisk -l /dev/sda gives:
>
> Disk /dev/sda: 320.1 GB, 320072933376 bytes
> 255 heads, 63 sectors/track, 38913 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disk identifier: 0xbb0c5abb
>
>    Device Boot      Start         End      Blocks   Id  System
> /dev/sda1               1         192     1536000   27  Unknown
> /dev/sda2             192       12349    97656250    7  HPFS/NTFS
> /dev/sda3           37264       38914    13248512   17  Hidden HPFS/NTFS
> /dev/sda4           12350       37264   200128513    5  Extended
> /dev/sda5   *       12350       12392      340992   83  Linux
> /dev/sda6           12392       13486     8787968   83  Linux
> /dev/sda7           13486       13851     2928640   83  Linux
> /dev/sda8           13851       14826     7827456   82  Linux swap / Solaris
> /dev/sda9           14826       14874      389120   83  Linux
> /dev/sda10          14874       37264   179849216   83  Linux
>
> Partition table entries are not in disk order

When the partitions are not listed in disk order, how does one know
which of them is the "bad" one?


BTW, try fdisk -luc instead of fdisk -l.  There's also other fdisk
programs like parted and cfdisk, perhaps they can give more detailed
information.

If you plan to re-partition sda1--3 and to leave the rest untouched and
if the "bad" partition is one of sda1--3, you should be able to get away
without damaging the other partitions.  In any case, make backups before
you do anything.


-- 
html messages are obsolete


Reply to: