CentOS: How to set font size/ resolution on main console
Hi All,
I use CentOS and i need to set resolution or font size so that i can see more lines of logs at a time on the main console of my CentOS box. Thanks, |
What do you mean by 'main console'? Are you talk about a screen where you just see some white text on back with something like
Code:
CentOS blah blah Code:
$ hwinfo --framebuffer |
Yes, i meant by the same thing u replied for.
cat /boot/grub/menu.lst shows : # 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/hda1 default=0 timeout=5 splashimage=(hd0,0)/grub/splash.xpm.gz hiddenmenu title CentOS (2.6.18-8.el5) root (hd0,0) kernel /vmlinuz-2.6.18-8.el5 ro root=LABEL=/ initrd /initrd-2.6.18-8.el5.img And, hwinfo --framebuffer shows: -bash: hwinfo: command not found |
hwinfo is probably available in your repositories but it's not essential, it just gives you a list of what modes your card supports. You can just try codes to see if they work.
You need to modify the kernel line like so Code:
kernel /vmlinuz-2.6.18-8.el5 ro root=LABEL=/ vga=0x31A |
All times are GMT -5. The time now is 01:31 PM. |