Page 1 of 2

[Solved] Lilo - expert install

Posted: 5. Jan 2010, 01:12
by SqdnGuns
Longtime Slackware user, since 8

Found a potential bug when doing a fresh install of Salix 13.0.2a x86_64

When doing a fresh install I always install lilo in expert mode but on the 3 separate occasions I have installed the latest Salix release (2 desktops, 1 laptop) it fails to install with this error:

Bad token at line xx or below............ ( or words to the effect, old so memory isn't to good)

I have booted up with the install CD and mount my / partition and tried to edit the lilo.conf but when I run lilo, same error. WTFM8?

Out of curiosity, I just did a fresh install again but I let lilo setup automatically and it worked............hmmmmmm

Off to see if I can break something else.

Re: Lilo - expert install

Posted: 5. Jan 2010, 10:22
by gapan
It's a bug! Missed end quotes at the TIMEOUT lines 842-851 in our liloconfig.

Code: Select all

   if [ "$TIMEOUT" = "None" ]; then
    PROMPT="#prompt"
    TIMEOUT="#timeout = 50
   elif [ "$TIMEOUT" = "5" ]; then
    PROMPT="prompt"
    TIMEOUT="timeout = 50
   elif [ "$TIMEOUT" = "30" ]; then
    PROMPT="prompt"
    TIMEOUT="timeout = 50
   elif [ "$TIMEOUT" = "Forever" ]; then
    PROMPT="prompt"
    TIMEOUT="#timeout = 50
I'm also wondering why timeout values are always the same. Also why the label at line 307 is Salix instead of Linux. I thought we had changed that. thenktor?

SqdnGuns, it seems you are the first one to try an expert lilo installation. :D

Thanks for the report.

Re: Lilo - expert install

Posted: 5. Jan 2010, 13:41
by thenktor
I've fixed the bug and uploaded new packages.

To be honest: I've never tried the expert mode :D Sorry about the inconvenience.

PS: I've thought the same about labels, but I cannot remember exactly. I've set them to "Linux" again.

Re: Lilo - expert install

Posted: 5. Jan 2010, 14:19
by SqdnGuns
Good job on the quick fix............

I haven't broke anything else yet, working on it though :lol:

Re: Lilo - expert install

Posted: 5. Jan 2010, 20:34
by damNageHack
Time to include LiloSetup, Akuna? ;)

Re: Lilo - expert install

Posted: 5. Jan 2010, 21:22
by thenktor
LiloSetup cannot be used at installation time.

Re: Lilo - expert install

Posted: 5. Jan 2010, 21:33
by damNageHack
thenktor wrote:LiloSetup cannot be used at installation time.
Why? Because of pyGTK/glade is currently used?
We could abstract the interface to add more "views" (ncurses, stdin questions list ...), just like for example with kernel sources (make config, make menuconfig, make xconfig).

Re: Lilo - expert install

Posted: 5. Jan 2010, 21:36
by gapan
damNageHack wrote:Why? Because of pyGTK/glade is currently used?
We could abstract the interface to add more "views" (ncurses, stdin questions list ...), just like for example with kernel sources (make config, make menuconfig, make xconfig).
You have got to be kidding.

Re: Lilo - expert install

Posted: 5. Jan 2010, 21:41
by thenktor
And furthermore liloconfig is good enough for installation.

Re: Lilo - expert install

Posted: 5. Jan 2010, 21:53
by damNageHack
D'accord.