How to Fix the Blank Screen of Death
Early last night I was playing D00M II on a deathmatch server using wine on my ubuntu, or I was, until it happened! My laptop went into suspend and when I tried to pull it out of suspend everything went berserk. Faced with no other option I had to remove the battery and power supply. Boy, was I surprised when I rebooted ubuntu! After the white ubuntu logo appeared it just stalled, nothing, just a blank screen. So I tried recovering it using the recovery mode option from GRUB. I was shocked to find that there was no init found:
mount: mounting /dev/disk/by-uuid/0b35a069-01cd-44c5-940c-187e50524439 on /
root failed: Invalid argument
Begin: Running /scripts/local-bottom ...
Done.
Done.
Begin: Running /scripts/init-bottom ...
Begin: Starting AppArmor profiles ...
mount: mounting /sys on /root/sys failed: No such file or directory
mount: mounting /dev on /root/dev failed: No such file or directory
Done.
mount: mounting /sys on /root/sys failed: No such file or directory
mount: mounting /proc on /root/proc failed: No such file or directory
Target filesystem doesn't have /sbin/init.
No init found. Try passing init=bootarg.
Hence, sudo fsck -y /dev/sda1 would not work! However, there was a solution. I had to use the livecd, and open the terminal window while running the livecd of ubuntu. Then when I tried sudo fsck -y /dev/sda1 everything worked out fine. My files were all intact as was the filesystem. So if you ever get this error, try what I did hopefully it'll work for you like it did for me!*
Note: /dev/sda1 may not be your root partition. If you do not know what your root partition may be try: sudo fdisk -l