update-lilo creates labels with spaces

Bug #13120 reported by Matthias Urlichs
8
Affects Status Importance Assigned to Milestone
lilo (Ubuntu)
Fix Released
Medium
Colin Watson

Bug Description

update-lilo creates labels with spaces in them. The problem with that is that
"lilo -R name" refuses to work with those.

The problem with that is that some mainboards have non-working USB legacy
support, so there's no way to find out whether a new kernel boots correctly
without risking an unbootable system.

@kiste ~ $ sudo lilo
Added Linux 2.6.10-0*
Added Linux 2.6.11-1
Added Memory Test

@kiste ~ $ sudo lilo -R "Linux 2.6.11-1"
Fatal: No image "Linux" is defined

Escaping that space does not work either (tried backslash and singe-quote).

Revision history for this message
Matt Zimmerman (mdz) wrote :

Isn't the problem rather that lilo -R fails to work with spaces with labels?
(assuming they work in other contexts)

Revision history for this message
Matthias Urlichs (smurf) wrote :

The problem is that lilo -R (and lilo's command line prompt) wants a kernel name
and optional arguments.
Neither interface accepts space quoting AFAIK (I can't reboot the one box which
uses lilo right now...).
Fixing that seems to be rather non-trivial.
Thus, replacing these spaces with underlines seems like a good-enough solution.

Revision history for this message
Manuel López-Ibáñez (manuellopezibanez) wrote :

Please, could you test the latest release 22.6.1-7ubuntu2 (Dapper) or even 22.6.1-6.2ubuntu1 in Breezy ?

Changed in lilo:
status: Unconfirmed → Needs Info
Revision history for this message
Rocco Stanzione (trappist) wrote :

Closing due to inactivity. Please reopen if this is still an issue.

Changed in lilo:
status: Needs Info → Rejected
Revision history for this message
Matthias Urlichs (smurf) wrote :

Sorry about the missing answer. Works now, thanks.

Changed in lilo:
status: Rejected → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.