Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getting 80x50 text mode on console 1

Status
Not open for further replies.

rgotty

Technical User
Jul 29, 2003
6
US
I am running a server in text mode - no X-Windows or graphics.

In my LILO configuration, I have a line:
vga=extended
to put the console into 80x50 mode instead of 80x25.

While the kernel is booting, the video mode indeed is in 80x50 mode; but, when it starts the various services, it gets switched to 80x25.

Is there a command-line that I can put into my rc.local file or bashrc file or just simply enter on the command line that would allow me to change it to a 80x50 or higher?

Thanks,
-Rod
 
I dont know of a command line option to change this. I do have a table of the various resolutions that can be set by putting vga=# in your lilo/grub file:

640x480 800x600 1024x768 1280x1024 1600x1200
8bpp 769 771 773 775 796
16bpp 785 788 791 794 798
32bpp 786 789 792 795 799


for example, if you wanted a character cell display that was 800x600 x 16bpp, you would change your:

vga=extend

to:

vga=788

After the next reboot, you will have an 16bpp 800x600 (even after the boot) display.

Note: your hardware will determine your top end resolution. For my hardware, I have not been able to get anything above 795 to work. ymmv.
 
Thanks sbrews, it worked as follows:

Modified /etc/lilo.conf and put:
vga=775

Then ran lilo and then rebooted.
The screen came up as hoped.

Now, is there a way to change the resolution at runtime so that I don't have to reboot the computer?

-Rod
 
I've been wondering the same thing for a long time... Hope somebody knows!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top