1TB WD Hard drive not mounting on Mac

Using TestDisk to repair the filesystem
Message
Author
zackbaddorf
Posts: 2
Joined: 07 Apr 2012, 23:02

1TB WD Hard drive not mounting on Mac

#1 Postby zackbaddorf » 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

Sponsored links

User avatar
Fiona
Posts: 2839
Joined: 18 Feb 2012, 17:19
Location: Ludwigsburg/Stuttgart - Germany

Re: 1TB WD Hard drive not mounting on Mac

#2 Postby Fiona » 08 Apr 2012, 10:19

NTFS Volume is dirty.

It looks like your file system is damaged!
But I can see the partition in Disk Utility.


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

Your boot sector and its backup are OK.

Messages about geometry can be ignored as long as your partition is found by TestDisk.
Your label is displayed also.
Probably depend on, that your partition was created using windows?
Actually, I don't recommend to change anything to a file system if it's damaged.
A safe solution to recover data might be datarecovery software.
You can have a look at PhotoRec.
Info;
http://www.cgsecurity.org/wiki/PhotoRec
PhotoRec doesn't keep file names and directories.
But it's capable to recover files from seriusly damaged file systems and large disks.
Otherwise you should have a look to commercial software.

Afterwards you can consider to have a try to repair your files system using windows and chkdsk.
Under win7/Vista you must have administrator privileges.
You should use the command prompt and try chkdsk driveletter: /r.

Fiona

zackbaddorf
Posts: 2
Joined: 07 Apr 2012, 23:02

Re: 1TB WD Hard drive not mounting on Mac

#3 Postby zackbaddorf » 08 Apr 2012, 10:28

Hi Fiona,

Thanks so much for your help!

I think what I did was format the drive on my Macbook in NTFS. So I found a tool for Macs called DiskDrill. Heard of this? It has a deep scan for lost data. Is that what I should do?

When I plug the drive into a Windows machine, it says the drive is not formatted. And that makes me think that there's some sort of boot sector or file system problem. Is that not the case? Can TestDisk do anything to help with the file system problems?

And would you recommend that I "Repair Disk" under Mac's Disk Utility? I've never used that before and am uncertain what it will do.

Thanks!
Zack


Return to “Filesystem repair”

Who is online

Users browsing this forum: No registered users and 0 guests