LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 09-14-2005, 09:40 AM   #1
magamandrake
LQ Newbie
 
Registered: Sep 2005
Posts: 3

Rep: Reputation: 0
Unhappy How to adjust the screen resolution?


I installed red-hat 9 and on a machine that has onboard video. Now after it passes through the boot loader GRUB (where you can select the OS), the screen goes black. I think the resolution is too high, and I don't know how to adjust it at this time. The choices that I have are:
'e' edit command before booting
'a' modify kernel arguments
'c' command-line

What should I do?

Thanks
 
Old 09-14-2005, 09:54 AM   #2
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,511

Rep: Reputation: 58
You can use the 'vga=' parameter in your bootloader config. In your case, select 'e' and edit the kernel line. Add vga=0xXXX from the table below to the parameters and boot. If this was successful, add this to the config file (/etc/grub.conf) to make it permanent.

Code:
     | 640x480  800x600  1024x768 1280x1024
----+-------------------------------------
256 |  0x301    0x303    0x305    0x307   
32k |  0x310    0x313    0x316    0x319   
64k |  0x311    0x314    0x317    0x31A   
16M |  0x312    0x315    0x318    0x31B
 
Old 09-14-2005, 10:05 AM   #3
magamandrake
LQ Newbie
 
Registered: Sep 2005
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks for the reply. It does seem to change the resolution as it loading but now it freezes at kernel panic:no init found.

I have tried different ones from that table and 4 of them give me the same thing.
Damn...newbie, newbie(me)
 
Old 09-14-2005, 10:29 AM   #4
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,511

Rep: Reputation: 58
The error message you get has nothing to do with the resolution. Your bootloader may point to the wrong /boot or rootpartition. You can use the grub command-line ('c') to find your kernel. This documentation is for SUSE, but may help you as well: http://portal.suse.com/sdb/en/2002/0..._overview.html
 
Old 09-14-2005, 11:03 AM   #5
magamandrake
LQ Newbie
 
Registered: Sep 2005
Posts: 3

Original Poster
Rep: Reputation: 0
The main problem is that I do not get a screen when I boot up w/o editing the kernel. If I edit it changing the vga=0x318 or vga=normal then I get the error: kernel panic:no init found.
Should I just plug in new video card and change it if it boots, there wont be any fun or learing in that though...
 
  


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
adjust screen resolution BDemers Linux - Newbie 5 08-18-2005 04:50 AM
Adjust Console Resolution (Lilo) spaceballs Slackware 3 02-15-2005 08:23 PM
howto adjust user screen resolution patpat Linux - Newbie 3 06-23-2003 06:42 AM
Help. Can't adjust screen resolution or TwinView fatter Linux - General 4 01-26-2003 08:15 PM
How do I adjust screen resolution is Redhat 7.3? glitch Linux - Newbie 6 08-31-2002 09:50 AM


All times are GMT -5. The time now is 08:11 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration