this post was submitted on 03 Aug 2023
24 points (100.0% liked)
Linux
48375 readers
1785 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
It depends on a single variable - does your motherboard support manipulating the secure boot keys? I've only done it on prebuilt dells and dell laptops, but some other manufacturers also allow it.
The procedure is very simple, but has many steps. Don't get discouraged! I remember ArchWiki having a very thorough guide that worked for me.
The gist of it is you provide UEFI firmware the cert to trust and then use the keys to sign your kernel image. I've never had to deal with signing the modules (mostly nVidia related, I think), but the procedure would be the same.
I had it scripted at some point - this is the file
Good luck!
That's a 404 ...
My bad, private repo. Here's the content:
I have since replaced the hardcoded values with variables, but evidently haven't pushed the changes to gitlab. Having said that - not having variables might make it easier to understand in this case.
I think, I can install keys in my AMI bios. So, basically, I'd create some keys, sign the kernel with it, reboot, install them keys in UEFI, enable secure boot, and, fingers crossed, I'd boot?
You might have to enable
Audit mode
or similar - again, depends on the manufacturer - to generate the keys. But yes, essentially that's the gist of it.