Lenovo M93p Bypass fan and keyboard boot errors


I upgraded the cooler on my lenovo m93p to a noctua one and my initial plan was to use this machine as a homeserver to run various thinks, and yes,but on every boot i get the fan and keyboard error, i can skip the errors if i press f2 on boot , but i want this machine to run 24/7 and dont need my assistance especially to boot.

So, can anyone help me in moding the bios to ignore thouse errors?

P.S. I run ubuntu server on the machine, so i am not able to run windows apps .