Per
https://www.gnu.org/software/grub/manual/grub/html_node/Measured-Boot.html

it is recommended that the tpm module be built into core.img in order to
> avoid a potential gap in measurement between core.img being loaded and the
> tpm module being loaded


In building grub 2.04 (for Ubuntu 18.04 in UEFI mode), is the tpm module
built into core.img by default, or is there explicit configuration
necessary to enable it?

Regards,
Hanson

== More Details ==

What I did:

git clone https://git.savannah.gnu.org/git/grub.git
cd grub
git checkout -b grub-2.04 grub-2.04
./bootstrap
./configure --prefix=/usr
sudo make install
sudo grub-install

Installing for x86_64-efi platform.
> Installation finished. No error reported.


After rebooting, however, tpm2_pcrread shows PCR-8 and 9 as zeros,
indicating no measurement by grub 2.04.  What am I missing?

Reply via email to