Actually if you want to get unix-y there is a much simpler way. When you get a crash or restart, immediately after you restart hold down the "s" key.
After you see the mac icon it will go to a black screen with white text, then let go of the "s" key. It will print alot of text and finally...