Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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.
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.
cfdisk is very fussy. Try fdisk, sfdisk or parted.
If you get in, try reading the partition data for that other OS, in cylinders or sectors. Record that. Clear the table. Re-enter the data for that other OS and write the new table. If you want to use cfdisk to write the new table, you can tell it not to read from the disk with
cfdisk -z Here, set up the new partition table as you like it.