If you encounter a black screen during boot after 2 hours of code compilation like me, do not panic!
You probably have a problem with driver for graphics card. Please check "The screen goes blank during the boot process" section from Troubleshooting guide