废话不多说了,直接修改/etc/grub.conf的内核启动参数,增加vga的相关的值。

具体的值可以参照如下的表格:


Depth 800*600 1024*768 1152*864 1280*1024 1600*1200
8bit vga=771 vga=773 vga=353 vga=775 vga=796
16bit vga=788 vga=791 vga=355 vga=794 vga=798
24bit vga=789 vga=792   vga=795 vga=799


具体的可以参见:http://www.pendrivelinux.com/vga-boot-modes-to-set-screen-resolution/


VGA Boot modes to set screen resolution

A simple way to set your screen resolution and color depth for most Live Linux distro's is via the use of the vga=parameter boot option. For example at boot you might type: Live vga=795. This would set your system to boot using the Live label with a screen resolution to 24bit 1280X1024. Here are some more examples of common vga boot values.


VGA Resolution and Color Depth reference Chart:



Depth 800*600 1024*768 1152*864 1280*1024 1600*1200
8bit vga=771 vga=773 vga=353 vga=775 vga=796
16bit vga=788 vga=791 vga=355 vga=794 vga=798
24bit vga=789 vga=792   vga=795 vga=799


Logo

华为开发者空间,是为全球开发者打造的专属开发空间,汇聚了华为优质开发资源及工具,致力于让每一位开发者拥有一台云主机,基于华为根生态开发、创新。

更多推荐