grub-install: Mention *efibootmgr* in no-nvram description
PATCH 1/1 grub-install: Mention *efibootmgr* in no-nvram description
Date: Thu, 6 Sep 2018 15:15:45 +0200
If executing efibootmgr fails, for example, because the system is booted in legacy mode, but with a mounted EFI System Partition, the error message mentions *efibootmgr*. To make it easier for users to work around that problem by skipping running efibootmgr, add the word to the description of the switch *no-nvram*, which skips the efibootmgr execution.
--- util/grub-install.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
util/grub-install.c +1 -1
@@ -276,7 +276,7 @@ static struct argp_option options[] = {N_ ("disk module to use (biosdisk or native). " "This option is only available on BIOS target."), 2}, {"no-nvram", OPTION_NO_NVRAM, 0, 0, -N_ ("don't update the `boot-device'/`Boot*' NVRAM variables. " +N_ ("don't run efibootmgr to update the `boot-device'/`Boot*' NVRAM variables. " "This option is only available on EFI and IEEE1275 targets."), 2}, {"skip-fs-probe",'s',0, 0, N_("do not probe for filesystems in DEVICE"), 0},
Signature · 1 line
2.17.1
PATCH v2 1/1 grub-install: Mention *efibootmgr* in `no-nvram` description
Date: Thu, 6 Sep 2018 15:15:45 +0200
If executing efibootmgr fails, for example, because the system is booted in legacy mode, but with a mounted EFI System Partition, the error message mentions *efibootmgr*. To make it easier for users to work around that problem by skipping running efibootmgr, add the word to the description of the switch *no-nvram*, which skips the efibootmgr execution.
---
v2: Add Signed-off-by line
util/grub-install.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
util/grub-install.c +1 -1
@@ -276,7 +276,7 @@ static struct argp_option options[] = {N_ ("disk module to use (biosdisk or native). " "This option is only available on BIOS target."), 2}, {"no-nvram", OPTION_NO_NVRAM, 0, 0, -N_ ("don't update the `boot-device'/`Boot*' NVRAM variables. " +N_ ("don't run efibootmgr to update the `boot-device'/`Boot*' NVRAM variables. " "This option is only available on EFI and IEEE1275 targets."), 2}, {"skip-fs-probe",'s',0, 0, N_("do not probe for filesystems in DEVICE"), 0},
Signature · 1 line
2.17.1
Re: [PATCH v2] grub-install: Mention *efibootmgr* in `no-nvram` description
Quoted 26 lines · On Thu, 6 Sep 2018, 17:03 Paul Menzel, <[email protected]> wrote:
Date: Thu, 6 Sep 2018 15:15:45 +0200
If executing
efibootmgrfails, for example, because the system is booted in legacy mode, but with a mounted EFI System Partition, the error message mentions *efibootmgr*. To make it easier for users to work around that problem by skipping runningefibootmgr, add the word to the description of the switch *no-nvram*, which skips the efibootmgr execution.Signed-off-by Paul Menzel <[email protected]>---
v2: Add Signed-off-by lineutil/grub-install.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)util/grub-install.c +1
-1@@ -276,7 +276,7 @@ static struct argp_option options[] = {N_ ("disk module to use (biosdisk or native). " "This option is only available on BIOS target."), 2}, {"no-nvram", OPTION_NO_NVRAM, 0, 0, - N_("don't update the `boot-device'/`Boot*' NVRAM variables. " + N_("don't run efibootmgr to update the `boot-device'/`Boot*' NVRAM
Quoted 3 lines
variables. "
"This option is only available on EFI and IEEE1275 targets."), 2},
In case of ieee1275 this has nothing to do with efibootmgr
Quoted 10 lines
{"skip-fs-probe",'s',0, 0,
N_("do not probe for filesystems in DEVICE"), 0},
--
2.17.1_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel
Re: [PATCH v2] grub-install: Mention *efibootmgr* in `no-nvram` description
Quoted 18 lines · Vladimir 'phcoder' Serbinenko
Quoted 16 lines · On Thu, 6 Sep 2018, 17:03 Paul Menzel, <[email protected]> wrote:
Date: Thu, 6 Sep 2018 15:15:45 +0200
If executing
efibootmgrfails, for example, because the system is booted in legacy mode, but with a mounted EFI System Partition, the error message mentions *efibootmgr*. To make it easier for users to work around that problem by skipping runningefibootmgr, add the word to the description of the switch *no-nvram*, which skips the efibootmgr execution.Signed-off-by Paul Menzel <[email protected]>---
v2: Add Signed-off-by lineutil/grub-install.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 14 lines
Quoted 10 lines
util/grub-install.c +1
-1@@ -276,7 +276,7 @@ static struct argp_option options[] = {N_ ("disk module to use (biosdisk or native). " "This option is only available on BIOS target."), 2}, {"no-nvram", OPTION_NO_NVRAM, 0, 0, - N_("don't update the `boot-device'/`Boot*' NVRAM variables. " + N_("don't run efibootmgr to update the `boot-device'/`Boot*' NVRAMQuoted 3 lines
variables. "
"This option is only available on EFI and IEEE1275 targets."), 2},In case of ieee1275 this has nothing to do with efibootmgr
Paul, are you going to repost the patch with relevant change in the code and commit message or should I fix it just before push?
Daniel
Re: [PATCH v2] grub-install: Mention *efibootmgr* in `no-nvram` description
Dear Daniel,
Quoted 34 lines · Daniel Kiper
Quoted 18 lines · Vladimir 'phcoder' Serbinenko
Quoted 16 lines · On Thu, 6 Sep 2018, 17:03 Paul Menzel, <[email protected]> wrote:
Date: Thu, 6 Sep 2018 15:15:45 +0200
If executing
efibootmgrfails, for example, because the system is booted in legacy mode, but with a mounted EFI System Partition, the error message mentions *efibootmgr*. To make it easier for users to work around that problem by skipping runningefibootmgr, add the word to the description of the switch *no-nvram*, which skips the efibootmgr execution.Signed-off-by Paul Menzel <[email protected]>---
v2: Add Signed-off-by lineutil/grub-install.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Quoted 14 lines
Quoted 10 lines
util/grub-install.c +1
-1@@ -276,7 +276,7 @@ static struct argp_option options[] = {N_ ("disk module to use (biosdisk or native). " "This option is only available on BIOS target."), 2}, {"no-nvram", OPTION_NO_NVRAM, 0, 0, - N_("don't update the `boot-device'/`Boot*' NVRAM variables. " + N_("don't run efibootmgr to update the `boot-device'/`Boot*' NVRAMQuoted 3 lines
variables. "
"This option is only available on EFI and IEEE1275 targets."), 2},In case of ieee1275 this has nothing to do with efibootmgr
Quoted 2 lines
Paul, are you going to repost the patch with relevant change in the code and commit message or should I fix it just before push?
I am still thinking how to phrase it. Maybe, just add efibootmanager after EFI?
Quoted 2 lines
don’t update the
boot-device'/Boot*' NVRAM variables. This option is only available on EFI (efibootmgr) and IEEE1275 targets.
Kind regards,
Paul
Re: [PATCH v2] grub-install: Mention *efibootmgr* in `no-nvram` description
Quoted 38 lines · Paul Menzel
Dear Daniel,
Quoted 34 lines · Daniel Kiper
Quoted 32 lines · Vladimir 'phcoder' Serbinenko
Quoted 26 lines · On Thu, 6 Sep 2018, 17:03 Paul Menzel, <[email protected]> wrote:
Date: Thu, 6 Sep 2018 15:15:45 +0200
If executing
efibootmgrfails, for example, because the system is booted in legacy mode, but with a mounted EFI System Partition, the error message mentions *efibootmgr*. To make it easier for users to work around that problem by skipping runningefibootmgr, add the word to the description of the switch *no-nvram*, which skips the efibootmgr execution.Signed-off-by Paul Menzel <[email protected]>---
v2: Add Signed-off-by lineutil/grub-install.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)util/grub-install.c +1
-1@@ -276,7 +276,7 @@ static struct argp_option options[] = {N_ ("disk module to use (biosdisk or native). " "This option is only available on BIOS target."), 2}, {"no-nvram", OPTION_NO_NVRAM, 0, 0, - N_("don't update the `boot-device'/`Boot*' NVRAM variables. " + N_("don't run efibootmgr to update the `boot-device'/`Boot*' NVRAMQuoted 3 lines
variables. "
"This option is only available on EFI and IEEE1275 targets."), 2},In case of ieee1275 this has nothing to do with efibootmgr
Quoted 5 lines
Quoted 2 lines
Paul, are you going to repost the patch with relevant change in the code and commit message or should I fix it just before push?
I am still thinking how to phrase it. Maybe, just add efibootmanager after EFI?
What about "don't update, e.g. using efibootmgr, the boot-device'/Boot*' NVRAM variables. "?
Daniel