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

resize partition with qtparted and "head 255 greater than maximum 16"



Hi,

I haa a fully populated disk hda in which the first two primary
partitions were fat32. The first one had Windows XP in it and the second
 one had non-OS data.

I wanted to shrink the second one to enlarge the first one.

I used Knoppix 4.02 CD and qtparted to shrink the second one by 3.16G. I
can boot into Windows XP and Debian now, but in Debian I get this when I
run "fdisk /dev/hda":

Command (m for help): v
Partition 2 does not end on cylinder boundary.
Partition 2: head 255 greater than maximum 16
6649951 unallocated sectors



And I also noticed that in qtparted, right after committing the shrink
partition change, none of the paritions would let me change their size
(right click popup menu on partition had all entries grayed out, except
that of "properties").

Any suggestions how to fix the "cylinder boundary" problem above?

thanks,
->HS
PS: Here is the current partition table (I can give the original one too
if needed):
###############################################################
~# sfdisk -d /dev/hda
# partition table of /dev/hda
unit: sectors

/dev/hda1 : start=       63, size= 23437953, Id= c, bootable
/dev/hda2 : start= 23438835, size= 16787925, Id= c
/dev/hda3 : start= 46875024, size=101954160, Id= f
/dev/hda4 : start=148829184, size=  7472304, Id=83
/dev/hda5 : start= 46875087, size=   391041, Id=83, bootable
/dev/hda6 : start= 47266191, size=   976689, Id=83
/dev/hda7 : start= 48242943, size= 13671441, Id=83
/dev/hda8 : start= 61914447, size=  3905937, Id=83
/dev/hda9 : start= 65820447, size=  1953441, Id=83
/dev/hda10: start= 67773951, size=  1953441, Id=83
/dev/hda11: start= 69727455, size= 39061953, Id=83
/dev/hda12: start=108789471, size=  1953441, Id=82
/dev/hda13: start=110742975, size=   976689, Id=83
/dev/hda14: start=111719727, size= 13671441, Id=83
/dev/hda15: start=125391231, size=  1953441, Id=83
/dev/hda16: start=127344735, size=  1953441, Id=83
/dev/hda17: start=129298239, size= 19530945, Id=83
###############################################################


And the following info is from fdisk "p" option:
###############################################################
Command (m for help): p

Disk /dev/hda: 80.0 GB, 80026361856 bytes
16 heads, 63 sectors/track, 155061 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1       23252    11718976+   c  W95 FAT32 (LBA)
/dev/hda2           23253       39908     8393962+   c  W95 FAT32 (LBA)
Partition 2 does not end on cylinder boundary.
/dev/hda3           46504      147648    50977080    f  W95 Ext'd (LBA)
/dev/hda4          147649      155061     3736152   83  Linux
/dev/hda5   *       46504       46891      195520+  83  Linux
/dev/hda6           46892       47860      488344+  83  Linux
/dev/hda7           47861       61423     6835720+  83  Linux
/dev/hda8           61424       65298     1952968+  83  Linux
/dev/hda9           65299       67236      976720+  83  Linux
/dev/hda10          67237       69174      976720+  83  Linux
/dev/hda11          69175      107926    19530976+  83  Linux
/dev/hda12         107927      109864      976720+  82  Linux swap / Solaris
/dev/hda13         109865      110833      488344+  83  Linux
/dev/hda14         110834      124396     6835720+  83  Linux
/dev/hda15         124397      126334      976720+  83  Linux
/dev/hda16         126335      128272      976720+  83  Linux
/dev/hda17         128273      147648     9765472+  83  Linux
###############################################################



Reply to: