Partition wrote as "Primary Bootable" seems messed up my HD
Posted: 16 Aug 2015, 15:42
Hello all,
I had Ubuntu 12.04 installed with dual boot with Windows.
Due to a failure on the notebook, I removed the hard disk.
Connecting the disk via USB, I tried to access the partitions in Ubuntu 14.04, but they did not appear in the file manager. They appeared only using Gparted, as “ext4”, as unmounted, but I could not mount them. Everything looked OK, as I could see my partitions as they were before notebook crash, but no way to mount them. The partition with important data was one ext4 (158 GB).
When running testdisk, trying to solve the problem, the Linux and windows partitions could be seen there, but when by pressing “P” to see the files, no file could be seen (although I'm sure they are there).
Then I did what I'm afraid has been the big mistake: I changed a partition that had no indication of partition type to “*=Primary bootable”, and wrote the partition table with testdisk.
After that, even with Gparted the partitions do not appear as ext4 anymore. They appear as partition and file system “unallocated” and partition as /dev/sdc1 and file system “unknown”.
Currently, the analyse with testdisk states:
____________________________________________________________________________
TestDisk 6.14, Data Recovery Utility, July 2013
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
Disk /dev/sdc - 320 GB / 298 GiB - CHS 38913 255 63
Current partition structure:
Partition Start End Size in sectors
No ext2, JFS, Reiser, cramfs or XFS marker
1 * Linux 12304 211 4 19599 57 42 117184512
1 * Linux 12304 211 4 19599 57 42 117184512
and, with “Quick Search”:
Disk /dev/sdc - 320 GB / 298 GiB - CHS 38913 255 63
Partition Start End Size in sectors
HPFS - NTFS 0 32 33 25 126 37 407552 [SYSTEM]
HPFS - NTFS 25 126 38 12183 53 30 195313664
Linux Swap 12183 53 31 12304 178 34 1951744
> Linux 12304 211 4 19599 57 42 117184512
Linux 19599 90 12 38900 4 16 310065152
FAT32 LBA 38900 4 17 38913 70 5 212992 [HP_TOOLS]
The most important partition to me is the Linux 19599 one.
I have the testdisk log file, but I'm not sure whether it logged everything from the beginning of my attempts.
I've also tried to move the hard disk to another notebook, but the results have been the same...
Can anyone help me please?
Thanks!
Júlio.
I had Ubuntu 12.04 installed with dual boot with Windows.
Due to a failure on the notebook, I removed the hard disk.
Connecting the disk via USB, I tried to access the partitions in Ubuntu 14.04, but they did not appear in the file manager. They appeared only using Gparted, as “ext4”, as unmounted, but I could not mount them. Everything looked OK, as I could see my partitions as they were before notebook crash, but no way to mount them. The partition with important data was one ext4 (158 GB).
When running testdisk, trying to solve the problem, the Linux and windows partitions could be seen there, but when by pressing “P” to see the files, no file could be seen (although I'm sure they are there).
Then I did what I'm afraid has been the big mistake: I changed a partition that had no indication of partition type to “*=Primary bootable”, and wrote the partition table with testdisk.
After that, even with Gparted the partitions do not appear as ext4 anymore. They appear as partition and file system “unallocated” and partition as /dev/sdc1 and file system “unknown”.
Currently, the analyse with testdisk states:
____________________________________________________________________________
TestDisk 6.14, Data Recovery Utility, July 2013
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
Disk /dev/sdc - 320 GB / 298 GiB - CHS 38913 255 63
Current partition structure:
Partition Start End Size in sectors
No ext2, JFS, Reiser, cramfs or XFS marker
1 * Linux 12304 211 4 19599 57 42 117184512
1 * Linux 12304 211 4 19599 57 42 117184512
and, with “Quick Search”:
Disk /dev/sdc - 320 GB / 298 GiB - CHS 38913 255 63
Partition Start End Size in sectors
HPFS - NTFS 0 32 33 25 126 37 407552 [SYSTEM]
HPFS - NTFS 25 126 38 12183 53 30 195313664
Linux Swap 12183 53 31 12304 178 34 1951744
> Linux 12304 211 4 19599 57 42 117184512
Linux 19599 90 12 38900 4 16 310065152
FAT32 LBA 38900 4 17 38913 70 5 212992 [HP_TOOLS]
The most important partition to me is the Linux 19599 one.
I have the testdisk log file, but I'm not sure whether it logged everything from the beginning of my attempts.
I've also tried to move the hard disk to another notebook, but the results have been the same...
Can anyone help me please?
Thanks!
Júlio.