Saturday, February 4, 2012

Ubuntu Server 11.10 black screen no video after install

After installing Ubuntu Server 11.10 x64 on a freshly built server, after the eject disc and press Enter to reboot option, the system reboots, goes through grub, then shows a black screen, then shows nothing but a blank / black screen.

Thinking it was locked up at first, I decided to try my luck with a CTRL-ALT-DEL (control alt delete), and was greeted with the system rebooting, posting, going through grub, then black screen again. I first thought it was an issue of needing to use the new GRUB_GFXPAYLOAD_LINUX=KEEP, but I decided to google it, and found the post that my post title links to, and it suggested adding the nomodeset kernel option. I'm not sure if the other option might have worked as well, and if it is/would be a better solution... I didn't need to try it as the nomodeset option worked, and its very similar in how to go about fixing it anyways (editing the grub config).

Following the linked to poster's description (a good description for newbies) of what to edit in Grub didn't quite match the new grub menu / editing selection of Ubuntu 11.10 during bootup (I didn't see splash or quiet options that he mentioned in this new interface / menu), but I simply added the nomodeset to the end of the line that loads the kernel and its options.

After successfully booting, edit /etc/defaults/grub and add nomodeset to the following option in grubs config file for future boots:

sudo nano /etc/defaults/grub

add / update the following: GRUB_CMDLINE_LINUX_DEFAULT="nomodeset"

then run "sudo update-grub"

Now during bootup, the screen still goes blank temporarily, but then comes back and works as normal.

1 comment:

Maxim Savov said...

sudo vi /etc/dfault/grub
1.add this
GRUB_CMDLINE_LINUX_DEFAULT="vga=792"
GRUB VGA Modes you can see here
http://pierre.baudu.in/other/grub.vga.modes.html
------------------
2.turn on this or add if you dont have it.
GRUB_TERMINAL=console