Help!
I have been running a dual boot (Fedora Core 4 and WinXP) system for about a year now. I had the following partition table on one 80 gb HD:
30gb NTFS Windows
29gb Ext3 Linux (Extended Partition)
1gb Swap partition for linux (Extended Partition)
20gb FAT32 shared over the two drives (Extended Partition)
Having run out of space on the FAT32 partition I wanted to move some of the space from the windows partition to the FAT32 partition using partition magic.
To do this I removed 9gb from the NTFS partition and ended up with
20gb NTFS Windows
9gb UNALLOCATED
29gb Ext3 Linux (Extended Partition)
1gb Swap partition for linux (Extended Partition)
20gb FAT32 shared over the two drives (Extended Partition)
Then I added the 9gb to the Extended Partition and BANG!
I could no longer boot the system. I got error 17 from the GRUB LOADER.
I have managed to get windows operational again but cannot get back into linux.
I have tried using the Fedora recovery disc but it gives the error:
Error mounting file system on hda5: Invalid arg
and then does not detect any linux partitions.
I have tried using a Knoppix CD to boot and once I am in Knoppix I get the error:
Could not mount device. The reported error was:
mount: wrong fs type, bad option, bad superblock on /dev/hda5 or too many mounted file systems
when trying to browse hda5 (which I am sure is the linux partition).
From Knoppix I ran fdisk- l and it provided the following:
Device Boot Start End Blocks Id System
/dev/hda1 * 1 2550 20482843+ c W95 FAT32 (LBA)
/dev/hda2 2551 9729 57665317+ f W95 Ext'd (LBA)
/dev/hda5 3825 7519 29680024+ 83 Linux
/dev/hda6 7520 7649 1044193+ 82 Linux Swap
/dev/hda7 7650 9729 16707508+ b W95 FAT32
I also ran testdisk and got the following:
Disk /dev/hda - CHS 9729 255 63 - 76316 MB
Check current partition structure
Partition Start End Size
1* FAT32 LBA 0 1 1 2549 254 63 4095687
2E Extended LBA 2550 0 1 9728 254 63 115330635
X Extended 3824 0 1 7518 254 63 59360112
No Ext2 or Reiser Marker
5L Linux ext2fs 3824 1 1 7518 254 63 59360049
5L Linux ext2fs 3824 1 1 7518 254 63 59360049
X Extended 7519 0 1 7648 254 63 2088450
6L Linux swap 7519 1 1 7648 254 63 2088450
X Extended 7649 0 1 9728 254 63 33415200
7L FAT32 7649 1 1 9728 254 63 33415137
I thought attempting to return the HD to the original state by using partition magic may resolve the problem but when I start partition magic I get an error saying:
Disk one appears to have partitions created using a different geometry... blah blah blah
and then an error saying:
Init failed: Error 117.
Partition's drive letter cannot be identified.
However, when browsing the HD in windows disk management everything looks healthy and then "unknown" partition type is still there and the correct size.
Is there any way I can fix this? Can i recover the partition? or can I recover the data at least?
I am extremely desperate.... I would even throw in a reward for advice that resolves my problem or at least allows me to recover the data from the linux partition.
thank you,
Sebastien Gerega
I have been running a dual boot (Fedora Core 4 and WinXP) system for about a year now. I had the following partition table on one 80 gb HD:
30gb NTFS Windows
29gb Ext3 Linux (Extended Partition)
1gb Swap partition for linux (Extended Partition)
20gb FAT32 shared over the two drives (Extended Partition)
Having run out of space on the FAT32 partition I wanted to move some of the space from the windows partition to the FAT32 partition using partition magic.
To do this I removed 9gb from the NTFS partition and ended up with
20gb NTFS Windows
9gb UNALLOCATED
29gb Ext3 Linux (Extended Partition)
1gb Swap partition for linux (Extended Partition)
20gb FAT32 shared over the two drives (Extended Partition)
Then I added the 9gb to the Extended Partition and BANG!
I could no longer boot the system. I got error 17 from the GRUB LOADER.
I have managed to get windows operational again but cannot get back into linux.
I have tried using the Fedora recovery disc but it gives the error:
Error mounting file system on hda5: Invalid arg
and then does not detect any linux partitions.
I have tried using a Knoppix CD to boot and once I am in Knoppix I get the error:
Could not mount device. The reported error was:
mount: wrong fs type, bad option, bad superblock on /dev/hda5 or too many mounted file systems
when trying to browse hda5 (which I am sure is the linux partition).
From Knoppix I ran fdisk- l and it provided the following:
Device Boot Start End Blocks Id System
/dev/hda1 * 1 2550 20482843+ c W95 FAT32 (LBA)
/dev/hda2 2551 9729 57665317+ f W95 Ext'd (LBA)
/dev/hda5 3825 7519 29680024+ 83 Linux
/dev/hda6 7520 7649 1044193+ 82 Linux Swap
/dev/hda7 7650 9729 16707508+ b W95 FAT32
I also ran testdisk and got the following:
Disk /dev/hda - CHS 9729 255 63 - 76316 MB
Check current partition structure
Partition Start End Size
1* FAT32 LBA 0 1 1 2549 254 63 4095687
2E Extended LBA 2550 0 1 9728 254 63 115330635
X Extended 3824 0 1 7518 254 63 59360112
No Ext2 or Reiser Marker
5L Linux ext2fs 3824 1 1 7518 254 63 59360049
5L Linux ext2fs 3824 1 1 7518 254 63 59360049
X Extended 7519 0 1 7648 254 63 2088450
6L Linux swap 7519 1 1 7648 254 63 2088450
X Extended 7649 0 1 9728 254 63 33415200
7L FAT32 7649 1 1 9728 254 63 33415137
I thought attempting to return the HD to the original state by using partition magic may resolve the problem but when I start partition magic I get an error saying:
Disk one appears to have partitions created using a different geometry... blah blah blah
and then an error saying:
Init failed: Error 117.
Partition's drive letter cannot be identified.
However, when browsing the HD in windows disk management everything looks healthy and then "unknown" partition type is still there and the correct size.
Is there any way I can fix this? Can i recover the partition? or can I recover the data at least?
I am extremely desperate.... I would even throw in a reward for advice that resolves my problem or at least allows me to recover the data from the linux partition.
thank you,
Sebastien Gerega