Skip to content

Instantly share code, notes, and snippets.

@MikimotoH
Created January 25, 2016 14:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MikimotoH/d4c5a2f50c5ff1b1e4da to your computer and use it in GitHub Desktop.
Save MikimotoH/d4c5a2f50c5ff1b1e4da to your computer and use it in GitHub Desktop.
Ubuntu 14.04.3 switching from desktop to tty (Ctrl-Alt-F1) the screen is black
Resolution:
http://askubuntu.com/questions/508635/how-can-i-get-ttys-to-work-with-nvidia-drivers?lq=1
fix grub resolution:
sudo nano /etc/default/grub
Now, locate the line
#GRUB_GFXMODE=640x480
and change it to this changing 1280x800 to the desired resolution:
GRUB_GFXMODE=1280x800
GRUB_GFXPAYLOAD_LINUX=keep
Next,
add framebuffer (no, that's not a typo; use echo twice):
echo "echo FRAMEBUFFER=y" | sudo tee /etc/initramfs-tools/conf.d/splash
finally, update grub and initramfs:
sudo update-initramfs -u
sudo update-grub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment