Hi there, after two years with Ubuntu I decided it is time to change and Fedora looks like a nice choice. Unfortunately my first experience with system is kinda worse.
I downloaded Fedora workstation, made bootable flash drive, run system from flash drive and started installer. In installation destination I chose my only disk with automatic patitions configuration. I reclaimed space by removing all original partitions. Installation run without any problems and when finished prompted me to reboot. So far so good. Problem is that system have never booted.
This is what I get on every start:
error: …/…/grub-core/commands/efi/tpm.c:148:Unknown TPM error.
error: …/…/grub-core/commands/efi/tpm.c:148:Unknown TPM error.
error: …/…/grub-core/commands/efi/tpm.c:148:Unknown TPM error.
error: …/…/grub-core/commands/efi/tpm.c:148:Unknown TPM error.
error: …/…/grub-core/commands/efi/tpm.c:148:Unknown TPM error.
error: …/…/grub-core/loader/i386/efi/linux.c:208:you need to load the kernel first.
The only thing I can is to play with some grub command line. So my question is obvious. How can I run Fedora?
Some hardware manufacturers do not support TPM functions on Linux systems, especially TPM 1.2 is not well supported and is an old standard. So, in many cases, you need to disable the functionality, as already said before.
EDIT: This book about TPM Modules can be downloaded for free:
It’s not free at Amazon, but I downloaded it from Springer a couple of months ago, so it seems to be free forever.
Just to add to this issue. I have a Lenovo C940 and ran into this same issue from F33 after updating the kernel (Can’t remember which one. I’ve now done a fresh install of F34 and immediately ran into this issue after the 1st system update of the kernel
I don’t want to disable TPM and unfortunately, I’m a competent “User” of Linux for day to day and some configs but the EFI/Grub rabbit hole has been difficult to understand.
I’ve found this Bugzilla which is very close to my problem and will contact the Grub Maintainers incase they can assist and report back here.
My problem is fairly similar, so I’m not opening a new thread.
I installed Fedora 36 KDE. Reboot ok. Install updates with dnf upgrade --refresh. Reboot throws me in grub prompt. Ctrl + Alt + Del restarts and shows the grub menu, selecting anything shows this message:
error: ../../grub-core/commands/efi/tpm.c:140:Command failed.
error: ../../grub-core/commands/efi/tpm.c:140:Command failed.
error: ../../grub-core/commands/efi/tpm.c:140:Command failed.
error: ../../grub-core/commands/efi/tpm.c:140:Command failed.
error: ../../grub-core/commands/efi/tpm.c:140:Command failed.
error: ../../grub-core/loader/i386/efi/linux.c:258:you need to load the kernel first.
Press any key to continue...
Pressing anything takes me back to the grub menu.
My kernel is 5.19.9-200.fc36.x86_64 and grub 2.06-53.
I’ve tried fiddling with the bios settings like I’ve seen in this thread and found a setting that worked ONCE. The next boot got me in the same error.
After more research I’ve found a post for Ubuntu that said to add rmmod tpm in the grub config before the ‘linux’ and ‘initrd’ lines. I tried that and it got through, after showing me the same error and pressing on “any key to continue”.
I’m not sure how to make that permanent since the files in /etc/grub.d/ are pretty vast.
Note that this thread is almost 2 years old and that @vwbusguy commented on its age and the release version to which it applied more than 7 months ago.
Blindly following what someone else did on a different machine and that far back is taking a great risk as you have just seen.
In the future please open your own thread and ask for advice that applies to the current version of the OS.