jakeday / linux-surface

Linux Kernel for Surface Devices
2.59k stars 242 forks source link

Ubuntu 19.10, kernel 5.1.15 secure boot fails #585

Open ishalyminov opened 5 years ago

ishalyminov commented 5 years ago

Hi,

I've just upgraded my Surface Pro 6 to Ubuntu 19.10 (probably still beta). After upgrade, I did all the usual steps - re-installed linux-surface with downloading the latest kernel, and signed it manually, it has always worked for me before. This time though, upon reboot I can't select any option in grub (including Windows) as it shows several identical lines "Unknown TPM error" and then something like "You need to load kernel first". The only way I got my system to boot was exit grub into UEFI and disable TPM from there.

MarkRijckenberg commented 5 years ago

I got the exact same error after upgrading from Ubuntu 19.04 to Ubuntu 19.10 on my HP EliteBook 820 G4. Disabling TPM in UEFI "solved" it for me as well. Seems to be a bug in grub2 package version 2.04 in Ubuntu 19.10. Seems they added UEFI TPM 1.2/2.0 support to grub2 version 2.04 in July 2019, but it obviously does not work for us..... https://www.phoronix.com/scan.php?page=news_item&px=GRUB-2.04-Released

ravikg commented 5 years ago

I also faced the same issue with upgrade to Ubuntu 19.10 on Asus laptop and disabling the secure boot option worked for me as well.

rodrigoddc commented 5 years ago

I had the same issue. After days researching, i found that is a bug from Ubuntu 19.10. Go to your system machine, disable security boot and that's it

mortifia commented 5 years ago

for assus disable secure boot

ishalyminov commented 5 years ago

Thanks everyone! Although disabling TPM seems to be unbricking the device, it doesn't feel like a legit solution, especially for Surface. I remember I kept getting bitlocked every single time I would boot Windows, with Ubuntu 19.10 in multi-boot.

Is there any new version of grub which one can install and really fix this?

ahmettortumlu commented 4 years ago

I am using asus and i have encountered with same issue, my secure boot option already disabled and i have still same problem :(

ahmettortumlu commented 4 years ago

i finally handled following this comments instructions.

I think this solution exactly what you need.

https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1848892/comments/10