The Computer Oracle

How can I remount an ejected (not just unmounted) USB drive on Mac?

--------------------------------------------------
Hire the world's top talent on demand or became one of them at Toptal: https://topt.al/25cXVn
and get $2,000 discount on your first invoice
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Digital Sunset Looping

--

Chapters
00:00 How Can I Remount An Ejected (Not Just Unmounted) Usb Drive On Mac?
00:30 Accepted Answer Score 8
00:54 Answer 2 Score 1
01:40 Answer 3 Score 10
01:59 Answer 4 Score 0
02:12 Thank you

--

Full question
https://superuser.com/questions/110856/h...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#macos #usb #externalharddrive #usbflashdrive #eject

#avk47



ANSWER 1

Score 10


Terminal Command was off by a little. The real command is:

diskutil mountDisk <<diskx>>*

where you replace <<diskx>> with the disk number you found using

diskutil list

Eample:

diskutil mountDisk disk3

will mount the disk with the id of disk3




ACCEPTED ANSWER

Score 8


You can remount an ejected hd using "hdiutil attach" and the appropriate /dev/ device (the BSD name under System Information). As you said, this does not work for flash drives (the /dev/ device will disappear).

kextunload IOUSBMassStorageClass.kext;
kextload /System/Library/Extensions/IOUSBMassStorageClass.kext

Will unmount and remount all USB storage devices...




ANSWER 3

Score 1


I've had the same problem with external USB & Firewire drives; you eject them using 'disk utility' (perhaps by mistake) only to have to physically disconnect/reconnect the drive in order to get Mac OS X to see them again; despite them being visible under 'System Profiler'.

This is more than an inconvenience if using a daisy-chain of Firewire HDDs...

Here's what worked for me; try this from within Terminal. (1st make sure you have 'diskutil' installed - see note below.)

cmd line:

diskutil list

diskutil mountDisk /dev/diskx

where diskx correlates to the physical device reference as displayed under the "list" command e.g. disk2

NB: try MacPorts for http://www.macports.org/




ANSWER 4

Score 0


I recently released an app exactly for this purpose called Mountain. Mountain can unmount external drives as well as remount them later.