Former internal MacBook drive not recognized as external drive
Posted: 18 Jul 2020, 17:49
Hello!
I have a 1TB HGST drive that I pulled from my MacBook Pro 6 months ago, and replaced it with an SSD. When I attempted to boot that 1TB drive as an external device yesterday, the drive came up as empty.
In Disk Utility, the volume shows 663GB used, and 999GB free.
I found your tools, and ran Testdisk to see what might be happening:
— the auto partition table was being recognized as EFI GPT
— analyzing it, the partition structure (1 partition for the entire disk capacity) seems to be recognized as well, with “Structure: OK”
Here's the testdisk log file:
When I go to pdisk, to check the current partition map here’s what I see:
MacBook-Pro:~ patrick$ sudo pdisk /dev/disk2
pdisk: No valid block 1 on '/dev/disk2'
Edit /dev/disk2 -
Command (? for help): p
No partition map exists
Command (? for help):
From what I’ve read so far, it looks like the data might still be there, but that the partition map/table is not correct. I’m not a sys admin by trade, so I’d appreciate any direction for might have to help me troubleshoot the issue.
Thanks in advance!
I have a 1TB HGST drive that I pulled from my MacBook Pro 6 months ago, and replaced it with an SSD. When I attempted to boot that 1TB drive as an external device yesterday, the drive came up as empty.
In Disk Utility, the volume shows 663GB used, and 999GB free.
I found your tools, and ran Testdisk to see what might be happening:
— the auto partition table was being recognized as EFI GPT
— analyzing it, the partition structure (1 partition for the entire disk capacity) seems to be recognized as well, with “Structure: OK”
Here's the testdisk log file:
Code: Select all
Sat Jul 18 12:25:17 2020
Command line: TestDisk
TestDisk 7.1, Data Recovery Utility, July 2019
Christophe GRENIER <grenier@cgsecurity.org>
https://www.cgsecurity.org
OS: Darwin, kernel 19.5.0 (Darwin Kernel Version 19.5.0: Tue May 26 20:41:44 PDT 2020; root:xnu-6153.121.2~2/RELEASE_X86_64) x86_64
Compiler: GCC 4.2
ext2fs lib: none, ntfs lib: none, reiserfs lib: none, ewf lib: none, curses lib: ncurses 5.7
Hard disk list
Disk /dev/disk2 - 1000 GB / 931 GiB - 244190646 sectors, sector size=4096
Disk /dev/rdisk2 - 1000 GB / 931 GiB - 244190646 sectors, sector size=4096
Partition table type (auto): EFI GPT
Disk /dev/disk2 - 1000 GB / 931 GiB
Partition table type: EFI GPT
Analyse Disk /dev/disk2 - 1000 GB / 931 GiB - 244190646 sectors
hdr_size=92
hdr_lba_self=1
hdr_lba_alt=244190645 (expected 244190645)
hdr_lba_start=6
hdr_lba_end=244190640
hdr_lba_table=2
hdr_entries=128
hdr_entsz=128
Current partition structure:
1 P Mac HFS 256 244190463 244190208 [Apple HFS/HFS+]
search_part()
Disk /dev/disk2 - 1000 GB / 931 GiB - 244190646 sectors
HFS+ magic value at 256/0/1
HFS+ magic value at 256/0/1
part_size 244190208
Mac HFS 256 244190463 244190208
HFS+ blocksize=4096 + Backup, 1000 GB / 931 GiB
Results
P Mac HFS 256 244190463 244190208
HFS+ blocksize=4096 + Backup, 1000 GB / 931 GiB
MacBook-Pro:~ patrick$ sudo pdisk /dev/disk2
pdisk: No valid block 1 on '/dev/disk2'
Edit /dev/disk2 -
Command (? for help): p
No partition map exists
Command (? for help):
From what I’ve read so far, it looks like the data might still be there, but that the partition map/table is not correct. I’m not a sys admin by trade, so I’d appreciate any direction for might have to help me troubleshoot the issue.
Thanks in advance!