LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 11-12-2003, 08:36 AM   #1
K3vin
LQ Newbie
 
Registered: Oct 2002
Posts: 12

Rep: Reputation: 0
Command prompt - Screen resolution adjusting


Hello,

Background:
I have a HP pavilion ze4317 with a screen that does 1024 X 768.
I have been able to get my X to run well at this resolution with maximum colors.
I searched the bios, but there is no screen resolution setting.

Problem:
When i go to command prompt, with ALT+CTRL+F2, or when the machine is booting up,
the system does not take up the entire screen and appears to work in 600X800,

How do i make it use the full screen?


Thanks for any help
Kevin
 
Old 11-13-2003, 09:41 AM   #2
BSlack
Member
 
Registered: Nov 2003
Location: Italy: 44° 42' N - 12° 11' E
Distribution: Slackware, what else?!!
Posts: 63

Rep: Reputation: 15
Quote:
the system does not take up the entire screen and appears to work in 600X800
what does it mean?
maybe 640x480 or standard VGA...

If your video board support VESA protocol (see your board documentation) you can try something like this:

* If your distro use LILO as boot loader:
at boot time go to LILO command-line mode (hold the <Alt> or <Shift> key before the ``LILO'' message appears)
and type vga=318 then press enter
you should see the boot sequence in 1024x768 32M colors.
If it work you can add this option in the LILO configuration file
(/etc/lilo.conf) at the end of the line boot= <blah blah blah>.
Don`t forget to run LILO *every* time you modify lilo.conf file (simply type lilo).

I don`t use LILO as boot loader so i am not 100% sure that these are the right steps.
See LILO documentation and HOWTOs.

* If your distro use GRUB as boot loader:
The steps are similar,
at the GRUB boot menu select the Linux and kernel you want to boot
type 'e' to edit the command-line and ad vga=318
then press enter.
As above if it work you can add this option to the GRUB configuration file
(usually /boot/grub/grub.conf or /boot/grub/menu.lst).
You DON'T need to run GRUB to make the change permanent!!! (This is why
i use GRUB)
See GRUB documentation and HOWTOs.

You can find other VESA mode in the kernel documentation directory (i don't
remember where and the file name - i'm at work now ).

I hope this can help you.
Good luck.
P.S.: Sorry for my english!
 
Old 11-14-2003, 04:43 AM   #3
K3vin
LQ Newbie
 
Registered: Oct 2002
Posts: 12

Original Poster
Rep: Reputation: 0
blank screen

Hi,
Thanks for the reply and by the way i think your english id pretty fine.

I have tried the "vga=317" and also vga = 305 and 316,
however they all give me a blank screen untill X starts up.

I am guessing it might be a problem with the display card, since i have the ATI card on this laptop and i know there are no correct drivers for this on linux yet. For example in X i am using the normal VESA driver.

Do you have any hints for me?

Thanks
Kevin
 
Old 11-15-2003, 05:24 AM   #4
BSlack
Member
 
Registered: Nov 2003
Location: Italy: 44° 42' N - 12° 11' E
Distribution: Slackware, what else?!!
Posts: 63

Rep: Reputation: 15
I can't read your reply until now cause
I was out of town for work last two days.

Sorry, but I gave you the wrong code,
the right code is vga=792,
(318 is the equivalent in hexadecimal and maybe
work if you prepend it with 0x).

Now, if your boar is VESA compliant (and every board
not too old is) everything shoul be ok.

You can find some help and other codes from the kernel docs
/usr/src/linux/Documentation/fb/vesafb.txt.

Let me know...
 
Old 11-18-2003, 03:08 AM   #5
K3vin
LQ Newbie
 
Registered: Oct 2002
Posts: 12

Original Poster
Rep: Reputation: 0
It works

Hi,
I should have tried that 0x by myself!!
Anyway it works now, thank you very much. I'll go read on that link a bit now.

Kevin
 
  


Reply



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
Key stroke/command to shut down x and go into the command prompt screen? Fear58 Linux - General 1 07-14-2004 07:14 PM
cant see the bottom of the screen in command prompt simpletoker Slackware 6 04-14-2004 08:16 PM
Adjusting screen resolution in Suse. Spudley Linux - Newbie 2 09-15-2003 04:54 PM
Adjusting screen resolution an a laptop amp2000 Linux - General 2 10-29-2001 10:28 AM
Command Prompt Screen Stephanie Linux - General 5 06-27-2001 10:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:45 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
Open Source Consulting | Domain Registration