通过VGA启动参数来设置屏幕分辨率模式
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
8 bit ??? vga=771 ??? vga=773 ??? vga=353 ??? vga=775 ??? vga=796
16 bit ??? vga=788 ??? vga=791 ??? vga=355 ??? vga=794 ??? vga=798
24 bit ??? vga=789 ??? vga=792 ??? ? ??? ??? vga=795 ??? vga=799
http://www.pendrivelinux.com/vga-boot-modes-to-set-screen-resolution/
?
另附常见的分辨率对应vga编码:
VGA参数表
hwinfo --framebuffer | grep Mode
? Model: "NVIDIA GW-P/N@PM898486GTQ14P:0"
? Mode 0x0300:?? 640x400 (+640), 8 bits
? Mode 0x0301:?? 640x480 (+640), 8 bits
? Mode 0x0303:?? 800x600 (+800), 8 bits
? Mode 0x0305:?? 1024x768 (+1024), 8 bits
? Mode 0x0307:?? 1280x1024 (+1280), 8 bits
? Mode 0x030e:?? 320x200 (+640), 16 bits
? Mode 0x030f:??? 320x200 (+1280), 24 bits
? Mode 0x0311:?? 640x480 (+1280), 16 bits
? Mode 0x0312:?? 640x480 (+2560), 24 bits
? Mode 0x0314:?? 800x600 (+1600), 16 bits
? Mode 0x0315:?? 800x600 (+3200), 24 bits
? Mode 0x0317:?? 1024x768 (+2048), 16 bits
? Mode 0x0318:?? 1024x768 (+4096), 24 bits
? Mode 0x031a:?? 1280x1024 (+2560), 16 bits
? Mode 0x031b:?? 1280x1024 (+5120), 24 bits
? Mode 0x0330:?? 320x200 (+320), 8 bits
? Mode 0x0331:?? 320x400 (+320), 8 bits
? Mode 0x0332:?? 320x400 (+640), 16 bits
? Mode 0x0333:?? 320x400 (+1280), 24 bits
? Mode 0x0334:?? 320x240 (+320), 8 bits
? Mode 0x0335:?? 320x240 (+640), 16 bits
? Mode 0x0336:?? 320x240 (+1280), 24 bits
? Mode 0x033d:?? 640x400 (+1280), 16 bits
? Mode 0x033e:?? 640x400 (+2560), 24 bits
? Mode 0x0345:?? 1600x1200 (+1600), 8 bits
? Mode 0x0346:?? 1600x1200 (+3200), 16 bits
? Mode 0x0347:?? 1400x1050 (+1400), 8 bits
? Mode 0x0348:?? 1400x1050 (+2800), 16 bits
? Mode 0x0349:?? 1400x1050 (+5600), 24 bits
? Mode 0x034a:?? 1600x1200 (+6400), 24 bits
? Mode 0x0352:?? 2048x1536 (+8192), 24 bits
? Mode 0x0360:?? 1280x800 (+1280), 8 bits
? Mode 0x0361:?? 1280x800 (+5120), 24 bits
? Mode 0x0362:?? 768x480 (+768), 8 bits
? Mode 0x0364:?? 1440x900 (+1440), 8 bits
? Mode 0x0365:?? 1440x900 (+5760), 24 bits
? Mode 0x0368:?? 1680x1050 (+1680), 8 bits
? Mode 0x0369:?? 1680x1050 (+6720), 24 bits
? Mode 0x037c:?? 1920x1200 (+1920), 8 bits
? Mode 0x037d:?? 1920x1200 (+7680), 24 bits
转自:http://blog.csdn.net/yeqishi/archive/2010/05/09/5573097.aspx
?
然后通常在内核参数后添加,如,(1280x800 (+5120), 24 bits)
[simonsun@magic ~]$ sudo cat /boot/grub/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/VolGroup00/LogVol00
#????????? initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=0
#splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.18-194.8.1.el5)
??????? root (hd0,0)
??????? kernel /vmlinuz-2.6.18-194.8.1.el5 vga=0x0361 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
??????? initrd /initrd-2.6.18-194.8.1.el5.img
重启后,控制台的分辨率就变成和设置度vga对应的的一样了,字体不会很大也不会很小。