[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: edif / create files from a grub module
From: |
Andrei Borzenkov |
Subject: |
Re: edif / create files from a grub module |
Date: |
Sat, 10 Dec 2016 20:26:57 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 |
07.12.2016 00:03, Jean-Francois Le Breton пишет:
> Hello,
> 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. The only limited possibility is overwriting of existing file using
blocklists as long as it resides on plain device (no RAID/volume
manager/crypto/etc).