Comments (10)
I guess @MrDuartePT knows this better!
from lenovolegionlinux.
@Reaversword Well i dont know what distro you are using but i recommed using sbctl is a easy process and allow to use the Microsoft key to be possible to use discrete mode with secure boot enable on linux (if you remove microsoft key you get black screen in discrete mode and in hybrid the nvidia module dosent load on boot [i know that because i try to use custom keys one time])
the guide i will post helps just install sbctl on your distro
secure boot guide: https://wiki.archlinux.org/title/User:Krin/Secure_Boot,_full_disk_encryption,_and_TPM2_unlocking_install#Secure_boot
from lenovolegionlinux.
@Reaversword Well i dont know what distro you are using but i recommed using sbctl is a easy process and allow to use the Microsoft key to be possible to use discrete mode with secure boot enable on linux (if you remove microsoft key you get black screen in discrete mode and in hybrid the nvidia module dosent load on boot [i know that because i try to use custom keys one time])
the guide i will post helps just install sbctl on your distro secure boot guide: https://wiki.archlinux.org/title/User:Krin/Secure_Boot,_full_disk_encryption,_and_TPM2_unlocking_install#Secure_boot
Do you mean that proprietary/nouveau just won't work at all in hybrid without those M$ keys? I thought that the arch wiki warning was mostly for some old laptops with broken BIOSes. Regarding nvidia is there some error that complaints about it or it just some generic error or smth?
from lenovolegionlinux.
If you remove the microsoft keys and activate secure boot you will get a black screen if you boot in discrete mode and in hybrid mode the nvidia/nouveau modules will load but the card cant be used. The problem is how nvidia vbios is sign on laptop and because lenovo legion laptop dont have optirom in the tpm you need to use the microsoft keys
This issues on sbctl project can help you understand:
Foxboron/sbctl#85 (comment)
Foxboron/sbctl#40
edit: on other word you can brick or laptop on discrete and need the blind bios method to go back to hybrid.
sbctl faq about Option Rom: https://github.com/Foxboron/sbctl/wiki/FAQ
from lenovolegionlinux.
@pm4rcin @Reaversword @johnfanv2 in the latest bios Option Rom is working:
➜ ~ doas sbctl status
Installed: ✓ sbctl is installed
Owner GUID:
Setup Mode: ✓ Disabled
Secure Boot: ✓ Enabled
Vendor Keys: tpm-eventlog
This means if you use sbctl to create or import your custom keys (or you can do everthing manually) and include the Option Rom the mux will be intact (you need to have AMD PSP or intel equivalent enable on the bios for the TPM to work after that i think you can disable it)
from lenovolegionlinux.
@MrDuartePT that's great to hear. Could you tell which laptop model do you have? I also have read the links you've provided and some more and found one example of hard-brick because of buggy firmware. But it was thinkpad t14s gen 1 AMD so I guess it shouldn't be a problem but who knows... I'll probably try it sooner or later but first I need to figure out how to do that on Fedora Sericea since it uses Windows keys. Or rI'll return again to Arch or smth :D
from lenovolegionlinux.
My laptop is a Legion 5 gen 6 AMD variant.
Fedora use MS key by default to provide compatible but i think you can change to Option Rom if possible. Try updating your bios version and then try to see if possible to change before distro hopping.
I think i will close this issue if you need any help go to the discord server and ping me.
from lenovolegionlinux.
Will this allow the preservation of secureboot keys after kernel updates? I heard that you need to manually recreate keys after every update (or something like that) and that sounds like a pain on arch
from lenovolegionlinux.
I allways use the same keys and my system automatic sign the kernel file after building the initramfs
from lenovolegionlinux.
Since this dosent have any activity for the past 1 month and the kernel module work with secure boot (at least on my setup using sbctl) I will close this issue.
from lenovolegionlinux.
Related Issues (20)
- Support Legion Pro 5 16IRX9 (2024) HOT 3
- Power mode not shown in KDE "battery and brightness" menu
- [BUG] Trying to launch legion_gui with root HOT 3
- [BUG] 16IAX7 Can't read/set most settings
- Ability to select between hybrid and dGPU from a kernel parameter HOT 2
- Touchpad not working for Legion 9 16IRX8 HOT 2
- [BUG] Error: Missing .env and other files when toggle Fn+Q HOT 5
- Reset to defaults HOT 2
- Support for Lenovo 7 Pro 16IRX9H (2024) HOT 1
- Legion Pro 7 16IRX8H - ALC287 & NVIDIA HDA PRO 9 detected but no internal sound produced HOT 1
- What is the expected behavior of mini fan curve when `/sys/module/legion_laptop/drivers/platform:legion/.../minifancurve` is set to `0` and `1` respectively? HOT 2
- [BUG/ERROR] the app has installed successfully but is not opening HOT 2
- Support for Lenovo Legion 5 15IMH6 HOT 2
- Use timer and unix_socket to run legion-linux.service HOT 2
- Update gentoo guru ebuild HOT 27
- [Feature]: `LenovoLegionLinux.hook` should to handle old kernel image files during kernel/module upgrade HOT 2
- Legion R9000P's current fan curve are always zeros
- [BUG] Fan control not working on Lenovo Yoga Pro 7 14ARP8 (BIOS: LNCN21WW) iwth AMD R7 7735HS. HOT 3
- introduce cpu reset timer support HOT 1
- Add an option to disconnect the power mode from the fan setting HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lenovolegionlinux.