boot up settings


Forum: X and Fluxbox
Topic: boot up settings
started by: tripppy

Posted by tripppy on Aug. 09 2004,11:37
ok
ive done a HD install successfully (i hope)
and now on boot up it still asks for video modes availble [return] or [space] etc....
i wanna stop this!

also
when i boot into x (desktop)
i cannot get enhanced desktop
eg; no icons, even after i goto to enhanced desktop in the right click menu

now ive changed out those xserver settings, anything but 1024 16 bit and USB mouse default settings in wizard, ill get too much color and it hurts my eyes

Posted by chibiace on Aug. 09 2004,12:45
0.7.3 should have enhance mode on by default.
Posted by trippppy on Aug. 10 2004,00:06
nah, it doesnt, i cant find the icons at all
no icons!? reformat? re install?
also i want to make my screen res. bigger so i can read it easileier - but when doing x setup i can only run 1024 @16bit
the rest give me high contrast

Posted by RobF on Aug. 11 2004,20:41
You can bypass the screen that's asking you to choose a video mode by booting into the framebuffer device.

On the Live CD, that's done by entering vga=normal (or any of the vga modes that your video card supports, e.g. vga=791) at the boot prompt, e.g. dsl vga=normal.

With DSL installed on the HDD, you can pass that boot option vga=... to the kernel by entering it in lilo.conf.

Open a root console and enter "nano /etc/lilo.conf".  In the lilo.conf file, you'll see an entry or entries beginning with the line image=....  Identify the entry that belongs to the DSL partition (probably called dsl or debian_GNU).  Using nano, between the lines label=..... and root=..... insert the line "vga=normal" (without the quotation marks), or any specific setting of vga=... that you've found suitable.  Then hit CTRL-O, followed by CTRL-X.  Run "more /etc/lilo.conf"  to check whether lilo.conf has been properly written, and then run "lilo" from the command line.  That will write the updated lilo configuration to the boot sector of your HDD; while doing that it will tell you which entries have been added.

Here is a sample of the entry for Feather Linux on my HDD:

Code Sample
image=/disks/debian/boot/vmlinuz-2.4.26
label=Debian_GNU
vga=773
root=/dev/hdb10
initrd=/disks/debian/boot/initrd.gz
append="lang=us"
read-only

It's easier to experiment with vga setting using the Live CD rather than the HDD install because the CD will pause at the boot: prompt where you can enter the vga=.... setting.  A list of vga mode numbers is included below.

The next time you boot DSL that initial "select video mode" screen should be gone, you should see a little penguin in the upper left corner (indicating that you are running a framebuffer) and the console text might be smaller and have a higher res.

If you are still presented with the X Setup screens, you can then either run Xvesa (and choose your resolution from the screen) or stick with Xfbdev.  If you choose Xfbdev, then the desired resolution has already been set through the vga=... setting implemented right at the beginning of the boot sequence.

If you don't get the Xsetup screens (I believe as of v. 0.7.3, DSL automatically boots into an enhanced desktop with Xvesa at 1024x768x32, bypassing those screens), then there is the boot option (aka cheatcode) "dsl xsetup" that allows you to disable that autobootup sequence.

For DSL installed on the HDD, you can pass that boot option to the kernel by putting it in an append line in lilo.conf.  Again, open a root console, enter "nano /etc/lilo.conf", go to the image=.... entry for DSL and look if there is a line beginning with append=...  If there isn't, insert one (see the above sample).  The format for append is:

append="boot_option_1 boot_option_2 boot_option_3"

You can include as many cheatcodes as you want.  An example: append="lang=us xsetup noicons"

Then save the modified lilo.conf and run "lilo" again to update the lilo configuration.  The new setting will be implemented on the next bootup which I would suppose will guide you through the XSetup screens to the standard desktop.  To get to the enhanced desktop with icons, click on the "Enhanced desktop" option which I believe is in the Configuration menu.

If you don't get icons then you've got the same problem that I have - I've never seen icons in one month of use of DSL.  That may be a bug.

Good luck.

Robert

P.S. A list of vga mode numbers follows.  This is a document included with Feather Linux.  Note that DSL doesn't provide the utility fbset.

Changing the XFbdev resolution
==============================

XFbdev uses the framebuffer device which is activated at boot time. In order
to change the framebuffer settings, you need to exit X and use a tool called
fbset.

Then merely restart X. If you want to set the resolution during bootup,
you need to enter the correct cheatcode. To set the resolution to 800x600,
you would type "dsl vga=788" for instance. Here are some of the codes:

640x480 - 256 colours: 769
640x480 - 32,768 colours: 784
640x480 - 65,536 colours: 785
640x480 - 16.8M colours: 786
800x600 - 256 colours: 771
800x600 - 32,768 colours: 787
800x600 - 65,536 colours: 788
800x600 - 16.8M colours: 789
1024x768 - 256 colours: 773
1024x768 - 32,768 colours: 790
1024x768 - 65,536 colours: 791 (default)
1024x768 - 16.8M colours: 792
1280x1024 - 256 colours: 775
1280x1024 - 32,768 colours: 793
1280x1024 - 65,536 colours: 794
1280x1024 - 16.8M colours: 795

Posted by tripppy on Aug. 12 2004,10:12
where do i go to get that guy (RobF) a medal?
Posted by tripppy on Aug. 14 2004,04:51
i really want DSL to work.
ive installed dsl to HD.
ive played around with heaps of settings and  i have found.
x looks good in 1024, 16bit but with no icons and no "what is dsl" i couldnt run most programs, but md, xtris, xsetup, netcardconfig worked.
or
x looks shitty (high contrasting colours) in 640*480 or 800*600 and it has icons and "what is dsl" in dillo startup.
i could also open control panel and myDSL, which i couldnt do in 1024.

i also did a boot into  Xfbdev with vga=788 came back with erorr 104 reset by peer.

so now my lilo.conf is as follows
vga=normal
append="dsl xsetup"
i choose xvesa, 640*480, 4bit and i get perfect contrast but no icons and "what is dsl" page coming up, i also cant run myDSl or control panel, but xtris and most games run.

HELP!

Posted by roberts on Aug. 14 2004,06:34
How can anyone help when you have never stated what video your system has?  Also, as was mentioned, it is a whole lot easier to test your video setup whist on the liveCD and then install to hard drive if so desired. Maybe you have the dreaded i845 video which has very limited support.

What does cat /etc/sysconfig/xserver produce on your system? Then maybe someone with a similar system can share their solution.

Posted by tripppy on Aug. 14 2004,10:22
hey, i decied to change to a newer PCI video card
now it works fine.
im going to leave it at that
now im running two ISA NICs in the slots.

cheers for all the help dudes

BTW

cat /etc/sysconfig/xserver
returns this
XSERVER="XFree86"
XMODULE="vesa"
XDESC="Trio 64V2/DX or /GX"

Posted by ke4nt1 on Aug. 14 2004,10:52
Good Work, Tripppy

As you found out,  the desktop, icons,
and most programs require at least an 8 bit color palette to run ...
4 bit mode works OK for shells - cli only.. sucks in X...

Why some modern chipsets don't support the vesa 2.0 standard to their full
resolution in 8/16/24 bit color is beyond me....
Perhaps some newer vid chipsets are emulating vesa modes with
"Windows Drivers', and not true hardware, like "Winmodems" do

Like you found out, an old DX/GX - 2 or 4 meg video card does just fine with all of them..
( the ISA versions of that card are like circa 1996 ? right? )
Go figure ?

73
ke4nt

Posted by tripppy on Aug. 16 2004,03:57
hi again
while ive got your attention i thought
ill try another video card

it returns this
cat /etroot@box:/home/dsl# cat /etc/sysconfig/xserver
XSERVER="XFree86"
XMODULE="s3virge"
XDESC="ViRGE/DX or /GX"

its a video card with tv out aswell
it not dual just same image on tv.
well i know it work in my xp and 98se system
but in DSL its folded over and doubled over, likes its on a wrong resoultion. im pretty sure it only does 640*480 PAL
and im pretty sure im running DSL in 640*480

what command do i use to confirm this?
and should i just edit lilo.conf appropriatly?

Posted by ke4nt1 on Aug. 16 2004,04:09
I use a S3virge/DX in my P3-500MHz box built from upgrade scraps..
You know, the kind you get to take home after you upgrade someone else's box...
Mine has no tv-out port, but it runs fine in DSL, no special settings at boottime..

I usually run it at 800x600x32 (probably downshifts to 24, since it only has 4 megs )

Very useable, only sometimes do I get some trash characters
after a warm boot...  

What issues are you having specifically?
Do you have the option in your bios to have an IRQ enabled for VGA ?

73
ke4nt

Posted by tripppy on Aug. 16 2004,04:44
also
i cant find on the forums how to creat a short cut on the desktop

how do i do this?

Posted by cbagger01 on Aug. 16 2004,05:02
Check out this post:

< http://damnsmalllinux.org/cgi-bin....;hl=lnk >

Posted by tripppy on Aug. 16 2004,06:35
Quote (ke4nt1 @ Aug. 16 2004,14:09)
What issues are you having specifically?
Do you have the option in your bios to have an IRQ enabled for VGA ?

73
ke4nt

yo kent,

the tv out part isnt working
like when i turn the tv on, it has the folded over business
the pc monitor output works fine, but i want to be able to view it thru the tv.
ill try and take a digi photo of it.

Posted by tripppy on Aug. 16 2004,07:09
Quote (cbagger01 @ Aug. 16 2004,15:02)
Check out this post:

< http://damnsmalllinux.org/cgi-bin....;hl=lnk >

this was here before i did anything
---------------------------------------
root@box:/home/damnsmall/.xtdesktop# ls
amsn.lnk      emelfm.lnk    scite.gif     vnc.lnk       xterm.lnk
amsn.png      firebird.gif  scite.lnk     xmms.gif      xzgv.gif
bird.lnk      ftp.gif       sylpheed.gif  xmms.lnk      xzgv.lnk
cpanel.gif    ftp.lnk       sylpheed.lnk  xpaint.gif    zile.gif
cpanel.lnk    links.gif     synaptic.png  xpaint.lnk    zile.lnk
dillo.gif     links.lnk     ted.gif       xpdf.gif
dillo.lnk     mydslgui.gif  ted.lnk       xpdf.lnk
emelfm.gif    mydslgui.lnk  vnc.gif       xterm.gif
----------------------------------------
after doing nano amsn.lnk

table Icon
 Type: Program
 Caption: MSN Messenger
 Command: /usr/bin/amsn
 Icon: .xtdesktop/amsn.png
 X: 50
 Y: 450
end
-------------------------------
what am i doing wrong?

Posted by tripppy on Aug. 16 2004,07:36
argh bugger you cant post images

i hope this works!~
< folding and doubling >

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.