First you need to boot into single user mode by turning on the computer and immediately pressing CMD + S where the CMD key is the Apple key. Continue to hold down command + s until you see the verbose logging appear.
Then mount your drive in r/w mode with:
mount -uw /
Then we need to load a couple of required system modules. DirectoryServices is only required if you want networking support.
launchctl load /System/Library/LaunchDaemons/com.apple.notifyd.plist
launchctl load /System/Library/LaunchDaemons/com.apple.kextd.plist
launchctl load /System/Library/LaunchDaemons/com.apple.diskarbitrationd.plist
launchctl start com.apple.diskarbitrationd
launchctl load /System/Library/LaunchDaemon/com.apple.DirectoryServices.plist
launchctl load /System/Library/LaunchDaemons/com.apple.configd.plist
Now you should be able to at least run diskutil. You can run the following to check your specific drive
diskutil /dev/disk0sd2
You can enumerate your drives with
ls /dev/disk *
Right now its hanging for me but at least its running in single user mode which is better than before.
3 comments:
Did you ever get diskutil working in single mode? I tried everything
This shows how to get it to work (article is in German, but the required commands are shown; method still works as of OS X 10.9.2)
I keep getting "Permission Denied" when entering the first command
Post a Comment