Created
January 20, 2012 17:40
-
-
Save rockpapergoat/1648620 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 * |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment