LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Native BASH screen resolution issue (https://www.linuxquestions.org/questions/linux-newbie-8/native-bash-screen-resolution-issue-867886/)

evansd321 03-11-2011 04:18 AM

Native BASH screen resolution issue
 
I am running CentOS 5 without any KDE or Gnome desktop, so I am purely working in BASH.

At the moment the screen size must be set to 640 x 480 or something as the screen is all stretched and I cannot fit much data on the screen when doing admin.

Is there a way to change lines, columns or general resolution?

Bash version = 3.1.17(1)-release
Linux version = 2.6.18-53.1.4.el5
And Grub is the bootloader

Any suggestions welcome! :)

mesiol 03-11-2011 05:02 AM

Hi

take a look at kernel parameter VGA=xxx

You can find a short list of vga boot mode resolution settings here.

macemoneta 03-11-2011 05:06 AM

Boot the kernel with the 'vga=nn' option to get the resolution you want, per this table. Higher resolutions in the following table may work, depending on your video card.

evansd321 03-14-2011 06:37 AM

Still no joy, I added the VGA= to the Kernal but still get the very small resolution, any ideas?

macemoneta 03-14-2011 10:07 AM

Not without additional information. What did you add, exactly? 'VGA=' may be an invalid parameter. It's 'vga=' (lowercase).

evansd321 03-15-2011 07:02 AM

Sure so I was told to edit /boot/grub/grub.conf and add the 'vga=' along with the value at the end of the kernel line? .. is that correct?

macemoneta 03-15-2011 12:49 PM

What value for vga=?

evansd321 03-16-2011 07:12 AM

Ah I fixed it! .. I had some values from a web site that must be wrong! :) .. I now got the correct ones and it's working fine, thanks for the help guys! :)


All times are GMT -5. The time now is 04:56 AM.