Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I've got a Mac that won't boot and I'd like to recover whatever data I can before wiping the hard drive and reinstalling. I'm looking for something similar to TRK (which is Windows-centric) — boot from CD, mount the hard drive, and copy to a network share.

I just noticed TRK does appear to support HFS+; has anyone had success with this?

share|improve this question
add comment

3 Answers 3

You could try using PhotoRec, which is free, open source, and has some similar capabilities. It's on the Knoppix Live CD along with TestDisk.

share|improve this answer
add comment
up vote 1 down vote accepted

I ultimately did use TRK, which does support HFS+. I had to do a fair amount of Googling to get mounting to work, but I ended up with this:

# mount -r -t hfsplus /dev/sda2 /sda2

-r mounts the drive read-only (to avoid any further damage to data) and -t hfsplus tells it you're mounting a HFS+ partition. (hfsplus didn't show up in the man page or with man -? – I spent at least half an hour figuring that one out.)

I then mounted a shared drive on a Windows server.

# mount -t cifs -o username=**** //server-ip/share /mnt0

It will ask for your password and mount the share.

Since my Windows server runs Windows Server 2008, I had to allow unsigned SMB connections. (I was getting the error smb signing is mandatory and we have disabled it.) Fire up regedit and navigate to

 HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters

and change requiresecuritysignature to 0.

share|improve this answer
add comment

+1 to Alex - agreed you should get an external harddrive to perform the deposit point next time. I think your just adding extra complications to the recovery actions that you probably dont need.

Taking the drive out of the laptop, using a 2.5 ata connector, bought from any computer parts store and placing it in a desktop pc or an external harddrive case, then run your recovery software of choice. Ask a friend for loan of pc or laptop if you dont have a spare computer to work with.

I personally use 2 types. "R-Studio" which recovers any type of file system, runs on windows, or BackTrack bootable linux cd. Have tried many many others, but these 2 will always stay in my kit.

share|improve this answer
    
External drives cost money; using software to copy to my existing file server is free. Also, taking the hard drive out of a MacBook Pro voids the warranty, which means that is not an option. –  josh3736 Feb 27 '11 at 17:04
add comment

protected by slhck Apr 21 '12 at 20:58

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.