[Version0.1] 1. edit the file sudovim/etc/initramfs-tools/modules. Add the following three lines to the file: fbconvesafbvga16fb and run the file: sudoupdate-initramfs-u * If this step is not performed, the console will not be displayed after the restart. 2. edit the file: sudovim/etc/modprobe. d/blacklist
Tty Chinese display configured in Ubuntu [Version 0.1]
1. edit the file:
Sudo vim/etc/initramfs-tools/modules
Add three lines to the file:
Fbcon
Vesafb
Vga16fb
Run: sudo update-initramfs-u
* If you do not perform this step, the console will not be displayed after restart.
2. edit the file:
Sudo vim/etc/modprobe. d/blacklist-framebuffer // This file does not seem to exist. It may be that the article is too old.
Comment out the following two lines: // it seems that there is no danger if this step is not completed.
Blacklist vesafb // It can run properly on my computer
Blacklist vga16fb
3. edit the file:
Sudo vim/boot/grub/menu. lst
Add the vga = xxx parameter to the kernel entry of the boot entry
The value represented by xxx can be viewed in the following method:
// Install the "howinfo" software (a system hardware detection software, which should be available on the official website) in this step)
Sudo hwinfo -- framebuffer | grep 'mode \'
// A large string of text information will be displayed later
This is the result on my machine: // here "I" refers to the original author
Mode 0x0305: 1024x768 (+ 1024), 8 bits
Mode 0x0317: 1024x768 (+ 2048), 16 bits
Mode 0x0318: 1024x768 (+ 4096), 24 bits
Mode 0x0312: 640x480 (+ 2560), 24 bits
Mode 0x0314: 800x600 (+ 1600), 16 bits
Mode 0x0315: 800x600 (+ 3200), 24 bits
Mode 0x0301: 640x480 (+ 640), 8 bits
Mode 0x0303: 800x600 (+ 832), 8 bits
Mode 0x0311: 640x480 (+ 1280), 16 bits
Select the 1024x768 resolution and 16-bit color. Therefore, add 0x0317 after vga =.
// After completing this step, be careful that the startup screen may be abnormal. You can use startupmanager to set the resolution of the startup image.
// "Startupmanager" is available in the official "universe" Library
Step 2: Install the console zhcon that supports Chinese characters and start
Sudo apt-get install zhcon
Then run "zhcon" under tty to start the instance.
// By default, the resolution of "zhcon" is very low, which can be adjusted in principle, but it is not successful on my machine (see the original document for specific adjustment ), therefore, it is not included again.