Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sbctl won't work on Fujtsu Lifebook A574/M, BIOS would just reset ANY USER intervention of the secure boot changes #307

Open
Mizumo-prjkt opened this issue May 4, 2024 · 6 comments

Comments

@Mizumo-prjkt
Copy link

Pointers:

  • sbsign can enable secure boot, but won't allow modification on its efivar, checking the BIOS option, it only has customized or default option, as well as a switch to enable/disable secure boot
  • signing efi files won't work either using this tool
  • didn't use the optionrom flag as this unit is using Lynx Point, for safety because there could be a huge chance of soft bricking everything, and this bios was from 2016 (now installed the last version on 2020)
  • also had custom signed keys ready, with archlinux's wiki help
@Mizumo-prjkt
Copy link
Author

Also forgot:

  • used chattr, it did "work" but it just reverts itself like nothing happened (but secure boot flag did turn on)

@IPlayZed
Copy link

Could you provide screenshots of your UEFI setting step-by-step when doing your setup?

@Mizumo-prjkt
Copy link
Author

its been a while so ill recreate this again

Screenshot_20240618_233200
Screenshot_20240618_233248

i realized i disabled secure boot so went to enable it and enable setup mode/custom mode

Screenshot_20240618_233752

Screenshot_20240618_233745

after everything is done

Fujitsu BIOS says:

2024-06-18-23-38-31-327

@Mizumo-prjkt
Copy link
Author

basically did the instruction on the readme but only took the --microsoft flag

@Mizumo-prjkt
Copy link
Author

disabling the secure boot temporarily to check the chattr-ed files to see them having issues again

 [navia@fujitsu-a574m ~]$ sudo sbctl enroll-keys
[sudo] password for navia: 
‼ File is immutable: /sys/firmware/efi/efivars/KEK-8be4df61-93ca-11d2-aa0d-00e098032b8c
‼ File is immutable: /sys/firmware/efi/efivars/db-d719b2cb-3d3a-4596-a3bc-dad00e67656f
You need to chattr -i files in efivarfs

@Foxboron
Copy link
Owner

Which files did you sign before rebooting?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants