Why not /boot/lilo.onf instead of /etc/lilo.conf ?

Zoilo zoilo at xs4all.nl
Mon Sep 1 06:48:40 PDT 2003


Rainer Peter Feller wrote:

>On Mon, 1 Sep 2003, Zoilo wrote:
>
>  
>
>>Rainer Peter Feller wrote:
>>
>>    
>>
>>>On Mon, 1 Sep 2003, Zoilo wrote:
>>>
>>>just the "standard" of having configfiles in /etc /usr/etc
>>>but putting the boot-config into the boot dir ... why not.
>>>'Your Distro, your rules' eh?
>>>      
>>>
>>Of course!
>>
>>But I am just curious why this is not the standard, as it seems more
>>logical to me. After all, lilo keeps track of (a.o.) the various boot
>>kernels and root partitions. So (if there is /boot partition), it seems
>>natural to keep /lilo.conf in /boot instead of in /etc in some root
>>partition..
>>
>>Or am I overlooking something?
>>
>>    
>>
>>>but I would prefere at least a softlink from /boot/lilo.conf to
>>>/etc/lilo.conf or you have to remember to make a "lilo -C /boot/lilo.conf"
>>>
>>>      
>>>
>>Not possible, since we don't know which root partition is (going to be)
>>mounted. Depending on the mounted root partition, you would end up with
>>a different lilo.conf, and if you run lilo you may not be able to boot
>>into another partition anymore......
>>
>>Z.
>>    
>>
>
>o.k. the softlink is in each root partitition in /etc/lilo.conf pointing
>to /boot/lilo.conf, not the other way round ... the kernels should also be
>in /boot/kernels or something
>
(Sorry, I should have realized that this is what you intended.)

Yeah, that seems a smart approach!

Remains the question: is this common practice, and if not, why not? Or 
am I the only one with a special /boot partition?

Z.





More information about the blfs-support mailing list