Grub2 and a custom environment variable

sam srf10130 at vtc.vsc.edu
Thu Apr 8 03:06:14 UTC 2010


On 04/07/2010 10:22 PM, Tom H wrote:
> On Wed, Apr 7, 2010 at 9:04 PM, sam<srf10130 at vtc.vsc.edu>  wrote:
>> Does anyone know how to add a custom environment variable to
>> /etc/default/grub and have it be usable in the grub.d scripts.
>> I would like to define a GRUB_MAX_KERNEL variable to use in 10_linux,
>> but simply adding it to /etc/default/grub doesn't quite cut it.
>
> See
> https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/492995
>
Thanks Tom,

I have attached my patches to the bug you mentioned.

Sam




More information about the ubuntu-users mailing list