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 have an external drive plugged in to my MacPro via eSATA. At the moment, the disk only mounts if I log in. Since I am using the computer remotely, this is annoying since I have to open up VNC, log in, and log back out. Is there a way to have external drives automatically mount without user log in?

share|improve this question
add comment

1 Answer

up vote 5 down vote accepted

I found a preference that might do the trick:

sudo defaults write /Library/Preferences/SystemConfiguration/autodiskmount AutomountDisksWithoutUserLogin true

In a variation using a boolean value (which should be more accurate):

sudo defaults write /Library/Preferences/SystemConfiguration/autodiskmount AutomountDisksWithoutUserLogin -bool true

You can do the same through Property List editor (if you have it installed):

sudo touch /Library/Preferences/SystemConfiguration/autodiskmount.plist
sudo open !$

… and set it manually as a boolean:

enter image description here

However, and I'm sorry for that, it appears to be older, and I can't try it out, so let me know if it works.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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