UB
Universal Blue•4mo 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•4mo 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•4mo ago
it is bringing "perform MOK management" and having the option to enroll mok key
antheas
antheas•4mo 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•4mo 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•4mo ago
did you rebase to fedora? this is not an error you should be getting if you are using a stock kernel
LZ
LZOP•4mo ago
all I did is install bazzite on the fedora drive
antheas
antheas•4mo ago
this only happens if your kernel is not signed with a shim validated key so youre using bazzite or fedora?
LZ
LZOP•4mo ago
bazzite
antheas
antheas•4mo 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•4mo ago
I used fedora, switched to bazzite, in other words just installed bazzite on the fedora drive
antheas
antheas•4mo 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•4mo ago
okay so that's the problem
antheas
antheas•4mo ago
yup
LZ
LZOP•4mo ago
how do I run the command because I can't boot
antheas
antheas•4mo ago
disable secureboot then boot, run, reboot
LZ
LZOP•4mo ago
won't windows scream at me for disabling that? 😅
antheas
antheas•4mo ago
if you dont boot to windows until you reenable secureboot no
LZ
LZOP•4mo ago
becuase the password for the mok did not get accepted, I typed the last one I remembered
antheas
antheas•4mo 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•4mo ago
I don't have bitlocker thankfully
antheas
antheas•4mo ago
then secureboot doesnt matter, unless you play valorant
LZ
LZOP•4mo ago
ahhhh I used to but uninstalled
antheas
antheas•4mo 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•4mo 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•4mo ago
ujust enrollsomethingsomething its everywhere in the documentation but i dont remember it by hear t
HikariKnight
HikariKnight•4mo ago
ujust enroll-secure-boot-key
LZ
LZOP•4mo 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•4mo 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•4mo ago
And what about the order in which they show up? since I want it to default to windwos
HikariKnight
HikariKnight•4mo 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•4mo ago
so that's what I was missing, thanks!
Want results from more Discord servers?
Add your server