Wednesday, July 28, 2010

Fixing virtual terminal on Ubuntu 10.04

Ctrl+Alt+F1 usually gives you a virtual terminal. But with grub2 on Ubuntu 10.04, something funny is going on and it gives you a blank screen as oppose to a virtual terminal (tty)
Here is how you fix it.

sudo nano /etc/grub.d/10_linux
Go to line 95 and find: linux ${rel_dirname}/${basename} root=${linux_root_device_thisversion} ro ${args}
change linux to linux16
linux16 ${rel_dirname}/${basename} root=${linux_root_device_thisversion} ro ${args}
Go to line 105 and find: initrd ${rel_dirname}/${initrd}
change initrd to initrd16
initrd16 ${rel_dirname}/${initrd}
Save and exit (Ctrl+o, Ctrl+x)
sudo update-grub

I had a solution for 9.10, but this solution works for both 10.04 and 9.10. Keep in mind that vga= option is now deprecated.

No comments:

Post a Comment