Category Archives: OS X

Mounting NFS shares on OS X

I have serveral drives/directories on my linux server shared via nfs to the rest of my network

In order to mount the drives on my Mac, i have created a script to mount the shares.

sudo mount -t nfs -o nfsvers=2 <servername>:/media/USBHDD2 /mnt/usbhdd2
sudo mount -t nfs -o nfsvers=2 <servername>:/mnt/storage /mnt/srvrintstr
sudo mount -t nfs -o nfsvers=2 <servername>:/mnt/1.5TB_Media /mnt/1.5TB_Media
sudo mount -t nfs -o nfsvers=2 <servername>:/mnt/2TB_A /mnt/2TB_A
sudo mount -t nfs -o nfsvers=2 <servername>:/mnt/2TB_B /mnt/2TB_B

Mac Mini (Late 2009) hard drive replacement

So my venerable Mac Mini finally decided that the 320GB hard drive was no longer a viable platform and started to error and give me the spinning beach ball of death for minutes at a time.

All of the diagnostics pointed to a bad hard disk.  I can’t really complain about this drive as it was in the Mini when i bought it and has been performing admirably for the last 5 years.

I picked up a new 1TB Western Digital 2.5″ drive to replace it with figuring i could make use of the extra space.  I partitioned the drive with 2 500GB partitions and went to install OS X.  I discovered that the newest OS on an install media i had was Lion.  I had apparently upgraded from Lion to Mountain Lion without doing a clean install…..oops…

Install Lion, downloaded Mavericks and while it was downloading, googled around for creating a Mavericks install that would allow me to start clean.

 sudo /Applications/Install\ OS\ X\ Mavericks.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install\ OS\ X\ Mavericks.app --nointeraction

This did the trick. I needed an 8GB flash drive formatted with a GUID partition and named “Untitled”.

Booted from this flash drive after it completed and wiped and started install. Started doing this at around 1030 pm, so after the install started, i went to bed…

Woke up to a fresh install of Mavericks that was ready for me to set up. Of course, my Time Machine backup from ML was not recognized, so i had to recreate my user account and reimport bookmarks and data manually.

stuff left to do:

  • reinstall Photoshop
  • reconfigure Calibre and restore my book library
  • figure out how to reinstall apache to serve my book library remotely again
  • restore ssh keys so that i can remote into my servers without passwords again