- 3
- 0
- 约6.97万字
- 约 18页
- 2017-06-05 发布于河南
- 举报
若何设置linux操纵台(国外英文资料)
如何设置linux控制台(国外英文资料)
To view the article
How to set up the resolution of the Linux console (Ctrl + Alt + F1)? Update/boot/grub/grub. Conf
Add VGA = 0x * * in a row with kernel
Its
This text mode is actually called the frame buffer console. He is actually a kind of support used VESA mode graphics frame buffer graphics mode, in this mode could theoretically show/edit graphics (image, image), but now I like this kind of software is rarely. The original hackers wrote this kernel module is for the sake of the Linux console can see the logo picture (penguin), but it can be used to do a lot of graphics mode can do, the kernel has the corresponding interface.
Here is the VESA schema number:
| 640x480 800x600 1024x768 1280x1024
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- - + -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
256 colors | 0x100x100x100x107
Enhanced 15 bit color | 0x110 0x113 0x113 0x1119
Enhanced 16 bit color | 0x111 0x114 0x11A
True color 24 bit color | 0x112 0x115 0x115 0x11B
because
The Linux kernel schema number = VESA schema number + 0x200
So the list of kernel mode Numbers is:
| 640x480 800x600 1024x768 1280x1024
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- - + -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
256 color | 0x301 0x303 0x305 0x307
Enhanced 15 bit color | 0x310 0x313 0x316 0x319
Enhanced 16 bit color | 0x311 0x314 0x317 0x31A
True colors 24 bit color | 0x312 0x315 0x318 0x31B
Just pass this to the kernel parameter VGA =, and you can do it
In the grub:
Change to kernel/boot/vmlinuz-x.x.x VGA = kernel mode number (0x ahead of hexadecimal)
Lilo:
Same as above. But lilo doesnt seem to support hexadecimal values, so you want to convert the hexadecimal kernel mode abo
原创力文档

文档评论(0)