From 1f30a2c0f64dd0d5780e2756fa0b92f1aaaea2b5 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Fri, 27 Nov 2020 18:13:11 +0100 Subject: [PATCH] Unload tpm module to support booting ISOs with GRUB 2.04 on UEFI systems See https://help.ubuntu.com/community/Grub2/ISOBoot#Menuentry_Example Closes: #975835 Thanks: Vasek Opekar for the bug report --- 42_grml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/42_grml b/42_grml index 96e5e1f..4a76432 100755 --- a/42_grml +++ b/42_grml @@ -116,6 +116,8 @@ ${grub_prep} export iso_path kernelopts=" $CUSTOM_BOOTOPTIONS $additional_param " export kernelopts + # support booting recent GRUB versions on UEFI systems + rmmod tpm loopback loop "${rel_dirname%/}/$grml" set root=(loop) configfile /boot/grub/loopback.cfg -- 2.1.4