Fixing a bad partition table
I had been using SuSE for a while, but recently I made the mistake of installing Fedora Core 2. Like many other people, it arsed up my partitions and I could no longer boot my Windows XP partition. I did manage to work around the problem though by entering the following command as root.
sfdisk -d /dev/hda | sfdisk --no-reread --force -H255 /dev/hda
Windows would now boot, it complained about an invalid boot.ini, but it worked.
Anyway now I am trying to install Slackware 10 and get rid of the Fedora nightmare. But when I start cfdisk I get the following error:
FATAL ERROR: Bad primary partition 2: Partition ends in the final partial cylind
Press any key to exit cfdisk
So it seems Fedora has decided to fuck me over once again. What I would like to know is, do I have any hope of fixing this without having to just wipe my entire hard drive and reformat/partition it? I really don't want to lose my windows data, or waste the time it takes to install it.
Any help would be very greatly appreciated.