Ubuntu into tty1-6 black screen solution

Source: Internet
Author: User

NVIDIA Graphics: modifying/etc/initramfs-tools/modulesAdd FBCONVESAFBNVIDIAFB three line and then modify/etc/modprobe.d/blacklist-framebufferFile NVIDIAFB,VESAFB,VGA16FB Three lines comment off run sudo update-initramfs-u restart the computer just fine ————————————————————————— I didn't vga16fb this line, I ignored it. In addition I consider that may also be the resolution of the problem, so go/etc/default/grubThe grub_cmdline_linux= "" added a parameter, changed to grub_cmdline_linux= "vga=792", 792 for the 1024x768 resolution of the hexadecimal 0x0318 code. Then update the Grub:update-grub and restart. Too late to log on X, directly pressed the c+a+f1. After 2 seconds, the familiar TTY landing interface is back! Ha ha!

Ubuntu10.10 the solution to turn on splash resolution when a restricted drive is enabled

Whether it is an ATI or NVIDIA video card, enabling restricted drives (or manually installing the official driver) on the ubuntu10.10 system can lead to a low resolution of the boot Splash. As this problem is very common in ubuntu10.10, so there are a lot of cattle people to provide us with solutions, here is what I see on the Ubuntu Chinese Forum (refer to the above three posts), and personally test and successfully solve the problem of a consolidation plan.

1, install v86d and hwinfo bag, below we need to use

$sudo apt-get install v86d hwinfo

2. View the resolution supported by your graphics card

$sudo hwinfo--framebuffer

3, modify the/etc/default/grub file, use the UVESAFB framebuffer to start

$sudo gedit/etc/default/grub

Put the following two lines
grub_cmdline_linux_default= "Quiet Splash"

#GRUB_GFXMODE =640x480
Modified to:
grub_cmdline_linux_default= "Quiet Splash nomodeset Video=uvesafb:mode_option=1366x768-24,mtrr=3,scroll=ywrap"

grub_gfxmode=1366x768

PS: where nomodeset disables kernel kms, personal insights
This is to be modified according to the maximum resolution supported by the graphics card found in step 2nd (which can also be other supported resolutions), note that the previous # is removed.

4. Modify the/etc/initramfs-tools/modules file

$sudo gedit/etc/initramfs-tools/modules
Add the following line:
UVESAFB mode_option=1366x768-24 mtrr=3 scroll=ywrap

PS: The modification of this step is consistent with the 1th modification in the previous step

5. Run the following command to enable Framebuffer

$echo framebuffer=y | sudo tee/etc/initramfs-tools/conf.d/splash

6. Run the following command to update the grub configuration and the Initramfs image file

$sudo update-grub
$sudo update-initramfs-u

7. restart

$sudo reboot

related problems and solutions:

Following the steps above does solve the problem of low power splash resolution, but there is another problem: the Virtual Console (TTY1-6) can not be used properly, that is, switch to the Virtual Console-"black screen."
It is true that this change occurs when the console is not logged in, you need to add the vga=xxx parameter.

In fact, this problem should also be caused by the use of the official closed-source drive (or restricted drive), which is not the result of the above operation.
Accordingly, add the vga=xxx parameter to the 3rd step of the above step modification.
grub_cmdline_linux_default= "Quiet Splash nomodeset Video=uvesafb:mode_option=1366x768-24,mtrr=3,scroll=ywrap vga=792 "

Note that 792 represents the 1024x768x16m (resolution 1024x768, color depth 24 bit), according to their own situation and https://wiki.ubuntu.com/FrameBuffer#Setting%20different% 20framebuffer%20resolutions%20in%20grub

modified to the corresponding number. This data must be correct, because the numbers are incorrect and may cause the splash screen to not display or deform. If there is no corresponding value, you can use 790, or a value that is closer to the actual resolution.

============================================================

If you just adjust the resolution:

Adjust Plymouth Start Screen resolution
Ubuntu 10.04 uses the Plymouth package to provide a system boot screen, if the installation is completed after the start screen resolution is not high, you can use the following practice to improve the resolution: (the following is quoted from http://www.sucka.net/2010/03/ nvidia-drivers-ubuntu-10-04-lucid-lynx/)

1: Open terminal, modify/etc/default/grub file

$sudo gedit/etc/default/grub

Cancel #grub_gfxmode=640x480The comment symbol in front of this line, and changes the following number to a suitable value, does not need to be too high, for example1024x768。 This value also affects the resolution of the Grub boot menu and the text in the console.

2: Modify the/etc/grub.d/00_header file

$sudo gedit/etc/grub.d/00_header

Press CTRL+F, look for the keyword "set Gfxmode=${grub_gfxmode}" (remove the double quotes), and then add a new line below this line, the content is: "Set Gfxpayload=keep" (remove the double quotes, in fact, this command, is to hide all command lines from the start-up interface, shown as a black screen,

3: Update Grub

$ sudo update-grub2

Well, restart it and try it out, and you'll see that Plymouth's splash screen is really prettier.

Ubuntu into tty1-6 black screen solution

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.