External storage won't mount at startup - only happens at login, which is too late

I keep my cloud storage data on an external drive. However in Monterey on the M1 iMac the storage does not mount until after login.


Because the iMac is so fast at login my cloud apps have loaded before the storage has mounted. Which causes errors. Even with automatic login enabled the same problem occurs.


This also means that if the machine restarts due to a power failure and is unattended cloud syncing fails and will not recover until manually restarted.


This must be an oversight? I've not had this issue before on other machines.

iMac Line (2012 and Later)

Posted on May 3, 2022 2:08 PM

Reply

Similar questions

2 replies

May 3, 2022 8:36 PM in response to Dave Wiltshire

I managed to resolve this issue by creating the following custom plist file.


It's not that daunting.


You simply create a plist file in the folder... Macintosh HD/Library/Preferences/SystemConfiguration/ (You may need to create the SystemConfiguration folder as my machine did not have one)


Name the plist file autodiskmount.plist


If you don't know how to create a plist file you can copy one from another Library folder, rename it autodiskmount.plist and then open it with TextEdit.app


Now replace the file contents with the text below, save and restart.

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

<plist version="1.0">

<dict>

<key>AutomountDisksWithoutUserLogin</key><true/>

</dict>

</plist>





This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

External storage won't mount at startup - only happens at login, which is too late

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.