LinuxQuestions.org
Help answer threads with 0 replies.
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 07-28-2007, 10:29 PM   #1
ssenuta
Member
 
Registered: Mar 2006
Location: NYS
Distribution: Mandriva-2006
Posts: 123

Rep: Reputation: 16
What effect does the kernel parameter VGA=<MODE> have on an init 3 console


Can someone explain what the vga=<mode> entry does in the /etc/lilo.conf file.

Does it control the appearence of the console when booted into init 3 (non-gui X) or does it just control the dmesg output as the system bootstraps into the init 3 console?

I tried booting the kernel with parameters: init 3 vga=ask to get a list of vga modes. I then I chose the index mode #1
(1 0F01 80x50) which I think is equivlent to vga=extended ....Anyways the boot started with small text messages but then switched the normal size text messages. Once I was fully booted to init 3 console it didn't look any different than it normally looks.

I think the boot text changed size after mounting the HD. So, my guess is that some boot script really controls how the console appears. If this is the case, then why would someone want to change his lilo.conf vga=mode at all?
 
Old 07-29-2007, 06:30 AM   #2
Lunate
LQ Newbie
 
Registered: Jul 2007
Distribution: Gentoo
Posts: 16

Rep: Reputation: 0
It's used to control the (virtual) framebuffer. You can choose different resolution and color depth by changing the number. If it just says <mode>, it's not configured yet.
 
Old 07-29-2007, 09:33 AM   #3
ssenuta
Member
 
Registered: Mar 2006
Location: NYS
Distribution: Mandriva-2006
Posts: 123

Original Poster
Rep: Reputation: 16
What effect does the kernel parameter VGA=<MODE> have on an init 3 console

How do you setup Linux to enable recognize the different vga modes?

I've always had the vga=normal option in my lilo.conf. Are you saying it doesn't do anything unless linux has framebuffer support?

What about these vga=<modes> :
vga=normal -----80x25 text mode
vga=extended -----80x50 text mode
vga=ask
vga=785 -----640x480
vga=788 -----800x600
vga=791 -----1024x768

Could it be that the vga=<mode> lilo.conf option works with both the standard linux console & the framebuffer console depending upon the mode value you supply it? Maybe the decimil numbers apply to a framebuffer console & the text values apply to a standard linux console?

Last edited by ssenuta; 07-29-2007 at 09:35 AM.
 
Old 07-29-2007, 12:41 PM   #4
Lunate
LQ Newbie
 
Registered: Jul 2007
Distribution: Gentoo
Posts: 16

Rep: Reputation: 0
The text values are probably just labels for spesific numbers. You can't change the resolution/font size of the terminal without a framebuffer (terminals in X doesn't count).

Also, framebuffers is more than just changing the looks of the console. You can use it to watch movies, images etc. without X.

Framebuffer have to be enabled in the kernel. You'll find it under Device Drivers -> Graphics support. You have it enabled already though (zcat /proc/config.gz | grep CONFIG_FB to check).
 
  


Reply

Tags
framebuffer


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
vga console reverts to text after boot (maybe during init?) debuser123 Linux - Kernel 1 12-10-2006 12:13 PM
How to reset console VGA mode after boot? chandru.in Linux - Software 2 05-19-2006 02:36 AM
kernel parameter is init=/bin/sh , how to start the second tty console? jiawj Slackware 2 04-22-2005 02:10 AM
Console vga mode problem after X logout Iskendar Linux - Software 6 12-08-2003 02:24 AM
Is there a way to make .bashrc effect console mode? purpleburple Linux - General 6 03-11-2003 07:38 PM

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

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

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