Questions tagged [tpm]

Questions about TPM utilities or TPM chip (iTPM). Ubuntu has two versions of TPM tools in the Universe repository: TPM 1.2 (tpm-tools) and TPM 2.0 (tpm2-tools).

Filter by
Sorted by
Tagged with
0 votes
1 answer
134 views

tpm_crb: probe of MSFT0101:00 failed with error -62

The problem is that ubuntu 22.04 when i upgraded it from 21.10 i got the error below, after some time searching i found a similar old resolved issue! [ 0.000000] efi: SMBIOS=0xaf054000 ACPI=...
user avatar
1 vote
0 answers
89 views

TPM and ACPI errors listed in dmesg in my Ubuntu 20.04 on Dell Latitude 5511 - spontaneous reboots

In my dmesg I see: $ dmesg|grep tpm [ 0.571377] tpm_tis MSFT0101:00: 2.0 TPM (device-id 0x0, rev-id 78) [ 0.572925] tpm tpm0: [Firmware Bug]: TPM interrupt not working, polling instead AND $ ...
user avatar
2 votes
1 answer
179 views

Enabling Trusted Platform Module in a dual boot system

I have a dual boot system with Microsoft Windows 10 and Ubuntu 21.10 . Recently, Windows has been asking me to upgrade to Windows 11. However, it says that my computer doesn't meet system ...
user avatar
  • 1,854
0 votes
0 answers
289 views

Does Ubuntu support unlocking full-disk encrypted internal drive(s) automatically with TPM?

Does Ubuntu (and official flavors) support disk encryption that'll automatically unlock using the device's TPM module? Would it be possible to do that during install? What's the best, pain-free, ...
user avatar
1 vote
0 answers
80 views

TPM showing error message

I have configured TPM for my virtual machine with Ubuntu 18.04. root@Virtual-Machine:~# dmesg | grep -i tpm ==> This should show a proper message root@Virtual-Machine:~# journalctl | grep tpm ==&...
user avatar
  • 9
0 votes
0 answers
282 views

Disable TPM on Ubuntu 20.04.3 LTS Server fresh install

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- ...
user avatar
0 votes
0 answers
2k views

[Firmware Bug]: TPM interrupt not working, polling instead when trying to boot from bootable USB with ubuntu server

I get these errors. I disabled Secure Boot in BIOS but still same. I'm installing Ubuntu Server into Dell Precision Tower 3640. Refer to photo here. [O.321005] ACPI Error: No handler for Region [WST1] ...
user avatar
0 votes
3 answers
389 views

Unlock root disk with TPM2 on Impish Indri

Background: Using the information in the manpages: http://manpages.ubuntu.com/manpages/impish/man1/systemd-cryptenroll.1.html I have successfully added a TPM2.0 key to the LUKS disk with the command: ...
user avatar
  • 41
4 votes
4 answers
2k views

How to enable systemd-cryptenroll TPM2 support in Impish Indri

Background and Setup: I have installed a fresh copy of Ubuntu 21.10 on my laptop. Before install I cleared the TPM2.0 module from BIOS and during install I enabled SecureBoot. I selected full disk ...
user avatar
  • 41
2 votes
1 answer
2k views

qemu failed to passthrough a tpm device

Hi i'd like to install windows 11 on kvm. I have tpm enabled on my system. ubuntu 21.04 (qemu 5.2+dfsg-9ubuntu3.1) ls -ls /dev/tpm* 0 crw-rw-rw- 1 root root 10, 224 Sep 25 18:18 /dev/tpm0 0 crw-rw-...
user avatar
  • 604
1 vote
0 answers
912 views

What is "Platform is in setup mode" mean? SecureBoot disabled although TPM is enabled

I had to wipe my HDD clean and re-installed both Windows 10 and Ubuntu in dual boot setup. I have three main partitions, one of windows (plus three Microsoft related partitions, EFI and linux swap) ...
user avatar
  • 51
0 votes
1 answer
179 views

Cannot try nor install Ubuntu flavours on Asus X541UAK

I have two different flash drives, one is USB 3 with Ventoy and 2 ISOs on it (Kubuntu and Ubuntu Studio, both 20.04.3), other is USB 2 with only Kubuntu 20.04.3 flashed with Etcher. I've tried all the ...
user avatar
2 votes
1 answer
1k views

Trying to understand errors from tpm2-tools

I'm trying to follow this tutorial but I'm using Ubuntu 21.04: https://run.tournament.org.il/ubuntu-20-04-and-tpm2-encrypted-system-disk/ When I run the second command: sudo tpm2_nvdefine -s 64 ...
user avatar
1 vote
0 answers
476 views

LUKS Full Disk Encryption including /boot partitions in preseeded installation

I'm attempting to bring a bitlocker-esque experience to users in my ubuntu environment. I have a preseeded ubuntu 20.04 installation I deploy that currently has a working disk encryption scheme on ...
user avatar
1 vote
0 answers
586 views

How to run a TPM simulator on a Ubuntu machine (maybe incorrect DBus)?

I have a Ubuntu set up in WSL2. Then I tried instructions at https://wiki.ubuntu.com/TPM/Testing and tried to set up TPM simulator on Ubuntu. But for some reason I seem to end up in a situation I can'...
user avatar
  • 111
1 vote
2 answers
3k views

How to solve error communicating to TPM chip [closed]

I want to know how to enable TPM I found the TPM settings in the bios by I am not able to click.
user avatar
  • 11
6 votes
2 answers
3k views

Which TPM version?

What Terminal command I should make in Ubuntu in order to find out which TPM version I have, i.e TPM version 1.2 or 2.0 ?
user avatar
  • 317
2 votes
0 answers
845 views

[Firmware Bug]: TPM Final Events table missing or invalid

I saw following error message recurring several times on kernel log. Can anybody make an interpretation of it? efi: EFI v2.40 by INSYDE Corp. efi: SMBIOS=0x8c630000 ESRT=0x8c62ef18 ACPI 2.0=0x8cffd014 ...
user avatar
4 votes
1 answer
1k views

Ubuntu 20.04 autoinstaller UEFI Full disk encryption

I wrote this user-data to install Ubuntu 20.04 on UEFI serveur. #cloud-config autoinstall: update: yes early-commands: - systemctl stop ssh apt: geoip: true preserve_sources_list: ...
user avatar
1 vote
0 answers
838 views

How do I install/get the libata kernel module to work?

Edit 1: Running Ubuntu 18.04 here. I'm trying to set /sys/module/libata/parameters/allow_tpm, but to no avail. modinfo libata tells me: modinfo: ERROR: Module libata not found. This is after running ...
user avatar
  • 251
0 votes
0 answers
97 views

Unable to boot in recovery mode - dual boot

I dual booted Ubuntu 18.04 with Windows 10 on my laptop. It was working fine until one day it just started showing this error: Error connecting to tpm chip I have tried following some fix suggestions ...
user avatar
0 votes
0 answers
153 views

Error connecting to TPM Chip - ASUS ROG

I dual booted ubuntu 18.04 with windows 10 on my laptop. it was working fine until one day it just started showing this error: "Error connecting to tpm chip". I have tried following the ...
user avatar
2 votes
0 answers
95 views

Some files measurement in the IMA (Integrity Measurement Architecture) does not correspond to the result generated by sha1sum command

I am using the sha1sum command to check the hash of some files and compare with the measurements stored in the IMA. However, I identified some files whose measurement in the IMA does not correspond to ...
user avatar
0 votes
1 answer
453 views

Awful Acer Nitro 5 BIOS prevents GRUB detection, GForce 1050 Ti no longer works. TPM problem?

Everything went wrong after an unfinished kernel upgrade (Ubuntu 20.04.1.LTS). Bios refused to let me enter the UEFI menu. The computer turned power off when tried. I got it booting now, but grub ...
user avatar
0 votes
0 answers
229 views

Ubuntu won't boot properly after deleting snap

I recently updated Ubuntu from 18.04 to 20.04 and it was working fine. Then, it decided to stop booting, it gets frozen in the logo screen. I notice this happen just after I uninstall snapd and it ...
user avatar
3 votes
0 answers
675 views

How can I setup Ubuntu 20.04.1 to use the TPM 2.0?

I want Ubuntu to use TPM 2.0 for encryption of the disk so that the encryption keys are stored in the TPM, and the password is asked on the login screen, just like Windows. I've done my research but, ...
user avatar
3 votes
1 answer
4k views

Using the TPM to manage disk encryption keys on Ubuntu 20-04?

On a freshly-installed NUC10i7FNK (this year's model), with a cleared TPM2 chip. I've tried following every Google hit I could find. THe closest I ever got to finding something that matched a current ...
user avatar
  • 1,013
1 vote
0 answers
162 views

Error message of TPM after run "dmesg | grep -i error"

I found the error message of TPM after "dmesg | grep -i error". ima: Error Communicating to TPM Chip tpm tpm0:tpm_try_transmit: send() error -5 Could someone explain the error message and ...
user avatar
2 votes
1 answer
5k views

How can I turn TPM off or disable it in Ubuntu?

How can I disable or turn off my TPM chip in Ubuntu ? I have the choice in my BIOS , but as I dual boot and use TPM on my Windows side this is not a viable option. [ 1.751260] ima: Error communicating ...
user avatar
  • 21
0 votes
1 answer
3k views

ima: error communicating to tpm chip but no TPM settings

Apologies as I think this may be a duplicate of How to solve "ima: error communicating to tpm chip" messages during boot But I am hoping you can help. I installed the current version of ...
user avatar
1 vote
0 answers
81 views

How to setup TPM in Dell Edge Gateway 3003 with Ubuntu Core 16?

Currently I am try to configure TPM in Dell Edge Gateway 3003 with Ubuntu Core 16. I have facing some problem gpg key Id generating time. I try to generate key ID for using this command: gpg --no-...
user avatar
2 votes
1 answer
478 views

Ubuntu 18.04 LTS, securing boot and encrypting data on HDD with TPM 2.0

I want to give for a rent some PC with some software (kiosk software). I want to not allow people who will rent this PC to read any data on its HDD. But they will have physical access to this PC. ...
user avatar
1 vote
0 answers
102 views

Dual boot with bitlocker Encryption Ubuntu 18.04 + Win 10

I see so many suggestions from blog related to bitlocker encryption dual boot ( Win 10 + ubuntu ) . But most of the cases, there is no success. May I know how to proceed with working dual boot ...
user avatar
19 votes
6 answers
79k views

How to solve "ima: error communicating to tpm chip" messages during boot

I am getting the following error message as a list of 4 or 5 lines with differing numbers at the beginning of each line during boot for a long while: ima: error communicating to tpm chip I am using ...
user avatar
  • 301
1 vote
1 answer
2k views

tpm2-tools on ubuntu 16.04

I am trying to use tpm2-tools on ubuntu 16.04 (I have this kernel version 4.15.0-54-generic) To install tpm2-tools i did apt-get install tpm2-tools I have TPM2.0 hardware and i can see that on my ...
user avatar
  • 121
1 vote
0 answers
206 views

Full disk encryption using TPM2 [16.04]

I'm trying to figure out how to implement full disk encryption with auto decrypt at boot using TPM2 module. I didn't find much information about TPM2 and xenial. Glad if someone can pour some light ...
user avatar
  • 393
0 votes
0 answers
195 views

Ubuntu keeps on rebooting after enabling TPM 2.0 from BIOS (APTIO utility)

I am having Ubuntu 18.04 LTS installed on to my system. I wanted to implement TPM functionalities. I enabled TPM 2.0 from Trusted Computing option in the BIOS. After this when I rebooted my system, ...
user avatar
1 vote
1 answer
2k views

Can't boot Ubuntu 18.04.2 LTS or its LiveUSB after enrolling MOK

I'm unable to boot Ubuntu 18.04.2 LTS or its Live USB after enrolling MOK. Here are the steps that led to this situation. Clean install of Ubuntu 18.04.2 LTS on Dell Precision T7910 workstation. No ...
user avatar
  • 56
5 votes
1 answer
8k views

Dual Boot Ubuntu (with LUKS, TPM) and Windows 10 (with BitLocker)

I'm looking for a way to dual-boot Ubuntu and Windows 10 on a single hard drive with: LUKS + TPM on Ubuntu, with a pre-boot password BitLocker + TPM on Windows 10, with a pre-boot PIN/password Is ...
user avatar
  • 51
0 votes
0 answers
273 views

Ubuntu 18.04 LTS Live USB on HP ZBook 15 hangs while booting with kernel panic error: "A TPM error (7) occurred attempting to read a pcr value"

Ubuntu 18.04 LTS live USB on HP ZBook 15/1909 hangs while booting with kernel panic error: A TPM error (7) occurred attempting to read a pcr value Previously installed Ubuntu 16.04 worked perfectly ...
user avatar
1 vote
1 answer
2k views

Booting problems after automatic software update: TPM error and Recovering journal

Last week, after an automatic software update, my PC is having some problems when booting. The PC is a ThinkPad T400 (32 bits) with Ubuntu 18.04.02 LTS. It has dual-boot with Linux and Windows. A few ...
user avatar
5 votes
2 answers
10k views

How to install Ubuntu alongside BitLocker encrypted Windows 10?

How to install Ubuntu alongside BitLocker encrypted Windows 10? If it's impossible to rely on TPM, I don't mind switching to password. My first question is can I install Ubuntu second, on a computer ...
user avatar
  • 141
1 vote
1 answer
5k views

DD a BitLocker/TPM encrypted drive

Is it possible to create a bit identical image of a Windows 10 SSD using an Ubuntu live cd/usb? If I boot into the laptop with the live/cd/usb, I can't see the drive using fdisk or gparted. The ...
user avatar
  • 3,847
2 votes
2 answers
5k views

Intel's Platform Trust Technology on Ubuntu 18.04

I have an Intel NUC (NUC8i7BEH), which includes Platform Trust Technology instead of a dedicated TPM 2.0 chip. I was reading this other Ask Ubuntu post about using a TPM 2.0 chip, and am trying to ...
user avatar
  • 391
1 vote
0 answers
1k views

How to check if TPM2.0 is owned and if TPM is enabled in Ubuntu 16.04?

Is there any command to check if TPM2.0 is owned and if TPM is enabled on Ubuntu 16.04? We are using TPM2.0, Intel TXT, Ubuntu 16.04 and DL380Gen10 server.
user avatar
2 votes
0 answers
169 views

How can I enable TPM in Ubuntu Core 16?

I have a Dell Edge Gateway for IoT that runs Ubuntu Core 16. How can I enable TPM on the device?
user avatar
11 votes
1 answer
14k views

How do I set up TPM 2.0 on Ubuntu 18.04?

I just can't seem to find enough information on Trusted Platform Module (TPM). I did find a few threads but they're only about TPM 1.2 setup. The setup I want: the whole disk is encrypted (including ...
user avatar
  • 111
1 vote
0 answers
2k views

A TPM error (7) occurred attempting to read a pcr value after trying to install 16.04

I'm trying to revive an ageing laptop by installing Ubuntu 16.04 (I want to upgrade it to 18.04 eventually) over Windows 10. I made a live USB using unetbootin and a 16.04 distro from the Ubuntu ...
user avatar
  • 111
2 votes
1 answer
5k views

How do I fix TPM error 256?

This happened when I attempted to upgrade from 17.10 to 18.04. I receive this error during boot, and my Ubuntu that I've had a few months running without issue twice (not counting during the upgrade) ...
user avatar
1 vote
2 answers
9k views

How do I upgrade Ubuntu 17.10 to 18.04? [duplicate]

I was trying to upgrade to Ubuntu 18.04 from 17.10, and I used the Ubuntu Software / updates, but it gave an error. Also my laptop has logged me out of sessions/restart from Ubuntu login screen twice. ...
user avatar