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.

How can I mount an external USB drive when I'm in Single User Mode on my Mac?

I'm not able to see it in /dev/

share|improve this question
    
Have you googled the problem? –  Jonno_FTW Aug 16 '10 at 12:23
    
What type of filesystem is the USB drive? –  John T Aug 16 '10 at 17:25
add comment

1 Answer

First, get full access to your boot volume:

fsck -yf
mount -uw /

Then, get kextd and notifyd running to load the needed device drivers and create /dev/ entries:

launchctl load /System/Library/LaunchDaemons/com.apple.notifyd.plist
launchctl load /System/Library/LaunchDaemons/com.apple.kextd.plist
ls /dev/disk*

Then, to mount the volume (assuming the /dev/ entry for it is /dev/disk1s2 and it's HFS/HFS+/HFSX format; adjust as needed...):

mkdir /tmp/usbvolume
mount_hfs /dev/disk1s2 /tmp/usbvolume

Edit: at least under 10.6.4, loading notifyd and configd seems to prevent the system from shutting down normally (i.e. the reboot command will hang). Loading configd and diskarbitrationd (using launchctl load ... as above) as well allows it to shut down normally.

Edit2: unloading kextd (launchctl unload ...) also allows shutdown (but you should probably wait 'till you're about to shut down).

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.