On a Thinkpad T430 this would break my boot. I have /sys/firmware/efi and I need the noefi kernel param, otherwise it just reboots itself about 10-20 sec after SENTER
On 6/9/22 3:04 PM, Tony Camuso wrote: > # HG changeset patch > # User Tony Camuso <tcam...@redhhat.com> > # Date 1654800659 14400 > # Thu Jun 09 14:50:59 2022 -0400 > # Node ID be868f53407d4460491a0e77e5165025153b0329 > # Parent 206a47f3e9d2c18c8a3db082216ee6fc3c5d475c > 20_linux_tboot: efi logic was inverted > > There was a RAID0 system that could boot normally, but not through > a tboot launch. The problem was that the logic in this script > incorrectly appended 'noefi' to the grub.cfg module2 kernel stanza. > > When 'noefi' was removed from that stanza, the system could boot > through a tboot launch. This patch corrects the logic in the script. > > diff -r 206a47f3e9d2 -r be868f53407d tboot/20_linux_tboot > --- a/tboot/20_linux_tboot Thu Mar 17 23:58:50 2022 +0200 > +++ b/tboot/20_linux_tboot Thu Jun 09 14:50:59 2022 -0400 > @@ -105,11 +105,11 @@ > if [ -d /sys/firmware/efi ] ; then > mb_directive="multiboot2" > mb_mod_directive="module2" > - mb_extra_kernel="noefi" > + mb_extra_kernel="" > else > mb_directive="multiboot2" > mb_mod_directive="module2" > - mb_extra_kernel="" > + mb_extra_kernel="noefi" > fi > > printf "menuentry '${title}' ${CLASS} {\n" "${os}" "${tboot_version}" > "${version}" > > > > _______________________________________________ > tboot-devel mailing list > tboot-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/tboot-devel _______________________________________________ tboot-devel mailing list tboot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tboot-devel