On Sat, Oct 14, 2000 at 07:20:26PM +0200, Trevor Miranda typed:
> Disk /dev/hda: 2096 cylinders, 255 heads, 63 sectors/track
> Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
>
> Device Boot Start End #cyls #blocks Id System
> /dev/hda1 * 0+ 637 638- 5124703+ b Win95 FAT32
> /dev/hda2 638 639 2 16065 83 Linux
> /dev/hda3 677 2095 1419 11398117+ f Win95 Ext'd (LBA)
> /dev/hda4 0 - 0 0 0 Empty
> /dev/hda5 677+ 868 192- 1542177 83 Linux
> /dev/hda6 869+ 877 9- 72261 82 Linux swap
> /dev/hda7 878+ 1316 439- 3526236 83 Linux
> /dev/hda8 1317+ 2095 779- 6257286 7 HPFS/NTFS
> start: (c,h,s) expected (1023,254,63) found (1023,1,1)
> ______________________________________________________________________
>
>
> >If you're adventurous enough, you could manually edit the partition
> >table
> Yeah I'm adventurous :-) Any pointers Kala on how to go about it?
Couldn't figure out the last message that says "start: (c,h,s) expected
(1023,254,63) found (1023,1,1)".
Anyway - try this using fdisk first before trying out the manual editing.
a) First of all - use the "u" command to switch to sector mode of display
as opposed to Cylinder mode.
b) Use the "p" command to list the partitions. Note down the last sector
number of the hda2 partition (set me call it l2) and the start sector
number of the hda3 partition (I'll refer to it as s3)
c) Use the "n" command to create the new partition - Select "p" for
primary partition and "4" for creating partition No. hda4
d) When prompted for starting sector no, enter (e2+1) as the value. (The
default specified should normally be this - and you can hit the enter
key is the default is the same as your calculated number)
e) When prompted for the ending sector number, enter the value (s3-1). I
suspect it might give you a different default value here (i.e. if it had
been creating invalid partitions before due to reasons unknown :-)). So
force the value to be s3-1.
f) Write the partition table to disk using the 'w" command.
Your partition table should hopefully be OK now..
Best of luck :):):)
Kala
----------------------------------------------
The mailing list archives are available at
http://lists.linux-india.org/cgi-bin/wilma/LIH