Re: grub2 back to lilo ?

From:

Vladimir 'φ-coder/phcoder' Serbinenko

Subject:

Re: grub2 back to lilo ?

Date:

Mon, 17 May 2010 13:23:52 +0200

User-agent:

Mozilla-Thunderbird 2.0.0.22 (X11/20091109)

Colin Watson wrote:
> On Sat, May 15, 2010 at 01:41:09PM +0530, BVK Chaitanya wrote:
>
>> On Sat, May 15, 2010 at 12:41 PM, Colin Watson <address@hidden> wrote:
>>
>>> On Sat, May 15, 2010 at 08:02:22AM +0530, BVK Chaitanya wrote:
>>>
>>>> With GRUB2 that simplicity is not there anymore.
>>>>
>>> Simplicity ... except when it broke. Which it did, all the time. Let's
>>> not follow the model of those marker comments!
>>>
>> Given the GRUB script capabilities, we can get this simply by adding
>>
>> include $prefix/custom.cfg
>>
>> or similar to grub.cfg.
>>
>
> I could support that. It might be simpler than expecting people to edit
> /etc/grub.d/40_custom and re-run update-grub.
>
>
This is a good and acceptable possibility. Just keep in mind that it has
to be
#!/bin/sh
echo <<EOF
if [ -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
EOF
If nobody opposes in one week I'll add 41_custom alongside 40_custom.
--
Regards
Vladimir 'φ-coder/phcoder' Serbinenko