I got my copy of deus ex:Iw today and desided to install windows XP on my system cause it didn't run well in win98, but i ended up screwing up my partition table...
I had a dual booting machine with mandrake 9.1 and win98 SE.
XP replaced Lilo with it's own bootloader, so i decided to boot in rescue mode with my mandrake cd, and chose to install lilo again. Guess i shouldn't have done that because nothing wanted to boot anymore...
So i went back in reascue mode.
when i print the partition table from fdisk i get the following :
Device Boot Start End Blocks Id System
/dev/hda1 1 6271 50371776 5 Extended
/dev/hda2 * 6272 14945 69673905 7 HPFS/NTFS
/dev/hda5 1 1024 8225217 83 Linux
/dev/hda6 3575 3675 811251 82 Linux swap
/dev/hda7 3676 6271 20852338+ 83 Linux
however typing lspart in the rescue console gives me the following partitions :
hda2 : NTFS 86040 MB
hda5 : Ext3 : / 8032 MB
hda6 : Fat32 Lba mode (win98SE) 20002 MB
hda7 : Swap 792 MB
hda8 : Ext3 : /home 20363 MB
so i mounted hda5, went to /etc/fstab and changed the values accordingly, then changed my lilo.conf and installed lilo again.
Now my machine boots again in mandrake and i can mount all my partitions and see the data on them.
I tried diskdrake but it gives me this error :
" I can't read the partition table of device hda, it's too corrupted for me
I can try to go on, erasing over bad partitions (ALL DATA will be lost!).
The other solution is to not allow DrakX to modify the partition table.
(the error is extended partition: more than one normal partition in extended partition.
Do you agree to loose all the partitions? "
when i answer "no" i see all my partitions like they should be, but i can't change them. saving the partition table to a file and trying to restore it gives me this error when i try to write the table :
"a read-only table should not be dirty ! "
Am I doomed to reinstall my whole system or can i still fix the partition table ?
Any help is greatly appreciated !