help-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Is tpm module built into grub's core.img by default in grub 2.04?


From: Hanson Char
Subject: Is tpm module built into grub's core.img by default in grub 2.04?
Date: Tue, 11 Aug 2020 01:20:26 -0700

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

[Prev in Thread] Current Thread [Next in Thread]