1、lilo下设置方法
lilo:linux vga=318
将会启动1024x768x24bpp模式。下面是常用分辨率+色彩所对应的编码
色彩 640x400 640x480 800x600 1024x768 1280x1024 1600x1200
4bits ? ? 0x302 ? ? ?
8bits 0x300 0x301 0x303 0x305 0x307 0x31C
15bits ? 0x310 0x313 0x316 0x319 0x31D
16bits ? 0x311 0x314 0x317 0x31A 0x31E
24bits ? 0x312 0x315 0x318 0x31B 0x31F
32bits ? ? ? ? ? ?
如果要默认就设置为1024x768x24bpp模式,可以修改/etc/lilo.conf,加入一下语句:
vga=0x318
然后保存退出,重启即可。
2、GRUB下设置方法
就是在grub.conf启动列表的kernel最后添加vga参数,例如将tty分辨率设置为(800x600x65536)
cat /etc/grub.conf# grub.conf generated by anaconda## Note that you
do not have to rerun grub after making changes to this file#
NOTICE: You have a /boot partition. This means
that# all
kernel and initrd paths are relative to /boot/,
eg.# root
(hd0,0)#
kernel /vmlinuz-version ro
root=/dev/sda3#
initrd
/initrd-version.img#boot=/dev/sdadefault=0timeout=5splashimage=(hd0,0)/grub/splash.xpm.gzhiddenmenutitle
Red Hat Enterprise Linux AS
(2.6.9-22.EL) root
(hd0,0) kernel
/vmlinuz-2.6.9-22.EL ro root=LABEL=/
vga=788 initrd
/initrd-2.6.9-22.EL.img
以下是常用参数列表
linux video=vga16 (640x480x16) <---默认参数,支持最普通的硬件:)vga=769
(640x480x256) vga=771 (800x600x256) vga=788 (800x600x645536)
vga=773 (1024x768x256) vga=791 (1024x768x65536)
修改后配和zhcon或者cce更加完美。
(大分辨率+中文显示+中文输入)
下面是所有分辨率的列表:
# VESA framebuffer console @ 1024x768x64k vga = 791 # Normal VGA
console # vga = normal # VESA framebuffer console @ 1024x768x64k #
vga=791 # VESA framebuffer console @ 1024x768x32k # vga=790 # VESA
framebuffer console @ 1024x768x256 # vga=773 # VESA framebuffer
console @ 800x600x64k # vga=788 # VESA framebuffer console @
800x600x32k # vga=787 # VESA framebuffer console @ 800x600x256 #
vga=771 # VESA framebuffer console @ 640x480x64k # vga=785 # VESA
framebuffer console @ 640x480x32k # vga=784 # VESA framebuffer
console @ 640x480x256 # vga=769 3、通过VMware
workstation设置修改后配和zhcon或者cce更加完美。
(大分辨率+中文显示+中文输入)
下面是所有分辨率的列表:
以我的VMware-workstation-6.0.0-45731为例子,其设置步骤为:
Edit -> Preferences -> Display -> Full screen -> Stretch guest
设置完毕并保存后,若有必要重启系统即可。