FileVault Mount – How to Auto-Mount a Secondary Encrypted HDD on Boot?

filevaultmount

I have 2 disks on my Mac, the secondary one is encrypted, on my current user it auto mounts, because I have once been asked for the password and I saved it.

But for new users, the user is prompted for the disk password. Is there someway to make MacOS automount it always during boot? (i know, I would have to put the password somewhere, no problem) but if there is how, then where to configure it and put the password for auto-mounting?

PS: answers must be for versions equal or newer than Sierra.

Best Answer

I don't know of a good way to make it automount at startup, but you can make it automount for any user by transferring the saved password from your user login keychain to the System keychain.

  1. Open Keychain Access.app (it's in /Applications/Utilities)
  2. Find the saved volume password. You can use the search field in the top right of the window to find it.
  3. If the keychains list isn't visible (in the left-side sidebar, near the top), choose View menu > Show Keychains.
  4. Drag the saved volume password into the System keychain in the sidebar. It'll ask you to authenticate twice (once as an admin, to modify the System keychain, then as your user, to get access to the user keychain item).

There's probably a way to trigger the automount at startup, rather than at first login, but it sounds like first login should be good enough for your needs.