UB
Universal Blue•5mo ago
LZ

MOK Password and Dual Boot Problem

Hey, Just switched to bazzite from fedora and I'm having a hard time booting It asks for MOK password and I typed the same one I did on fedora It doesn't accept it nor let me boot afterwards so I can't even erase/delete the password Windows doesn't show up on grub, I was expecting it to recognize the windows partition and show it as an option to boot Any chance someone coudl help me?
31 Replies
antheas
antheas•5mo ago
it shouldnt ask for a mok password, if it does youre booting the wrong kernel and or you need a different grub fedora uses proper secure boot keys, not mok as for grub, you need to run the grub updater tool after enabling os-prober
LZ
LZOP•5mo ago
it is bringing "perform MOK management" and having the option to enroll mok key
antheas
antheas•5mo ago
you might need to update your shim and grub which i dont know how to do tbh or type in universalblue and live with it
LZ
LZOP•5mo ago
It says Error grub-core/kern/efi=sb.c:182 bad shim signature you need to load the kernel first This is what you meant? why does it happen
antheas
antheas•5mo ago
did you rebase to fedora? this is not an error you should be getting if you are using a stock kernel
LZ
LZOP•5mo ago
all I did is install bazzite on the fedora drive
antheas
antheas•5mo ago
this only happens if your kernel is not signed with a shim validated key so youre using bazzite or fedora?
LZ
LZOP•5mo ago
bazzite
antheas
antheas•5mo ago
sorry i mixed them i thought you went to fedora yes, you need to enroll the mok key by typing universalblue and then secureboot will work
LZ
LZOP•5mo ago
I used fedora, switched to bazzite, in other words just installed bazzite on the fedora drive
antheas
antheas•5mo ago
if you skipped the dialog, there is a command starting with ujust that you can use to enroll the mok key and then the dialog will launch again
LZ
LZOP•5mo ago
okay so that's the problem
antheas
antheas•5mo ago
yup
LZ
LZOP•5mo ago
how do I run the command because I can't boot
antheas
antheas•5mo ago
disable secureboot then boot, run, reboot
LZ
LZOP•5mo ago
won't windows scream at me for disabling that? 😅
antheas
antheas•5mo ago
if you dont boot to windows until you reenable secureboot no
LZ
LZOP•5mo ago
becuase the password for the mok did not get accepted, I typed the last one I remembered
antheas
antheas•5mo ago
windows bitlocker will also scream at you if you boot through grub so kind of scratch that off if you use that
LZ
LZOP•5mo ago
I don't have bitlocker thankfully
antheas
antheas•5mo ago
then secureboot doesnt matter, unless you play valorant
LZ
LZOP•5mo ago
ahhhh I used to but uninstalled
antheas
antheas•5mo ago
it still is a security feature but anyway in order for valorant to work you need to boot directly to windows through bios with secure boot enabled
LZ
LZOP•5mo ago
so to sum it up, if I disable secure boot temporarly just to enroll the keys I can enable it again and it should all work fine even for windows? and to change the MOK password, since it doesn't accept what I gave it what do you mean by this also?
antheas
antheas•5mo ago
ujust enrollsomethingsomething its everywhere in the documentation but i dont remember it by hear t
HikariKnight
HikariKnight•5mo ago
ujust enroll-secure-boot-key
LZ
LZOP•5mo ago
yup that did the trick, thanks I would also love to modify grub so it shows the os-tree entries as one, So instead of bazzite tree.1 tree.2 and so on it'll be like on fedora Bazzite Advanced Options Windows Boot Manager UEFI Is it possible?
HikariKnight
HikariKnight•5mo ago
dont think so since ostree:0 and ostree:1 are both read as separate linux installs by grub, it is the same with fedora atomic. i do not modify my grub much since its on my screen for maybe 5 seconds at most
LZ
LZOP•5mo ago
And what about the order in which they show up? since I want it to default to windwos
HikariKnight
HikariKnight•5mo ago
same way you would set that in normal fedora, but run ujust regenerate-grub when you are done editing /etc/default/grub as the grub.cfg file is in a different directory than normal linux systems
LZ
LZOP•5mo ago
so that's what I was missing, thanks!
Want results from more Discord servers?
Add your server