[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Question about bash script on Grub/ or manipulate UEFI NVRAM via gru
From: |
Andrei Borzenkov |
Subject: |
Re: Question about bash script on Grub/ or manipulate UEFI NVRAM via grub command line |
Date: |
Fri, 5 Feb 2016 17:42:56 +0300 |
On Fri, Feb 5, 2016 at 5:24 PM, Michał Dobosz <address@hidden> wrote:
> Hello,
>
> I would like to inquire about scripts during Grub running. Is it possible to
> add bash script during grub starting.
>
No, grub is not bash. grub implements command line processing similar
to Unix shell and you of course can use it in configuration. Actually,
without configuration grub does nothing - it will sit on CLI prompt
waiting for your input.
> I have a problem concerning Windows bootmgr. Bootmgr overwrites UEFI NVRAM
> on my device. Is it possible to manipulate UEFI NVRAM using grub command
> line?
>
Not currently. There are patches to read EFI variables; I am not sure
we want to support modifying them in GRUB. Nobody presented compelling
use case so far.