help-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: change the title of a menuentry from within menuentry


From: Andrei Borzenkov
Subject: Re: change the title of a menuentry from within menuentry
Date: Tue, 14 Jun 2022 17:05:20 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1

On 14.06.2022 12:46, Evgeny wrote:
> Hello
> 
> Is there a way to change the title of a menuentry from within menuentry 
> itself in grub?

No. "menuentry" is a command which creates menu entry. Commands inside
this menu entry are executed when you select it, at which point it is
too late.

> Or some way to update titles of menuentries runtime?
> 

Title can include environment variables which can be changed at runtime.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]