Posts

Showing posts from August, 2025

Fixing NVIDIA Drivers Under Secure Boot and Preventing Windows from Breaking EFI Boot Order

Running Linux with Secure Boot in a multi-boot machine often turns into a struggle. In my case the system is set up with KDE Neon as the primary OS, Kubuntu for testing, and Windows as the third option. Windows assumes it should control the EFI boot order and sometimes even clears MOK keys when it writes to firmware. At the same time, NVIDIA drivers do not always cooperate with Secure Boot because the modules are unsigned. The result is that Linux may fail to load the GPU driver after every reboot into Windows, and boot order often shifts away from Neon. This tutorial explains the full process I followed to solve these issues in a reliable way. 1. Identify the correct NVIDIA driver and install a DKMS build.   The first requirement is to get the correct NVIDIA driver installed. Using a DKMS package is important because DKMS automatically rebuilds the modules whenever the kernel changes. Without DKMS, every kernel upgrade would break the driver until you reinstall it. Installin...

Random thoughts on a social media post

 Saw a random status today. One of those “pain leads to success” things people keep posting. Usually I scroll past, but this one made me stop. Not because it was profound, but because it felt wrong. It said: “Every successful person has a painful story. Every painful story has a successful ending. Accept the pain and get ready for success.” Sounds nice, but it assumes pain is proportional to success. If that were true, someone dying in constant pain from cancer, or someone who lost everything in a landslide but survived, would be the most successful people alive. That is clearly not reality. Plenty of people suffer with no “success” at the end, and plenty succeed without great pain. It reminded me of Dickinson’s line: “Hope is the thing with feathers, that perches in the soul, and sings the tune without words, and never stops at all.” Read alone, it feels comforting. Put it next to Nietzsche’s “Hope is the worst of evils, for it prolongs the torments of man” and it turns into somet...