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
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.