How to mount / unmount external drives in terminal?

Hi all,


in terminal - this works...


diskutil unmount /Volumes/MyDrive1/


but after unmount - the opposite (while still connected) :


diskutil mount /Volumes/MyDrive1/  


this says - Unable to find disk for /Volumes/MyDrive1/


How can I get the drive to mount again after unmount?


MacBook Pro (2020 and later)

Posted on Jan 6, 2022 8:08 AM

Reply
Question marked as Top-ranking reply

Posted on Jan 6, 2022 8:43 AM

Use a command such as:


diskutil mount /dev/disk1s1


The numbers may vary; checking the information for the volume in the Disk Utility will reveal them.


(211449)

4 replies

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.

How to mount / unmount external drives in terminal?

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