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
Таги:

CentOS 5 NetInstall HTTP hint

I’m always searching for next two string when I’m doing a NetInstall of CentOS using HTTP as media: “Website Name” and “CentOS Directory”.

As example, to install CentOS 5.6 from mirror.centos.org for 32 bit platform:
Website Name: mirror.centos.org
CentOS Directory: centos/5.6/os/i386

For 64 bit platform:
Website Name: mirror.centos.org
CentOS Directory: centos/5.6/os/x86_64

For my current location and 64 bit platform best chose would be:
Website Name: mirror.duomenucentras.lt
CentOS Directory: centos/5.6/os/x86_64

Yep, it’s easy to remember or to find on the Internet, but I’ll keep them here just for me. I’m sure I’ll forgot this two when I’ll be doing next install someday.

Blog — Sergej Kurakin @ 13:56
Таги: