LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-11-2011, 05:18 AM   #1
evansd321
LQ Newbie
 
Registered: Aug 2008
Posts: 24

Rep: Reputation: 0
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!
 
Old 03-11-2011, 06:02 AM   #2
mesiol
Member
 
Registered: Nov 2008
Location: Lower Saxony, Germany
Distribution: CentOS, RHEL, Solaris 10, AIX, HP-UX
Posts: 731

Rep: Reputation: 137Reputation: 137
Hi

take a look at kernel parameter VGA=xxx

You can find a short list of vga boot mode resolution settings here.
 
Old 03-11-2011, 06:06 AM   #3
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
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.
 
Old 03-14-2011, 07:37 AM   #4
evansd321
LQ Newbie
 
Registered: Aug 2008
Posts: 24

Original Poster
Rep: Reputation: 0
Still no joy, I added the VGA= to the Kernal but still get the very small resolution, any ideas?
 
Old 03-14-2011, 11:07 AM   #5
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

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

Last edited by macemoneta; 03-14-2011 at 11:08 AM.
 
Old 03-15-2011, 08:02 AM   #6
evansd321
LQ Newbie
 
Registered: Aug 2008
Posts: 24

Original Poster
Rep: Reputation: 0
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?
 
Old 03-15-2011, 01:49 PM   #7
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
What value for vga=?
 
Old 03-16-2011, 08:12 AM   #8
evansd321
LQ Newbie
 
Registered: Aug 2008
Posts: 24

Original Poster
Rep: Reputation: 0
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!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] screen resolution issue ,bottom half screen off heron7 Linux - Newbie 3 10-15-2010 07:33 AM
[SOLVED] Determine native screen resolution from shell? raconteur Slackware 6 09-22-2010 02:28 PM
Full screen issue with non-native games demontager Linux - General 2 05-10-2009 09:13 AM
LCD screen native and maximum resolution with NVIDIA james2b Slackware 9 11-19-2008 07:44 PM
LCD native screen resolution not working james2b Mandriva 1 10-14-2008 10:46 PM


All times are GMT -5. The time now is 02:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration