1
1
How to enable Secure Boot with Shim on Debian? I have been following all sorts of articles online but now I have lost my patience. Anyone know how?
1
1
How to enable Secure Boot with Shim on Debian? I have been following all sorts of articles online but now I have lost my patience. Anyone know how?
4
The last I heard, Debian did not support Secure Boot. If that's changed with Debian 8, it should simplify things greatly. If Debian does not support Secure Boot, though, I suggest you take one step back from your question about Shim and make the question about Secure Boot generally. With that step back, there are three solutions, broadly speaking:
Overall, using PreLoader is likely to be the easiest solution for your situation -- although if Debian signs its GRUB and kernels, using Shim can be as easy if not easier, once you locate the Debian public key file.
Obviously, this answer isn't complete. Once you decide which approach to use, you'll need more information. Consult my main Secure Boot page for instructions on using PreLoader and Shim, and my Controlling Secure Boot page for information on installing and using your own keys.
One more comment: If this is a single-boot installation, using Secure Boot will provide minimal benefits, especially if you use a version of GRUB that doesn't honor Secure Boot. The main benefits to Secure Boot are on a system that might have its boot loader replaced by malware. Historically, Windows has been the target for such malware, both as the platform that's ultimately compromised and as the OS used to install the malware. That's not to say that Linux can never be targeted, of course; but if it is, and if you use a boot loader doesn't require the kernel to be signed, you're gaining very little in security by enabling Secure Boot, since the attacker would only need to replace your stock kernel to take control of your system.