On Thu, Oct 12, 2000 at 01:41:38PM +0200, Trevor Miranda typed:
> Device Boot Start End #cyls #blocks Id System
> /dev/hda3 677 2095 1419 11398117+ f Win95 Ext'd (LBA)
> /dev/hda4 640 677- 38- 297234 83 Linux
^^^^^
> Warning: partition 4 contains part of the partition table (sector 10876005),
> and will destroy it when filled
Your problem seems lies in the fact that the hda4 partition appears to
end on cylinder 677, Head 0, Sector 63 instead of Cylinder 676, Head
254, sector 63 (which should be the correct number) as indicated by the
#blocks field (It comes to 37 full cylinders + 1 head)
The partition had3 (your extended partition) starts on Cylinder 677,
Head 0, Sector 1 and therefore there seems to be an overlap between the
2 partitions (which is indicated by sfdisk).
> Is there any way I can set the partition table right without having to
> repartition the whole disk and losing data?
I don't understand why deleting the partition hda4 and recreating it
using a well-behaved partitioning program doesn't solve your problem.
Could you post the sfdisk results after just deleting the partition
hda4 ?
If you're adventurous enough, you could manually edit the partition
table and fix the error.
Kala
----------------------------------------------
Find out more about this and other Linux India
mailing lists at http://lists.linux-india.org/