LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-15-2011, 01:43 PM   #1
idnotcrae
Member
 
Registered: May 2011
Distribution: Slackware
Posts: 121

Rep: Reputation: 0
Smile undefined video mode number !


Hi, I run both slackware and the stupid OS "windows " on my laptop, after choosing Slackware ->
-------------------------------------------------
loading tux
read BIOS data check succesfull.
undefined video mode number: ???
press enter to view a list or space to ...... (actually i don't remember " or wait 30 seconds.
-------------------------------------------------
i press enter and select a video mode then continue loading , but i dont want to do that every time so i edited lilo.conf and changed
vga = ???
to different numbers but it did not work ,,
any help wold be appreciated
 
Old 07-15-2011, 04:15 PM   #2
spudgunner
Member
 
Registered: Dec 2009
Distribution: Slackware
Posts: 229

Rep: Reputation: 20
This is a problem I get a lot when I run Slackware on my netbook. The problem seems to lie in the fact that the video numbers displayed in the menu are in hexadecimal form while the "vga=" number in lilo.conf is in decimal form. What you have to do is boot the system, make note of the number you use when you get the error and have to select a video mode, then convert this number to decimal (Hex/Dec/Bin Converter Here) and use it in the "vga=" portion of lilo.conf. Remember, after editing lilo.conf, run lilo to install the changes.

In the event that this doesn't work, perhaps try converting the number you've selected (during boot) from decimal to hex. My explanation above could be backwards, I can't remember exactly which way it is.
 
Old 07-15-2011, 06:11 PM   #3
idnotcrae
Member
 
Registered: May 2011
Distribution: Slackware
Posts: 121

Original Poster
Rep: Reputation: 0
thx , i tried ur suggestions and converted decimals to hexa ,, but the same problem still exist, i tried many values in lilo.conf and also the suggested values during the boot but did not work,, finally i decided to make it
vga = normal
and now it work without " undefined video mode number" ,, but with low resolution text which i hate much ,, anyway i'll leave it like this tiil someone come up with a solution
thx for ur help
 
Old 07-15-2011, 07:45 PM   #4
mRgOBLIN
Slackware Contributor
 
Registered: Jun 2002
Location: New Zealand
Distribution: Slackware
Posts: 999

Rep: Reputation: 230Reputation: 230Reputation: 230
You can feed lilo the numbers in hex just prefix them with 0x like this
Code:
vga = 0x31B
That's 795 in decimal so "vga = 795" would be the same.

Note: Tested in 13.37 and works fine
 
Old 07-16-2011, 05:50 AM   #5
idnotcrae
Member
 
Registered: May 2011
Distribution: Slackware
Posts: 121

Original Poster
Rep: Reputation: 0
yes , it works fine ,, thanx
 
  


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
Undefined Video Mode Number: 317 icanfly0307 Fedora 1 02-08-2009 06:23 PM
another 'undefined mode number' matrix0978 Ubuntu 1 03-06-2008 02:47 PM
another 'undefined mode number' matrix0978 Linux - Newbie 1 03-06-2008 12:45 PM
undefined mode number plastik.idol Slackware 1 01-28-2006 11:43 AM
Video Card boot up error: undefined mode number tt08 Linux - Newbie 1 10-24-2004 10:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:25 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