Disk size is incorrect - how to proceed?
Posted: 06 May 2014, 21:27
I have a bit of an unusual problem.
I was trying to recover a corrupted hard drive from an old Dell laptop which no longer boots by connecting the drive as an external USB drive to a newer Samsung netbook. However, I accidentally attempted to boot from the old hard drive and when I next tried to boot the Samsung from it's internal drive, that drive would no longer boot.
The Samsung drive is 160Gb and should have a small recovery partition plus two larger partitions of approx. 75Gb. When I run testdisk from a live Linux USB I get this for the drive:
Disk /dev/sda - 58 GB / 54 GiB - SAMSUNG HM160HI
Hidden sectors are present.
size 114270345 sectors
user_max 114270345 sectors
native_max 312581808 sectors
dco 312581808 sectors
Host Protected Area (HPA) present.
So the drive size has been redefined somehow.
However, the correct partition structure still seems to be there, but with some of it falling outside the range of the disk capacity:
Current partition structure:
Partition Start End Size in sectors
1 P Compaq Diagnostics 0 1 1 913 254 63 14683347
2 * HPFS - NTFS 914 0 1 10188 126 50 148994798
Invalid NTFS or EXFAT boot
3 P HPFS - NTFS 10188 126 51 19457 21 20 148899840
3 P HPFS - NTFS 10188 126 51 19457 21 20 148899840
Testdisk will only look for data with the 58Gb disk volume, so any idea how I get to the rest of the data?
I was trying to recover a corrupted hard drive from an old Dell laptop which no longer boots by connecting the drive as an external USB drive to a newer Samsung netbook. However, I accidentally attempted to boot from the old hard drive and when I next tried to boot the Samsung from it's internal drive, that drive would no longer boot.
The Samsung drive is 160Gb and should have a small recovery partition plus two larger partitions of approx. 75Gb. When I run testdisk from a live Linux USB I get this for the drive:
Disk /dev/sda - 58 GB / 54 GiB - SAMSUNG HM160HI
Hidden sectors are present.
size 114270345 sectors
user_max 114270345 sectors
native_max 312581808 sectors
dco 312581808 sectors
Host Protected Area (HPA) present.
So the drive size has been redefined somehow.
However, the correct partition structure still seems to be there, but with some of it falling outside the range of the disk capacity:
Current partition structure:
Partition Start End Size in sectors
1 P Compaq Diagnostics 0 1 1 913 254 63 14683347
2 * HPFS - NTFS 914 0 1 10188 126 50 148994798
Invalid NTFS or EXFAT boot
3 P HPFS - NTFS 10188 126 51 19457 21 20 148899840
3 P HPFS - NTFS 10188 126 51 19457 21 20 148899840
Testdisk will only look for data with the 58Gb disk volume, so any idea how I get to the rest of the data?