'optional' line in lilo.conf?

'optional' line in lilo.conf?

Post by John Scudde » Mon, 21 May 2001 11:36:03

Here is one of the sections of my lilo.conf file:

image = /boot/vmlinuz_24
  root = /dev/sda5
  label = linux_2.4
  initrd = /boot/initrd_24

What is the purpose of that last line 'optional'?



'optional' line in lilo.conf?

Post by Paul Colquho » Mon, 21 May 2001 12:40:04

|Here is one of the sections of my lilo.conf file:
|image = /boot/vmlinuz_24
|  root = /dev/sda5
|  label = linux_2.4
|  initrd = /boot/initrd_24
|  optional
|What is the purpose of that last line 'optional'?

It tells lilo not to put the "linux_2.4" label on the boot menu
if /boot/vmlinuz_24 dosn't exist.

If the boot file does exist, the item will be on the menu.

This stops you from having lilo menu entries that have no chance
of working. It won't prevent them from breaking in other ways,
and you can delete the file later, but you can be sure that the
file existed at the time you ran lilo.


Universal Life Church    http://andor.dropbear.id.au/~paulcol
xenaphobia: The fear of being beaten to a pulp by
            a leather-clad, New Zealand woman.


1. lilo can't find /etc/lilo.conf, even though it's there


I don't know how, but somehow when I try to update lilo and I run
/sbin/lilo, I get the message:
/etc/lilo.conf: No such file or directory

I run 'file /etc/lilo.conf' and it confirms that the file is there and
nothing else is unusual about it.

Running lilo -v only shows the credits to the author then prints that same

Running lilo -C /etc/lilo.conf gives the same message.

I've verified that all files I refer to within lilo.conf are valid.

I've also put "garbage" at the first line of the file and gotten no error,
which makes me think that lilo really isn't able to open the file for some

Anyone have any idea what could be causing this?

Thanks much,

2. HELP! Lost my KDE Panel (Kicker)

3. What's 'side effects' of Ksh built-ins?

4. xdm

5. Multi-item 'append' in lilo.conf

6. 2GB Jaz drive on Solaris 2.6?

7. How is initrd used in lilo.conf stanzas and what's it's purpose?

8. Dial in on a client, pinging the server and sending the dyn ip over email

9. lilo.conf - 'vga' option

10. Continuing : lilo's parameters line don't pass to kernel.

11. Problems with installing two Linux's - 'setup' and 'lilo'

12. Can ISP detect when dial-ins are 'overloaded' ?

13. how do 'plug-ins' work?