Score:0

Disable TPM on Ubuntu 20.04.3 LTS Server fresh install

us flag

When I try to boot from a bootable Ubuntu USB with Ubuntu 20.04.3 Server image I get the following error:

ima: error communicating to tpm chip

I searched the web and tried different options:

1- Disable the TPM in BIOS on my HP Z620 Bios

2- Adding rmmod TPM in Grub.cfg before 1st set of menuentry

But still getting the error!

Here's my grub.cfg. Can someone validate if i'm doing it wrong? Thanks

if loadfont /boot/grub/font.pf2 ; then
    set gfxmode=auto
    insmod efi_gop
    insmod efi_uga
    insmod gfxterm
    terminal_output gfxterm
fi

set menu_color_normal=white/black
set menu_color_highlight=black/light-gray

set timeout=5
rmmod tpm
menuentry "Install Ubuntu Server" {
    set gfxpayload=keep
    linux   /casper/vmlinuz   quiet  ---
    initrd  /casper/initrd
}
grub_platform
if [ "$grub_platform" = "efi" ]; then
menuentry 'Boot from next volume' {
    exit 1
}
menuentry 'UEFI Firmware Settings' {
    fwsetup
}
fi
submenu 'Boot and Install with the HWE kernel' {
menuentry "Install Ubuntu Server" {
    set gfxpayload=keep
    linux   /casper/hwe-vmlinuz   quiet  ---
    initrd  /casper/hwe-initrd
}
}
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.