Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Passing vga=normal causes DSL X Setup to run< Next Oldest | Next Newest >
edochan Offline





Group: Members
Posts: 4
Joined: May 2006
Posted: May 23 2006,02:19 QUOTE

I'm making a remastered version of Damn Small Linux 2.3, and I'm trying to get rid of the "You passed an undefined mode number" line that often pops up during boot and freaks out non-technical users.

When I've done Knoppix remasterings in the past, I've been able to get rid of it my changing the boot parameter "vga=791" to "vga=normal". This allows my users to boot straight into graphical mode without being asked any confusing questions about X. However, when I do this with DSL, it causes the DSL X Setup dialog to appear. (This happens whether I change "791" to "normal" in the isolinux.cfg file or enter "dsl vga=normal" it manually at the boot prompt.) The same thing seems to happen on whichever of several different computers I test on.

So I'm wondering:
a) Why is this happening on DSL when it doesn't happen on Knoppix?
b) Is there a way to stop the DSL X Setup dialog popping up?
c) Alternatively, is there any other way to avoid the "undefined mode number" message?
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: May 23 2006,04:16 QUOTE

Knoppix's target is not to  support low end hardware as much DSL does.
vga=791 by looking at the vga code table, f3, at first boot prompt show a 1024x768 display. Many low end machines can boot vga=normal and not able to display 1024x768. I test run DSL on a 640x480 display. In fact I would venture to say most machines that need vga=normal will most likely need 800x600 display. I once made the system boot vga=normal and then into an 800x600 display with the resolution picked started but it was not adopted.  But since you are remastering you can hack it anyway you like.
Back to top
Profile PM WEB 
edochan Offline





Group: Members
Posts: 4
Joined: May 2006
Posted: May 23 2006,08:21 QUOTE

Hi Roberts.

Thanks for your reply.

Any idea which file(s) I should hack to get my DSL remaster to do vga=normal without going through the DSL X Setup?

(I thought I'd find something in /etc/init.d/knoppix-autoconfigure, but I couldn't see anything relevant.)
Back to top
Profile PM 
pr0f3550r Offline





Group: Members
Posts: 378
Joined: Dec. 2005
Posted: May 23 2006,10:37 QUOTE

My two cents:
vga=normal is supposed to be for legacy hardware with very bad graphic cards (kinda pre 1988). If I boot with with vga=normal in qemu the only colors available are blue and green.

vga=normal should be avoided in a remaster. Pick a standard resolution (800x600) and that's it.


--------------
THE QEMU FORUM: http://qemu.dad-answers.com/index.php

QEMU ON WINDOWS: http://www.h7.dion.ne.jp/~qemu-win/

How to use floppy, CD-ROM and hard disk - http://www.h7.dion.ne.jp/~qemu-win/HowToFloppyCdrom-en.html

How to use network - http://www.h7.dion.ne.jp/~qemu-win/HowToNetwork-en.html
Back to top
Profile PM 
edochan Offline





Group: Members
Posts: 4
Joined: May 2006
Posted: May 23 2006,11:00 QUOTE

Interesting suggestion, pr0f3550r.

I just tried booting with things like "dsl vga=789" (600x800 24-bit) and "dsl vga=788" (600x800 16-bit), but I still get the "undefined mode number" error message - _and_ the DSL X setup screens.

My aim here is to get rid of any English/Techlish messages that are going to confuse my (Japanese) users and stand between them and what they want to do (use my software).

Apart from invoking "vga=normal", do you know of any other way to get rid of the "undefined mode number" error?
Back to top
Profile PM 
6 replies since May 23 2006,02:19 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: Passing vga=normal causes DSL X Setup to run

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code