I have a Lenovo Yoga 2 Pro notebook with dual boot with Ubuntu 18.04.3 LTS (encrypted with luks) and Windows 10 Pro. I brought it in my trip to Bali with me. After a week, Ubuntu doesn't boot anymore. I get some CPU errors, hardware errors and it's driving me nuts.
See systemd log here: https://pastebin.com/v1WUQ5Wz
What I get immediately when I boot, before luks asks for the password is the CPU error:
Okt 06 12:46:12 travel kernel: smpboot: CPU0: Intel(R) Core(TM) i7-4500U CPU @ 1.80GHz (family: 0x6, model: 0x45, stepping: 0x1) Okt 06 12:46:12 travel kernel: mce: [Hardware Error]: Machine check events logged Okt 06 12:46:12 travel kernel: mce: [Hardware Error]: CPU 0: Machine Check: 0 Bank 6: ae0000000040110a Okt 06 12:46:12 travel kernel: mce: [Hardware Error]: TSC 0 ADDR ffb07740 MISC 178a0000086 Okt 06 12:46:12 travel kernel: mce: [Hardware Error]: PROCESSOR 0:40651 TIME 1570365956 SOCKET 0 APIC 0 microcode 25
After entering the password to decrypt the disc, I get these errors:
Okt 06 12:46:13 travel kernel: ACPI BIOS Error (bug): Could not resolve [\_SB.PCI0.LPCB.HEC.CFAN], AE_NOT_FOUND (20181213/psargs-330) Okt 06 12:46:13 travel kernel: No Local Variables are initialized for Method [_TRT] Okt 06 12:46:13 travel kernel: No Arguments are initialized for method [_TRT] Okt 06 12:46:13 travel kernel: ACPI Error: Method parse/execution failed \_SB.IETM._TRT, AE_NOT_FOUND (20181213/psparse-531)
I googled around and yes, it seems this can be caused by an hw error, overheating, fan not working properly... but the thing is that Windows just works fine. So now for browsing, managing pictures etc. I'm using Windows and I have no issues. So even if there is an hw error, I don't really have time now to investigate the cause etc. If I boot with the Ubuntu 18.04.3 liveUSB it works just fine. I just want linux to boot like the liveUSB one. If I run
dmesg after booting the liveUSB, I can see the same hw errors, but the liveUSB was able to boot just fine and it works fine...
A pragmatical approach for me is to install a kernel similar to the one used in the liveUSB, and/or set grub options to boot in a similar way. I think the liveUSB has more modules or is configured to run in a less strict way, basically ignore errors and go on booting no matter what. I want this in my linux too.
Once booted in the liveUSB I can mount my luks encrypted disk and chroot into it. I tried already to install the latest kernel, but that didn't help (same CPU errors).
A friend told me it may be that there may be some checks that prevent the system from booting to avoid overheating and fry my hardware. But those checks seems disabled in the liveUSB, so again as in my question I'd like to take my chances and disable what prevents from booting and just boot.
Can you guide me to achieve this? Thank you.