2011-07-28

CentOS Console Resolution

Sometimes you need just a bit bigger console window when you working with your CentOS virtual installation with only NAT network enabled and you are too lazy to mess with port forwarding on VirtualBox or your preferred Virtualization software. Just for few small short experiments.

So, in grub.conf you’ll find something like that (default install using NetInstall image):

title CentOS (2.6.18-238.19.1.el5)
  root (hd0,0)
  kernel /vmlinuz-2.6.18-238.19.1.el5 ro root=/dev/VolGroup00/LogVol00
  initrd /initrd-2.6.18-238.19.1.el5.img

And you need to add next string to kernel: console=ttyS0,57600 console=tty0 vga=792

So it would look like:

title CentOS (2.6.18-238.19.1.el5)
  root (hd0,0)
  kernel /vmlinuz-2.6.18-238.19.1.el5 ro root=/dev/VolGroup00/LogVol00 console=ttyS0,57600 console=tty0 vga=792
  initrd /initrd-2.6.18-238.19.1.el5.img

Other values for vga parameter:
791 - 1024x768, 16 bit
792 - 1024x768, 24 bit
794 - 1280x1024, 16 bit
795 - 1280x1024, 24 bit

After reboot it will should work.

Blog — Sergej Kurakin @ 17:20
Таги:
Комментариев по теме нет »

Высказыванний по теме нет

RSS комментариев. TrackBack URI

Оставить свой комментарий