Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

After booting to the GUI in 12.04, I attempt to move to the virtual terminal (or shell, or tty) via Ctrl-Alt-F1 (F1 - 6), and the screen remains blank. I'm tried all 6 tty instances and the results are the same. Ctrl-alt-F7 brings me back to the GUI without a problem. Any thoughts?

share|improve this question
    
This occurs often together with being unable to see Grub of the boot splash. Can you see those? – hexafraction Jul 11 '12 at 20:11
up vote 26 down vote accepted

This is usually caused because the graphical text-mode resolution set at boot up is not compatible with your video card. The solution is to switch to true text-mode by configuring Grub appropriately:

  1. Open the terminal with Ctrl+Alt+T
  2. Paste the below, and enter your password when asked:

    sudo sed -i -e 's/#GRUB_TERMINAL/GRUB_TERMINAL/g' /etc/default/grub
    
  3. Then type sudo update-grub

  4. Reboot and the virtual terminals should now work.
share|improve this answer
    
That did it, thanks! It made the text a bit bigger than I would like once it reset to default. I opened the /boot/grub/grub.cfg file to edit the text size and the first line states "do not edit". Suppose that's a question for another day though. Thanks for the help – SeanO Jul 12 '12 at 16:37
    
Also works for me in 14.04.... great tip. – belacqua Apr 25 '14 at 16:18
    
Indeed, have some karma. – Noki Jul 4 '14 at 14:16
1  
Unfortunately, this didn't help with my graphic-driver issues (I need the X server down to install proper drivers, but the lack of drivers prevents me from getting a working command-line with ctrl-alt-F1). – Jonathan Y. Feb 1 '15 at 20:34
    
This thing left my grub to black & white. – knh190 Apr 16 '15 at 14:24

You need to shut down the graphics driver after you CTL+ALT+F1 before you try to install the Nvidia driver

As in "sudo /etc/init.d/lightdm stop"

share|improve this answer

What fixed this for me was adding nomodeset to the GRUB_CMDLINE_LINUX_DEFAULT line.


Open up /etc/default/grub. Use whatever method you want or just type this in terminal:

gksu gedit /etc/default/grub

search for this line: GRUB_CMDLINE_LINUX_DEFAULT

So for example if you have:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash usbcore.autosuspend=-1"

change it to:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash usbcore.autosuspend=-1 nomodeset"

optional: add nomodeset vga=xxx (not just nomodeset), the xxx is a VESA screen code that best matches your screen resolution. Take a look at this.

After you finish update grub sudo update-grub and reboot sudo reboot for the changes to take effect.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.