Grub2 and a custom environment variable

sam srf10130 at
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>  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
Thanks Tom,

I have attached my patches to the bug you mentioned.


More information about the ubuntu-users mailing list