[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [GITGRUB] New menu interface (implementation)
From: |
Vladimir 'phcoder' Serbinenko |
Subject: |
Re: [GITGRUB] New menu interface (implementation) |
Date: |
Wed, 28 Oct 2009 22:12:19 +0100 |
User-agent: |
Mozilla-Thunderbird 2.0.0.22 (X11/20090701) |
Bean wrote:
> Hi,
>
> Update:
>
> Add timeout, progressbar and savedefault.
>
> savedefault:
>
> Variable savedefault set the system default value. If savedefault=1,
> save the current boot item.
>
> You can also overwrite the default value for individual items, in
> menuentry statement --save option always save this item, and --nosave
> never save the item. If neither --save nor --nosave is specified, the
> system default in savedefault variable is checked.
>
>
Why do you need this over having a normal save_env? I don't see any
reason to prefer an ad-hoc here over general solution
> In the menu section, use property save=1 or save=0 to achieve the same
> effect as --save and --nosave.
>
> You also need to set the environment file, default value is
> ${prefix}/env, you can also use envfile variable to overwrite it.
>
> timeout:
>
> Use timeout variable to control auto boot. For example:
>
> set timeout=5
>
> it would boot the default item if no key is pressed in 5 seconds. If
> timeout=0, boot the default item immediately, although you can press a
> key at startup to halt the auto boot. If timeout is not set, auto boot
> is disabled.
>
> progressbar:
>
> This works in conjunction with timeout. When a timeout value is set,
> you can see the process bar at bottom of screen.
>
> As with this version, all feature from grub legacy has been
> implemented. There is a grub.cfg inside the menu directory that shows
> some usage:
>
> set superusers=admin
> password admin admin
> password user user
>
> set timeout=5
>
> set envfile=/menu/env
> set savedefault=1
> load_env
>
> menuentry Item1 --users user --nosave --class image_tools {
> true
> }
>
> menuentry Item2 --save --class image_about {
> true
> }
>
> . /menu/menu_efi.cfg
>
>
>
--
Regards
Vladimir 'phcoder' Serbinenko
Personal git repository: http://repo.or.cz/w/grub2/phcoder.git
- Re: [GITGRUB] New menu interface (implementation), (continued)
- Re: [GITGRUB] New menu interface (implementation), Bean, 2009/10/22
- Re: [GITGRUB] New menu interface (implementation), Michal Suchanek, 2009/10/22
- Re: [GITGRUB] New menu interface (implementation), Bean, 2009/10/22
- Re: [GITGRUB] New menu interface (implementation), Peter Cros, 2009/10/23
- Re: [GITGRUB] New menu interface (implementation), Bean, 2009/10/23
- Re: [GITGRUB] New menu interface (implementation), Peter Cros, 2009/10/24
- Re: [GITGRUB] New menu interface (implementation), Peter Cros, 2009/10/25
- Re: [GITGRUB] New menu interface (implementation), Bean, 2009/10/26
- Re: [GITGRUB] New menu interface (implementation), Bean, 2009/10/27
- Re: [GITGRUB] New menu interface (implementation), Bean, 2009/10/28
- Re: [GITGRUB] New menu interface (implementation),
Vladimir 'phcoder' Serbinenko <=
- Re: [GITGRUB] New menu interface (implementation), Bean, 2009/10/28
- Re: [GITGRUB] New menu interface (implementation), Vladimir 'phcoder' Serbinenko, 2009/10/29
- Re: [GITGRUB] New menu interface (implementation), Bean, 2009/10/29
- Re: [GITGRUB] New menu interface (implementation), Vladimir 'phcoder' Serbinenko, 2009/10/29
- Re: [GITGRUB] New menu interface (implementation), Bean, 2009/10/29
- Re: [GITGRUB] New menu interface (implementation), Bean, 2009/10/30
- Re: [GITGRUB] New menu interface (implementation), Michal Suchanek, 2009/10/20
- Re: [GITGRUB] New menu interface (implementation), Bean, 2009/10/20
- Re: [GITGRUB] New menu interface (implementation), address@hidden, 2009/10/09
- Re: [GITGRUB] New menu interface (implementation), Michal Suchanek, 2009/10/09