LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Thread Tools
Old 03-02-2004, 09:59 AM   #1
fmarzocca
LQ Newbie
 
Registered: Feb 2004
Posts: 8
Thanked: 0
Lilo vga modes?


[Log in to get rid of this advertisement]
I have just installed new kernel 2.4.24, but I've lost the nice resolution on the character console. Now it boots at 80x25 text screen. What options should I give to lilo.conf in order to have the nice booting screen characters with the small penguin on the upper left side??
fmarzocca is offline     Reply With Quote
Old 03-02-2004, 11:49 AM   #2
aaa
Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194
Thanked: 0
Try vga=769 or vga=788. 'vga=ask' will give you a list of choices.
aaa is offline     Reply With Quote
Old 03-02-2004, 11:54 AM   #3
jailbait
Guru
 
Registered: Feb 2003
Location: atop the Blue Ridge
Distribution: Debian Lenny, CentOS 5.2
Posts: 7,250
Thanked: 31
"What options should I give to lilo.conf in order to have the nice booting screen characters with the small penguin on the upper left side??"

Set the vga= parameter to the VESA resolution that you want. The following vga numbers are all 256 colors which is plenty for the boot screen.

640x480 vga=769
800x600 vga=771
1024x768 vga=773
1280x1024 vga=775
1600x1200 vga=796

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
jailbait is offline     Reply With Quote
Old 03-25-2004, 04:42 PM   #4
alaios
Senior Member
 
Registered: Jan 2003
Location: Athens
Distribution: Open suse 10.2 zmd->trash
Posts: 1,835
Thanked: 0
axa

do u know where i can find all these settings? If i want to change the refresh rate in the console? Is that possible/?
alaios is offline     Reply With Quote
Old 03-25-2004, 04:58 PM   #5
jailbait
Guru
 
Registered: Feb 2003
Location: atop the Blue Ridge
Distribution: Debian Lenny, CentOS 5.2
Posts: 7,250
Thanked: 31
"do u know where i can find all these settings?"


Here is the entire table. The reply script messed up the spacing a little but it is still readable.

The vga modes are:
hex:
| 640x480 800x600 1024x768 1280x1024
----+-------------------------------------
256 | 0x101 0x103 0x105 0x107
32k | 0x110 0x113 0x116 0x119
64k | 0x111 0x114 0x117 0x11A
16M | 0x112 0x115 0x118 0x11B

dec:
| 640x480 800x600 1024x768 1280x1024
----+-------------------------------------
256 | 257 259 261 263
32k | 272 275 278 281
64k | 273 276 279 282
16M | 274 277 280 283

VESA:
Colors (depth) 640x480 800x600 1024x768 1280x1024 1600x1200
---------------+-------+-------+--------+---------+---------
256 ( 8 bit)| 769 771 773 775 796
32,768 (15 bit)| 784 787 790 793 797
65,536 (16 bit)| 785 788 791 794 798
16.8M (24 bit)| 786 789 792 795 799

"If i want to change the refresh rate in the console? Is that possible/?"

You can change the refresh rate in X Window by changing /etc/XF86Config. I do not know if you can change the refresh rate for the command line other than the vga= parameter at boot.


___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
jailbait is offline     Reply With Quote
Old 11-13-2005, 04:09 AM   #6
Akhran
Member
 
Registered: Aug 2005
Distribution: Debian 'lenny'
Posts: 202
Thanked: 0
Can this informative table be displayed in linux via man pages or any other means? I tried man vga and of cos that doesn't work

Thanks.


Quote:
Originally posted by jailbait
"do u know where i can find all these settings?"


Here is the entire table. The reply script messed up the spacing a little but it is still readable.

The vga modes are:
hex:
| 640x480 800x600 1024x768 1280x1024
----+-------------------------------------
256 | 0x101 0x103 0x105 0x107
32k | 0x110 0x113 0x116 0x119
64k | 0x111 0x114 0x117 0x11A
16M | 0x112 0x115 0x118 0x11B

dec:
| 640x480 800x600 1024x768 1280x1024
----+-------------------------------------
256 | 257 259 261 263
32k | 272 275 278 281
64k | 273 276 279 282
16M | 274 277 280 283

VESA:
Colors (depth) 640x480 800x600 1024x768 1280x1024 1600x1200
---------------+-------+-------+--------+---------+---------
256 ( 8 bit)| 769 771 773 775 796
32,768 (15 bit)| 784 787 790 793 797
65,536 (16 bit)| 785 788 791 794 798
16.8M (24 bit)| 786 789 792 795 799

"If i want to change the refresh rate in the console? Is that possible/?"

You can change the refresh rate in X Window by changing /etc/XF86Config. I do not know if you can change the refresh rate for the command line other than the vga= parameter at boot.


___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
Akhran is offline     Reply With Quote
Old 11-13-2005, 06:54 AM   #7
makuyl
Senior Member
 
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,104
Thanked: 12
How about: grep "|" /usr/src/linux/Documentation/fb/vesafb.txt
makuyl is offline     Reply With Quote
Old 11-13-2005, 05:58 PM   #8
Akhran
Member
 
Registered: Aug 2005
Distribution: Debian 'lenny'
Posts: 202
Thanked: 0
I don't have vesafb.txt anywhere on my system.

Quote:
Originally posted by makuyl
How about: grep "|" /usr/src/linux/Documentation/fb/vesafb.txt
Akhran is offline     Reply With Quote
Old 11-13-2005, 06:13 PM   #9
makuyl
Senior Member
 
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,104
Thanked: 12
You need the kernel source for that file. Did you try the svgamodes command?
makuyl is offline     Reply With Quote
Old 11-14-2005, 08:02 AM   #10
Akhran
Member
 
Registered: Aug 2005
Distribution: Debian 'lenny'
Posts: 202
Thanked: 0
I don't have the svgamodes command anywhere in my system either...

Quote:
Originally posted by makuyl
You need the kernel source for that file. Did you try the svgamodes command?
Akhran is offline     Reply With Quote
Old 11-14-2005, 11:44 AM   #11
makuyl
Senior Member
 
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,104
Thanked: 12
Oops, sorry. The svgamodes comes from knoppix-kudzu on my kanotix sid install. Guess it's easiest to google the table unless you install a kernel source.
Anyway, here's what the first command returns:
~# grep "|" /usr/src/linux/Documentation/fb/vesafb.txt
| 640x480 800x600 1024x768 1280x1024
256 | 0x101 0x103 0x105 0x107
32k | 0x110 0x113 0x116 0x119
64k | 0x111 0x114 0x117 0x11A
16M | 0x112 0x115 0x118 0x11B
| 640x480 800x600 1024x768 1280x1024
256 | 0x301 0x303 0x305 0x307
32k | 0x310 0x313 0x316 0x319
64k | 0x311 0x314 0x317 0x31A
16M | 0x312 0x315 0x318 0x31B
makuyl is offline     Reply With Quote
Old 03-11-2006, 09:19 AM   #12
sunpascal
Member
 
Registered: Jan 2005
Distribution: Debian
Posts: 104
Thanked: 0
does this work for grub too?
sunpascal is offline     Reply With Quote
Old 03-19-2006, 11:57 PM   #13
aaa
Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194
Thanked: 0
Yeah. It's a kernel thing, independent of the bootloader. As long as the bootloader can pass parameters to the kernel it should work.
aaa is offline     Reply With Quote
Old 08-01-2006, 08:07 AM   #14
vimalkumar.s
LQ Newbie
 
Registered: May 2006
Posts: 3
Blog Entries: 1
Thanked: 0
I to had the same problem and I solved it by adding vga = 769 in grub.config file
vimalkumar.s is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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
LILO graphics modes uveraser Linux - Software 2 05-25-2004 07:04 AM
(here's a challenge) VGA text console modes with a new kernel. ftgow Linux - Hardware 9 02-12-2004 03:08 AM
KERNEL 2.6.2 Need help with VGA modes on slackware 9.1 (that means you mike) ftgow Slackware 3 02-11-2004 03:27 AM
lilo that comes packaged with slack 9.1 doesn't recognize vga modes? TheOneAndOnlySM Slackware 1 10-05-2003 05:21 AM
Changing the refreshrate for vga/vbe video modes akqw Linux - Software 1 05-25-2003 12:06 PM


All times are GMT -5. The time now is 04:53 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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration