LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   undefined video mode number ! (https://www.linuxquestions.org/questions/slackware-14/undefined-video-mode-number-891916/)

idnotcrae 07-15-2011 12:43 PM

undefined video mode number !
 
Hi, I run both slackware and the stupid OS "windows :D" 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 :D " 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 :D ,,
any help wold be appreciated :)

spudgunner 07-15-2011 03:15 PM

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.

idnotcrae 07-15-2011 05:11 PM

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 :)

mRgOBLIN 07-15-2011 06:45 PM

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

idnotcrae 07-16-2011 04:50 AM

yes , it works fine ,, thanx ;)


All times are GMT -5. The time now is 02:56 PM.