1TB WD Hard drive not mounting on Mac
Posted: 07 Apr 2012, 23:06
Hi all,
Thanks in advance for your help.
I have a 1TB WD external USB hard drive and accidentally unplugged it without ejecting it from my Macbook. Now, after I unlock it, the hard drive doesn't mount. But I can see the partition in Disk Utility. I think it's just a boot sector issue. No physical issue with the drive.
Here's what I did with testdisk:
Sun Apr 8 02:26:58 2012
Command line: TestDisk
TestDisk 6.13, Data Recovery Utility, November 2011
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
OS: Darwin, kernel 11.3.0 (Darwin Kernel Version 11.3.0: Thu Jan 12 18:47:41 PST 2012; root:xnu-1699.2
Compiler: GCC 4.0
Compilation date: 2011-11-15T08:36:43
ext2fs lib: 1.41.8, ntfs lib: libntfs-3g, reiserfs lib: 0.3.1-rc8, ewf lib: 20100226
User is not root!
Hard disk list
Disk /dev/disk1 - 30 MB / 28 MiB - CHS 12800 1 1 (RO), sector size=2352
Disk /dev/disk2 - 1000 GB / 931 GiB - CHS 1953468416 1 1, sector size=512
Disk /dev/rdisk1 - 30 MB / 28 MiB - CHS 12800 1 1 (RO), sector size=2352
Disk /dev/rdisk2 - 1000 GB / 931 GiB - CHS 1953468416 1 1, sector size=512
Partition table type (auto): Intel
Disk /dev/rdisk2 - 1000 GB / 931 GiB
Partition table type: Intel
Analyse Disk /dev/rdisk2 - 1000 GB / 931 GiB - CHS 1953468416 1 1
Geometry from i386 MBR: head=255 sector=63
BAD_RS LBA=2 1339
NTFS at 2/0/1
heads/cylinder 255 (NTFS) != 1 (HD)
sect/track 63 (NTFS) != 1 (HD)
get_geometry_from_list_part_aux head=1 nbr=2
Current partition structure:
Warning: Incorrect number of heads/cylinder 255 (NTFS) != 1 (HD)
Warning: Incorrect number of sectors per track 63 (NTFS) != 1 (HD)
1 * HPFS - NTFS 2 1953468415 1953468414 [BACKUP]
Warning: Bad starting sector (CHS and LBA don't match)
Ask the user for vista mode
Allow partial last cylinder : Yes
search_vista_part: 1
search_part()
Disk /dev/rdisk2 - 1000 GB / 931 GiB - CHS 1953468416 1 1
NTFS at 2/0/1
heads/cylinder 255 (NTFS) != 1 (HD)
sect/track 63 (NTFS) != 1 (HD)
filesystem size 1953468414
sectors_per_cluster 8
mft_lcn 3
mftmirr_lcn 122091775
clusters_per_mft_record -10
clusters_per_index_record 1
HPFS - NTFS 2 1953468415 1953468414 [BACKUP]
NTFS, 1000 GB / 931 GiB
get_geometry_from_list_part_aux head=1 nbr=2
Results
* HPFS - NTFS 2 1953468415 1953468414 [BACKUP]
NTFS, 1000 GB / 931 GiB
interface_write()
1 * HPFS - NTFS 2 1953468415 1953468414 [BACKUP]
simulate write!
write_mbr_i386: starting...
write_all_log_i386: starting...
No extended partition
Interface Advanced
Geometry from i386 MBR: head=255 sector=63
BAD_RS LBA=2 1339
NTFS at 2/0/1
heads/cylinder 255 (NTFS) != 1 (HD)
sect/track 63 (NTFS) != 1 (HD)
get_geometry_from_list_part_aux head=1 nbr=2
1 * HPFS - NTFS 2 1953468415 1953468414 [BACKUP]
NTFS, 1000 GB / 931 GiB
ntfs_boot_sector
1 * HPFS - NTFS 2 1953468415 1953468414 [BACKUP]
NTFS, 1000 GB / 931 GiB
NTFS at 2/0/1
heads/cylinder 255 (NTFS) != 1 (HD)
sect/track 63 (NTFS) != 1 (HD)
NTFS at 2/0/1
heads/cylinder 255 (NTFS) != 1 (HD)
sect/track 63 (NTFS) != 1 (HD)
filesystem size 1953468414
sectors_per_cluster 8
mft_lcn 3
mftmirr_lcn 122091775
clusters_per_mft_record -10
clusters_per_index_record 1
Boot sector
Warning: Incorrect number of heads/cylinder 255 (NTFS) != 1 (HD)
Warning: Incorrect number of sectors per track 63 (NTFS) != 1 (HD)
Status: OK
Backup boot sector
Warning: Incorrect number of heads/cylinder 255 (NTFS) != 1 (HD)
Warning: Incorrect number of sectors per track 63 (NTFS) != 1 (HD)
Status: OK
Sectors are identical.
A valid NTFS Boot sector must be present in order to access
any data; even if the partition is not bootable.
ntfs_attr_find: Corrupt inode (5): Input/output error
Failed to open index allocation attribute. Directory inode 5 is corrupt or bug: Input/output error
ntfs_mst_post_read_fixup: magic: 0x001567ab size: 1024 usa_ofs: 0 usa_count: 65535: Invalid argument
Record 6 has no FILE magic (0x1567ab)
Failed to open inode FILE_Bitmap: Input/output error
ntfs_mst_post_read_fixup: magic: 0x001567ab size: 1024 usa_ofs: 0 usa_count: 65535: Invalid argument
Record 5 has no FILE magic (0x1567ab)
repair_MFT
NTFS at 2/0/1
heads/cylinder 255 (NTFS) != 1 (HD)
sect/track 63 (NTFS) != 1 (HD)
NTFS Volume is dirty.
ntfs_readdir failed
NTFS filesystem need to be repaired.
ntfs_dir: ntfs_inode_open failed
MFT and MFT mirror are bad. Failed to repair them.
MFT and MFT mirror are bad. Failed to repair them.
ntfs_boot_sector
1 * HPFS - NTFS 2 1953468415 1953468414 [BACKUP]
NTFS, 1000 GB / 931 GiB
NTFS at 2/0/1
heads/cylinder 255 (NTFS) != 1 (HD)
sect/track 63 (NTFS) != 1 (HD)
NTFS at 2/0/1
heads/cylinder 255 (NTFS) != 1 (HD)
sect/track 63 (NTFS) != 1 (HD)
filesystem size 1953468414
sectors_per_cluster 8
mft_lcn 3
mftmirr_lcn 122091775
clusters_per_mft_record -10
clusters_per_index_record 1
Boot sector
Warning: Incorrect number of heads/cylinder 255 (NTFS) != 1 (HD)
Warning: Incorrect number of sectors per track 63 (NTFS) != 1 (HD)
Status: OK
Backup boot sector
Warning: Incorrect number of heads/cylinder 255 (NTFS) != 1 (HD)
Warning: Incorrect number of sectors per track 63 (NTFS) != 1 (HD)
Status: OK
Sectors are identical.
A valid NTFS Boot sector must be present in order to access
any data; even if the partition is not bootable.
-----
So when I go into List, it shows no files. There should be hundreds of gigs of stuff on the drive.
I'm confused as to my next step after selecting Rebuild BS. Do I dump? Do I write?
And since there's nothing in List, is that what will appear once I've selected "Dump" or "Write"?
Thanks,
Zack
Thanks in advance for your help.
I have a 1TB WD external USB hard drive and accidentally unplugged it without ejecting it from my Macbook. Now, after I unlock it, the hard drive doesn't mount. But I can see the partition in Disk Utility. I think it's just a boot sector issue. No physical issue with the drive.
Here's what I did with testdisk:
Sun Apr 8 02:26:58 2012
Command line: TestDisk
TestDisk 6.13, Data Recovery Utility, November 2011
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
OS: Darwin, kernel 11.3.0 (Darwin Kernel Version 11.3.0: Thu Jan 12 18:47:41 PST 2012; root:xnu-1699.2
Compiler: GCC 4.0
Compilation date: 2011-11-15T08:36:43
ext2fs lib: 1.41.8, ntfs lib: libntfs-3g, reiserfs lib: 0.3.1-rc8, ewf lib: 20100226
User is not root!
Hard disk list
Disk /dev/disk1 - 30 MB / 28 MiB - CHS 12800 1 1 (RO), sector size=2352
Disk /dev/disk2 - 1000 GB / 931 GiB - CHS 1953468416 1 1, sector size=512
Disk /dev/rdisk1 - 30 MB / 28 MiB - CHS 12800 1 1 (RO), sector size=2352
Disk /dev/rdisk2 - 1000 GB / 931 GiB - CHS 1953468416 1 1, sector size=512
Partition table type (auto): Intel
Disk /dev/rdisk2 - 1000 GB / 931 GiB
Partition table type: Intel
Analyse Disk /dev/rdisk2 - 1000 GB / 931 GiB - CHS 1953468416 1 1
Geometry from i386 MBR: head=255 sector=63
BAD_RS LBA=2 1339
NTFS at 2/0/1
heads/cylinder 255 (NTFS) != 1 (HD)
sect/track 63 (NTFS) != 1 (HD)
get_geometry_from_list_part_aux head=1 nbr=2
Current partition structure:
Warning: Incorrect number of heads/cylinder 255 (NTFS) != 1 (HD)
Warning: Incorrect number of sectors per track 63 (NTFS) != 1 (HD)
1 * HPFS - NTFS 2 1953468415 1953468414 [BACKUP]
Warning: Bad starting sector (CHS and LBA don't match)
Ask the user for vista mode
Allow partial last cylinder : Yes
search_vista_part: 1
search_part()
Disk /dev/rdisk2 - 1000 GB / 931 GiB - CHS 1953468416 1 1
NTFS at 2/0/1
heads/cylinder 255 (NTFS) != 1 (HD)
sect/track 63 (NTFS) != 1 (HD)
filesystem size 1953468414
sectors_per_cluster 8
mft_lcn 3
mftmirr_lcn 122091775
clusters_per_mft_record -10
clusters_per_index_record 1
HPFS - NTFS 2 1953468415 1953468414 [BACKUP]
NTFS, 1000 GB / 931 GiB
get_geometry_from_list_part_aux head=1 nbr=2
Results
* HPFS - NTFS 2 1953468415 1953468414 [BACKUP]
NTFS, 1000 GB / 931 GiB
interface_write()
1 * HPFS - NTFS 2 1953468415 1953468414 [BACKUP]
simulate write!
write_mbr_i386: starting...
write_all_log_i386: starting...
No extended partition
Interface Advanced
Geometry from i386 MBR: head=255 sector=63
BAD_RS LBA=2 1339
NTFS at 2/0/1
heads/cylinder 255 (NTFS) != 1 (HD)
sect/track 63 (NTFS) != 1 (HD)
get_geometry_from_list_part_aux head=1 nbr=2
1 * HPFS - NTFS 2 1953468415 1953468414 [BACKUP]
NTFS, 1000 GB / 931 GiB
ntfs_boot_sector
1 * HPFS - NTFS 2 1953468415 1953468414 [BACKUP]
NTFS, 1000 GB / 931 GiB
NTFS at 2/0/1
heads/cylinder 255 (NTFS) != 1 (HD)
sect/track 63 (NTFS) != 1 (HD)
NTFS at 2/0/1
heads/cylinder 255 (NTFS) != 1 (HD)
sect/track 63 (NTFS) != 1 (HD)
filesystem size 1953468414
sectors_per_cluster 8
mft_lcn 3
mftmirr_lcn 122091775
clusters_per_mft_record -10
clusters_per_index_record 1
Boot sector
Warning: Incorrect number of heads/cylinder 255 (NTFS) != 1 (HD)
Warning: Incorrect number of sectors per track 63 (NTFS) != 1 (HD)
Status: OK
Backup boot sector
Warning: Incorrect number of heads/cylinder 255 (NTFS) != 1 (HD)
Warning: Incorrect number of sectors per track 63 (NTFS) != 1 (HD)
Status: OK
Sectors are identical.
A valid NTFS Boot sector must be present in order to access
any data; even if the partition is not bootable.
ntfs_attr_find: Corrupt inode (5): Input/output error
Failed to open index allocation attribute. Directory inode 5 is corrupt or bug: Input/output error
ntfs_mst_post_read_fixup: magic: 0x001567ab size: 1024 usa_ofs: 0 usa_count: 65535: Invalid argument
Record 6 has no FILE magic (0x1567ab)
Failed to open inode FILE_Bitmap: Input/output error
ntfs_mst_post_read_fixup: magic: 0x001567ab size: 1024 usa_ofs: 0 usa_count: 65535: Invalid argument
Record 5 has no FILE magic (0x1567ab)
repair_MFT
NTFS at 2/0/1
heads/cylinder 255 (NTFS) != 1 (HD)
sect/track 63 (NTFS) != 1 (HD)
NTFS Volume is dirty.
ntfs_readdir failed
NTFS filesystem need to be repaired.
ntfs_dir: ntfs_inode_open failed
MFT and MFT mirror are bad. Failed to repair them.
MFT and MFT mirror are bad. Failed to repair them.
ntfs_boot_sector
1 * HPFS - NTFS 2 1953468415 1953468414 [BACKUP]
NTFS, 1000 GB / 931 GiB
NTFS at 2/0/1
heads/cylinder 255 (NTFS) != 1 (HD)
sect/track 63 (NTFS) != 1 (HD)
NTFS at 2/0/1
heads/cylinder 255 (NTFS) != 1 (HD)
sect/track 63 (NTFS) != 1 (HD)
filesystem size 1953468414
sectors_per_cluster 8
mft_lcn 3
mftmirr_lcn 122091775
clusters_per_mft_record -10
clusters_per_index_record 1
Boot sector
Warning: Incorrect number of heads/cylinder 255 (NTFS) != 1 (HD)
Warning: Incorrect number of sectors per track 63 (NTFS) != 1 (HD)
Status: OK
Backup boot sector
Warning: Incorrect number of heads/cylinder 255 (NTFS) != 1 (HD)
Warning: Incorrect number of sectors per track 63 (NTFS) != 1 (HD)
Status: OK
Sectors are identical.
A valid NTFS Boot sector must be present in order to access
any data; even if the partition is not bootable.
-----
So when I go into List, it shows no files. There should be hundreds of gigs of stuff on the drive.
I'm confused as to my next step after selecting Rebuild BS. Do I dump? Do I write?
And since there's nothing in List, is that what will appear once I've selected "Dump" or "Write"?
Thanks,
Zack