Saturday, April 25, 2015

Replacing a Mac Hard Drive

Choices for migrating your Mac files and settings to a new drive:

1. Boot into Recovery Mode (Command-R) and use Disk Utility to copy the system partition to the new drive connected via an external enclosure.

OR
2. Remove the drive and duplicate using a duplicator.

OR the option I think is best:
3. Install the new drive and reload OSX. Then use Migration Assistant to pull in files and settings from the original drive connected via an external enclosure.

Strategies to make the new drive work well under OSX:

- Use SSD Chameleon to enable TRIM if the new drive is an SSD AND your OSX is 10.6.7 and above. If this software refuses to enable TRIM you need to wipe and reload OSX. If your OSX is 10.10.4 or greater just use the trimforce command built-in to OSX.
- Use SSD Fan Control to quiet the fan if the new drive doesn't support temperature sensor connector

Don't forget to reference the relevant repair guide on ifixit.com so you know how to get to the drive and reassemble things with a minimum of fuss.
Don't forget a 2.5" to 3.5" bracket if you are installing an SSD into a Mac with a desktop hard drive such as the iMac. Avoid brackets that support more than one drive as they might be too large fit in cramped Mac interiors.

Friday, April 24, 2015

Network Folder Question Mark in OSX Dock

Problem: Network folders show up in the dock as a question mark and can't be opened.

Solution: Create a file nsmb.conf with the following two lines:

[default]
smb_neg=smb1_only

Save it to the desktop. Open Terminal.
Run the command "sudo bash"
Enter your sudo password. If you don't know it, look HERE.
Enter the command "cp ~/desktop/nsmb.conf /etc/nsmb.conf"
Run the command "exit" and then exit the Terminal.
Restart.
The folder should show up properly now.

This forces SMB back to version 1 of the protocol for all users.