LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   How to repair partition table? (https://www.linuxquestions.org/questions/linux-hardware-18/how-to-repair-partition-table-159240/)

houshuang 03-17-2004 11:04 PM

How to repair partition table?
 
After some messing around with defrag and chckdisk in Linux and Windows to try to get rid of those unmovable system files in XP, so I can resize it down lots of GB and free up space for my Linux (or put it to a fat32 that both systems can use), I somehow managed to screw up my partition table... Linux and Win XP both continue to booth, and Win chckdsk reports nothing wrong, but all Linux repartion tools refuse to cooperate, and fdisk verify partition table gives me this:

Partition 5: head 255 greater than maximum 240
Warning: partition 1 overlaps partition 5.
Partition 6: head 255 greater than maximum 240
Partition 7: head 255 greater than maximum 240
184 unallocated sectors

(part 5 is my root, 6 is /home and 7 is swap. /dev/hda1 is Windows). All tools I have been looking at seem to be good at verifying one partition at a time, but what about a broken partition table?

Thanks in advance
Stian

(PS: I am on a Presario 1076 laptop, 60gb hd)

Axion 03-18-2004 03:10 AM

that's not good...i suggest the first thing you do is backup everything important to a second drive or cd/dvds. imo with dual-booting the best way to go is 2 separate drives. i'm not sure if a windows tool is responsible for overwriting partitions or what...can you paste the output of fdisk p? but I'm sure someone here will be able to help...good luck


All times are GMT -5. The time now is 08:05 PM.