Closed neusdan closed 8 years ago
Unfortunately it's not easy!
It's not possible to write to a file from GRUB2. They only way i could find is described here It's possible to write to the grubenv file but that's not really convenient.
Maybe logging to NVRAM would be a solution.
According to @johnwallace123 :
NVRAM isn't a great option, as it's only guranteed to be 1280 bytes, and it has a very limited number of writes (O(10K)
So closing this for now
Precomputation of the command measurement is uncomfortable at the moment. Logging the measurements of the last boot is quite easy and should help a lot.
39