[Solved] Lilo - expert install

You think you have found a bug? Let us know about it.
SqdnGuns
Posts: 2
Joined: 5. Jan 2010, 00:56

[Solved] Lilo - expert install

Post 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.
Last edited by SqdnGuns on 7. Jan 2010, 00:31, edited 1 time in total.
User avatar
gapan
Salix Wizard
Posts: 6241
Joined: 6. Jun 2009, 17:40

Re: Lilo - expert install

Post 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.
Image
Image
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: Lilo - expert install

Post 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.
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
SqdnGuns
Posts: 2
Joined: 5. Jan 2010, 00:56

Re: Lilo - expert install

Post by SqdnGuns »

Good job on the quick fix............

I haven't broke anything else yet, working on it though :lol:
User avatar
damNageHack
Posts: 663
Joined: 24. Sep 2009, 17:07

Re: Lilo - expert install

Post by damNageHack »

Time to include LiloSetup, Akuna? ;)
Image
This is the oppinion of the author, it does not force you to share and is signed automatically.
You are free to keep them all errors for your own. Linux is the best game I ever played.
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: Lilo - expert install

Post by thenktor »

LiloSetup cannot be used at installation time.
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
User avatar
damNageHack
Posts: 663
Joined: 24. Sep 2009, 17:07

Re: Lilo - expert install

Post 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).
Image
This is the oppinion of the author, it does not force you to share and is signed automatically.
You are free to keep them all errors for your own. Linux is the best game I ever played.
User avatar
gapan
Salix Wizard
Posts: 6241
Joined: 6. Jun 2009, 17:40

Re: Lilo - expert install

Post 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.
Image
Image
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: Lilo - expert install

Post by thenktor »

And furthermore liloconfig is good enough for installation.
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
User avatar
damNageHack
Posts: 663
Joined: 24. Sep 2009, 17:07

Re: Lilo - expert install

Post by damNageHack »

D'accord.
Image
This is the oppinion of the author, it does not force you to share and is signed automatically.
You are free to keep them all errors for your own. Linux is the best game I ever played.
Post Reply