An open community 
of Macintosh users,
for Macintosh users.

FineTunedMac Dashboard widget now available! Download Here

Topic Options
#36859 - 10/30/15 03:35 PM Prevent hard drive from auto-mounting?
tacit Offline


Registered: 08/03/09
Loc: Portland, Oregon, USA
I have a MacBook Pro (15-inch, mid-2012) with two hard drives in it. I took out the DVD drive and replaced it with a second hard drive. The primary hard drive contains all my applications and data; the second hard drive contains an operating system and a set of tools I can use if my first hard drive takes a header, as well as backups of critical data I have not yet backed up to an external drive. (I'm paranoid and meticulous about backups.)

I'm replacing the primary hard drive with a 1TB SSD--mostly for speed, but also to extend battery life, as I often travel long distances with this computer. An SSD, lacking a motor to spin the hard drive platters, uses far less power.

I want the second hard drive, which is still an old-school spinning-rust jobbie, to mount only when I need it. To conserve battery power, I would like it not to auto-mount when I boot from the primary...but,, and this is the important bit, I still want to be able to select it as the startup volume if I option-boot the computer. I want it to not auto-mount so I don't have to remember to eject it to save battery power.

Is there a way to do this? I suppose I could write an AppleScript to dismount the second drive when I boot from the first, but that seems clunky. I'd prefer a simple, clean, elegant way for it not to mount at all but still be available if I start the computer with the Option key down. Any ideas?
_________________________
Photo gallery, all about me, and more: www.xeromag.com/franklin.html

Top
#36864 - 10/30/15 04:20 PM Re: Prevent hard drive from auto-mounting? [Re: tacit]
artie505 Online


Registered: 08/04/09
I thought I had bookmarked something that did what you're looking for, but no such luck, although it sounds familiar.

Searching MacUpdate turned up MountWatcher ($18) which may be useful if I'm understanding it.

It seems to allow you to set a separate user name and password for each volume, so (presumably) dismissing the p/w pane with no entry would prevent your drive from mounting.

Ah ha! Found it... Prevent a volume from mounting at boot, but I don't know if it affects an option-boot. (Also, it's from 2012.)

Hope this helps.
_________________________
The new Great Equalizer is the SEND button.

Top
#36871 - 10/31/15 04:23 AM Re: Prevent hard drive from auto-mounting? [Re: artie505]
tacit Offline


Registered: 08/03/09
Loc: Portland, Oregon, USA
Thank you! That's exactly what I needed. It works a treat. smile
_________________________
Photo gallery, all about me, and more: www.xeromag.com/franklin.html

Top
#36872 - 10/31/15 04:36 AM Re: Prevent hard drive from auto-mounting? [Re: tacit]
artie505 Online


Registered: 08/04/09
cool

(You've obviously spent some time in the UK lately. wink )
_________________________
The new Great Equalizer is the SEND button.

Top
#36918 - 11/02/15 05:06 AM Re: Prevent hard drive from auto-mounting? [Re: tacit]
Virtual1 Offline


Registered: 08/04/09
Loc: Iowa
should be trivial (and free) to just create a login action that unmounts the drive? I'd make a launch agent, but others could just make an automator action I suppose and drop it into their Login Items
_________________________
I work for the Department of Redundancy Department

Top
#36920 - 11/02/15 06:33 AM Re: Prevent hard drive from auto-mounting? [Re: Virtual1]
artie505 Online


Registered: 08/04/09
What he thanked me for was the link to a Terminal command, not the one to the $18 app (which I would have edited out had he not posted first, because it's even less elegant than the AppleScript he proposed).
_________________________
The new Great Equalizer is the SEND button.

Top

Moderator:  alternaut, dkmarsh, joemikeb