PDA

View Full Version : lilo.conf



A. Jorge Garcia
11-14-2003, 02:19 PM
When I boot from the CD I need the boot string:

knoppix vga=normal screen=1024x768 xvrefresh=60

how do I specify this boot sequence in lilo.conf?

I replaced the first line of lilo.conf with vga=normal instead of vga=791 and I added knoppix screen=1024x768 xvrefresh=60 to the beginning of the append string. This does not get me 1024x768 res however!

TIA,

RockMumbles
11-14-2003, 06:45 PM
Boot up with your cd and use the necessary "cheat-codes" to get X running as you want it, then mount your hd read/write and save the knoppix created /etc/X11/XFC86Config-4 file to your hd in etc/X11, then when you boot up your hd you will have the same XF86Config-4 file on your system as when you boot with the cd and proper cheat-codes.

Note: many of the knoppix cheatcodes are for knoppix hardware detection and setup and are not kernel parameters so you can't pass them to the kernel with lilo.

HTH

~rock

A. Jorge Garcia
11-14-2003, 07:27 PM
OK, Rock, that sounds doable.

BTW, so I should remove what I added to the append string, right? Also, should I leave vga=normal on the first line of lilo.conf?

EDIT: I'm having lots of problems with CUPS on my hdinstalled PCs using localhost:631. I have no problem configuring printers when running off the CD. Could something similar be done as you suggest above? IE: could I copy /etc/cups/cups.conf (or some other file?) that is configured correctly by the CD to my hdinstall?

Thanx!

A. Jorge Garcia
11-14-2003, 09:22 PM
OK, Rock, as usual, your advice is rock solid! I got my video on my hdinstall back to what it was with the CD boot.

All I had to do was mount hda7 and make it rw from the desktop. Then in a root shell I cp /etc/X11/XF86Config-4 /mnt/hda7/etc/X11/XF86Config-4 and reboot without the CD. Viola, ca c'est fini!

I'm teaching my students about java applets. Now I have an applet running on my home PC with width=600 and height=600 and I can see the whole thing in one Knoqueror window. My Dell at home has screen=1280x1024. At school, before I copied the KNOPPIX adjusted XF86Config-4 file, my students could not see much of the applet running by default 800x600 or less (I'm not sure). The Dells at school should default to 800x600 according to the manual, but it looks even smaller. At least now, at 1024x768, they see most of the applet. BTW: the applet in question is at http://calcpage.tripod.com/applets/drunk

Thanx!

j.drake
11-14-2003, 11:48 PM
Almost looks like you're playing Go, which I suppose makes sense, given your chess avatar.

JD

A. Jorge Garcia
11-14-2003, 11:56 PM
Well, actually, its a random walk in 2D (hence the name drunk).

BTW, anyone with experience with applets now if there's some way to see the drunk as he walks instead of the whole plot once the walk is done?

Regards.

RockMumbles
11-15-2003, 01:47 AM
leave the vga=normal line
and remove your changes to the append line

easy way to set up (configure) X, huh!

~rock

A. Jorge Garcia
11-15-2003, 03:27 AM
OK, good, that's what I did! Thanx.

BTW, what about configuring printers this way....

Regards,

vladx
11-16-2003, 04:47 PM
Question

What kind secrets in the lilo.conf?

If we try to open etc/lilo.conf we can see there....bla-bla
go further to the end of lilo.conf
Label=Linux
something here
label=LinuxOLD
something here too
and in my lilo.conf...I have
Label=WinNT(hda1)

So, why on the lilo menu screen after reboot only:
Linux
WinNT(hda1)

Where LinuxOLD gone?

Now, try to rename label=Linux to Label=Knoppix or whatever you like...
run /sbin/lilo
and reboot
AND AGAIN lilo menu with
Linux
WintNT(hda1)

But where label Knoppix gone?
I am stuck with kernel compiling, I cant see another choices in Lilo menu
( I been trying add lines Linux-2.6-test), but the comp starts with choices:

Linux
WinNT(hda1)
What I need to do to see whole menu with choices?

RockMumbles
11-17-2003, 06:26 PM
Lilo will ignore anything that gives errors in the partition setup, that's why linux-Old is ignored.

Post your lilo.conf file and partition information so we can try to help.

~rock

A. Jorge Garcia
12-05-2003, 03:13 AM
All I had to do was mount hda7 and make it rw from the desktop. Then in a root shell I cp /etc/X11/XF86Config-4 /mnt/hda7/etc/X11/XF86Config-4 and reboot without the CD. Viola, ca c'est fini!


BTW, anyone have trouble doing this with knoppix-installed as debian PCs? I did this with 20031119 and ended up with a text-only login screen....

I then tried this with a knoppix-installed as knoppix PC (also 20031119) and the file on /mnt/hda7 did not exist (usually I have to write over it)....

Something wierd here.

TIA,

A. Jorge Garcia
12-05-2003, 05:03 PM
When I knoppix-installer 20031119 as knoppix, there is no file /etc/X11/XF86Config-4, but there is a file /etc/X11/XF86Config-4.in, should I modify that one?

Well I tried that, and my screen=1024x768 did not work. Should I modify /etc/X11/XF86Config instead?

TIA,