1,lilo下设置方法
lilo:linux vga=318
将会启动1024x768x24bpp模式。附件是常用分辨率+色彩所对应的编码
如果要默认就设置为1024x768x24bpp模式,可以修改/etc/lilo.conf,加入一下语句:
vga=0x318
然后保存退出,重启即可。
2,GRUB下设置方法
就是在grub的menu.lst启动列表的kernel最后添加vga参数,例如将tty分辨率设置为(1024x768x65536)
menu.lst位于/boot/grub/menu.lst
# 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/hda2
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-8)
root (hd0,0)
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/ vga=791
initrd /initrd-2.4.20-8.img
以下是常用参数列表
linux video=vga16 (640x480x16) <---默认的就是用的这个参数,支持最普通的硬件:)
linux vga=769 (640x480x256)
linux vga=771 (800x600x256)
linux vga=773 (1024x768x256)
linux vga=791 (1024x768x65536)
linux vga=775 (1280x1024x256)
修改后配和zhcon( http://sourceforge.net/projects/zhcon )或者cce( http://sourceforge.net/projects/cce2k/ )就完美了
(大分辨率+中文显示+中文输入(嘿嘿,有了这几个,基本上这辈子不图别的了。嘿嘿),perfect~huh~