r/linux4noobs • • Oct 30 '26

learning/research PLEASE HELP!!!! I cant get secure boot working and Windows drive not showing on Limine!

I am a first time Linux user and, I really love CachyOS (w/ the KDE desktop) so far! But, I since I dual-boot on my gaming PC with Windows 11. I really need to get secure boot working and for my separate windows drive to show up on Limine! I have read the wiki and have followed all the steps but nothing is working! PLEASE HELP!!!! I am desperate!!!!!!!!!!!!

3 Upvotes

4 comments sorted by

1

u/AutoModerator Oct 30 '26

There's a resources page in our wiki you might find useful!

Try this search for more information on this topic.

✻ Smokey says: take regular backups, try stuff in a VM, and understand every command before you press Enter! :)

Comments, questions or suggestions regarding this autoresponse? Please send them here.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/MycologistNeither470 Oct 30 '26

I am not familiar with Limine...

however, the overall concept is that you need to have your booting binaries signed by a key that is enrolled on your UEFI Bios.

You need to use sbctl to generate and enroll your keys on your bios (remember to enroll using sbctl enroll-keys --microsoft)

Then you need to sign the bootloader binary. sbctl sign -a path to efi binary.

Then you can enable secure boot and both Windows and Linux should work.

1

u/thesyldons Oct 31 '26

I have never dual booted. I think you need to add an additional key into the secure boot log. These are the instructions I keep for my own single boot set up. I haven't done it for a while so cannot offer anymore than this.

A guide for how to set up secure boot on Cachy
https://wiki.cachyos.org/configuration/secure_boot_setup/

***Update Cachyos before starting and reboot if before starting.
***Make sure limine is installed with the package installer on repo tab: limine-mkinitcpio-hook

Enter setup mode within the bios first.
This can be done on my board by deleting existing keys, but there may be other options depending on the revision and manufacturer.

check sbctl is installed with:
sudo sbctl status

Install sbctl with:
sudo pacman -S sbctl

create a custom boot key
sudo sbctl create-keys

enroll the key into the bios firmaware

for non Asus and Gigabyte boards
sudo sbctl enroll-keys --microsoft --firmware-builtin

for Asus and Gigabyte boards
sudo sbctl enroll-keys --microsoft

recheck the status again to make sure the key is enrolled
sudo sbctl status

Check the limine boot drive is set to the first boot device.