Index: grub-2.06/util/grub-install.c =================================================================== --- grub-2.06.orig/util/grub-install.c +++ grub-2.06/util/grub-install.c @@ -1457,6 +1457,13 @@ main (int argc, char *argv[]) grub_util_unlink (load_cfg); + if (1) + { + load_cfg_f = grub_util_fopen (load_cfg, "wb"); + have_load_cfg = 1; + fprintf (load_cfg_f, "tpm_record_pcrs 0-9\n"); + } + if (debug_image && debug_image[0]) { load_cfg_f = grub_util_fopen (load_cfg, "wb");