|Subject:||Re: edif / create files from a grub module|
|Date:||Wed, 10 May 2017 15:28:32 -0700|
On Sat, Dec 10, 2016, 18:29 Andrei Borzenkov <address@hidden> wrote:07.12.2016 00:03, Jean-Francois Le Breton пишет:
> I would like to add some checks and modifications to the Linux command line
> before booting the OS.
> So I am considering writing a grub module which will modify some grub.cfg
> parameters according to data retreived somewhere on dedicated hardware.
> I just realized that it was not possible to write files (on EFI partition
> or EXT4 partition).
> Is there an available patch to allow file modifications ?
> I am using grubx64.efi + my module.
There is no write support in GRUB nor am I aware of any plans to add
one.This is not just lack of plans. Writing to FS structures is inherently dangerous abd may result in FS corruption. So for safety reasons we reject writes to FS except in very controlled ways.
Grub-devel mailing list
Description: S/MIME Cryptographic Signature
|[Prev in Thread]||Current Thread||[Next in Thread]|