Hi, All.
My monitor is old, Samsung 750s,the font size is very small under "command line" mode,I try to chang grub.conf
kernel /vmlinuz-2.6.32-279.el6.i686 ro root=/dev/mapper/vg_hw-lv_root ... to
kernel /vmlinuz-2.6.32-279.el6.i686 ro root=/dev/mapper/vg_hw-lv_root vga=792...
but it does not work.
PLS help on it, tnks
[RESOLVED] How to change Font size of Command Line
-
jackson123
- Posts: 5
- Joined: 2012/09/18 01:17:58
- Location: South China
Re: How to change Font size of Command Line
Are you running in command line only mode or using a command line window inside a GUI?
Re: How to change Font size of Command Line
You can add nomodeset to the kernel line in grub
That is, take the line that begins with something like kernel /vmlinuz-2.6-whatever and goes on with several other things, often ending with rhgb quiet and add
at the end, so it will look something like
(I'm simplified it--the line has lots of things in it.)
You can also set fonts in /etc/sysconfig/i18n or change it on the command line with
setfont
If you mean set the font size in an xterm or gnome terminal, it can be done in $HOME/.Xdefaults for Xterm.
That is, take the line that begins with something like kernel /vmlinuz-2.6-whatever and goes on with several other things, often ending with rhgb quiet and add
Code: Select all
nomodeset
at the end, so it will look something like
Code: Select all
kernel /vmlinuz-2.6-whatever ro root=/lots-of-numbers, KEYTABLE=us rhgb quet nomodeset
(I'm simplified it--the line has lots of things in it.)
You can also set fonts in /etc/sysconfig/i18n or change it on the command line with
setfont
If you mean set the font size in an xterm or gnome terminal, it can be done in $HOME/.Xdefaults for Xterm.
[RESOLVED] How to change Font size of Command Line
Use of "nomodeset" might have some side effects (it disables power management, for example). You can try the video= option. video=640x460 will give you 80x25 lines.
-
jackson123
- Posts: 5
- Joined: 2012/09/18 01:17:58
- Location: South China
Re: [RESOLVED] How to change Font size of Command Line
Thx a lot for the reply from 3 of you.
Yes, I am running in command line only mode.so that font size is a big problem because the font is so tiny.
With your instruction, it just took me several minutes to make it work:
kernel /vmlinuz-2.6... rhgb quiet nomodeset
Appreciate for your kind help,because it is my first visit to this forums.

Yes, I am running in command line only mode.so that font size is a big problem because the font is so tiny.
With your instruction, it just took me several minutes to make it work:
kernel /vmlinuz-2.6... rhgb quiet nomodeset
Appreciate for your kind help,because it is my first visit to this forums.
Re: [RESOLVED] How to change Font size of Command Line
Good to hear you got it working.
But one other issue about nomodeset is (not an immediate issue but) that it will not be in CentOS 7 according to what I've read somewhere.
But one other issue about nomodeset is (not an immediate issue but) that it will not be in CentOS 7 according to what I've read somewhere.