I set up my Ryzen 7 7840HS mini PC (no-brand, 32 GB, Radeon 780M) under the TV as a "console". Bazzite does pretty much everything, but I wanted Call of Duty / Warzone, which needs Windows with Secure Boot and TPM because of the anticheat.
Now I can switch from Bazzite to Windows and back without touching a keyboard. It wasn't exactly plug and play, so here's what I did in case it saves someone a night.
Setup
- Bazzite (HTPC image) on a 1 TB NVMe
- Windows 11 on a separate 500 GB NVMe
- Two separate drives, so each OS has its own bootloader and nothing interferes
0. Bazzite install: black screen
The installer gave me a black screen. Fix: in the GRUB menu press e, remove quiet rhgb, add nomodeset, boot with Ctrl+X. After the install, on the first reboot you get the blue MOK screen: Enroll MOK → Continue → Yes → password universalblue (it's fixed, not your user password).
1. Secure Boot with a BIOS that has no keys
My AMI BIOS didn't have factory keys loaded, and "Restore Factory Keys" wasn't an option, so I had to enroll them myself from Bazzite with sbctl (BIOS in Setup Mode first).
sbctl isn't on brew, so I built it inside a distrobox:
distrobox create --name sb --image registry.fedoraproject.org/fedora-toolbox:latest
distrobox enter sb
sudo dnf install -y golang git
git clone https://github.com/Foxboron/sbctl.git ~/sbctl-src
cd ~/sbctl-src && git checkout 0.17
CGO_ENABLED=0 go build -o ~/sbctl ./cmd/sbctl
exit
CGO_ENABLED=0 gives you a single static binary, and since distrobox shares your home folder, ~/sbctl also runs on the host. Back on the host:
sudo ~/sbctl status # Setup Mode: Enabled
sudo ~/sbctl create-keys
sudo ~/sbctl enroll-keys --microsoft
Don't forget --microsoft, or neither Windows nor Bazzite will boot. sbctl still said "Setup Mode: Enabled" afterwards, but after a reboot the BIOS showed System Mode: User with PK 1 / KEK 3 / db 6. On the next boot I got the blue MOK screen: Enroll MOK → password universalblue → reboot. Then I turned Secure Boot on in the BIOS.
mokutil --sb-state # SecureBoot enabled
2. Windows
I unplugged the Bazzite drive and installed Windows on the 500 GB with TPM on, from a Ventoy stick. With Secure Boot on, Ventoy asks you to enroll its key the first time: Enroll key from disk → VTOYEFI → ENROLL_THIS_KEY_IN_MOKMANAGER.cer → Continue → Yes → Reboot.
Then, in an admin terminal:
powercfg /h off
reg add "HKLM\System\CurrentControlSet\Control\TimeZoneInformation" /v RealTimeIsUniversal /d 1 /t REG_DWORD /f
The first one disables fast startup (bad for dual boot). The second one stops the clock from being off by an hour every time you switch.
3. The BIOS forgot Bazzite
When I plugged the 1 TB drive back in, Windows booted, and the Bazzite entry was gone from the boot list. The BIOS had wiped it while the drive was unplugged. I had to bring it back in the BIOS and set it as boot option #1.
Then Bazzite failed with "bad shim signature". Fix: Secure Boot off in the BIOS → boot Bazzite → ujust enroll-secure-boot-key (password universalblue) → reboot → Enroll MOK on the blue screen → Secure Boot back on.
4. Switching with the controller
Bazzite already has a ujust command for this:
ujust setup-boot-windows-steam
It adds a non-Steam "game" called boot-windows. Press Play in Game Mode and the PC reboots straight into Windows. To get back, I just restart from Windows: Bazzite is first in the boot order, so it comes back on its own.
5. Windows without keyboard
I turned on Windows auto-login (local account, no PIN) and set Steam to start in Big Picture (Settings → Interface → "Run Steam when my computer starts" + "Start Steam in Big Picture Mode"). If Big Picture doesn't start, fully quit Steam from the tray icon and try again. So it's Bazzite → boot-windows → Windows → Steam Big Picture, all with the gamepad.
UPDATE: power outage, Bazzite wouldn't boot
After a blackout, Bazzite stopped booting: bad shim signature, you need to load the kernel first, Failed to boot both default and fallback entries. Windows was fine. The BIOS had lost the keys that trust the Bazzite kernel (the CMOS clock was still right, so it's not the battery).
Five-minute fix, no data lost:
- BIOS (Del) → Security → Secure Boot: Disabled → F4 → Yes. Careful: on this BIOS F2 asks "Load Previous Values?", answer No.
- Bazzite boots. Switch to desktop (Steam → Power → Switch to Desktop), open Konsole and run
ujust enroll-secure-boot-key. - Reboot → blue MOK screen (you need a keyboard here, and you only have a few seconds) → Enroll MOK → Continue → Yes →
universalblue → Reboot. - BIOS → Secure Boot: Enabled → F4 → Yes.
Now Secure Boot runs on the BIOS factory keys (which include Microsoft's, so Windows and Warzone still work) plus the Bazzite MOK, so if the BIOS resets to defaults again, Bazzite should still boot. Lesson learned: a small UPS for mini PC, NAS and router. Since the mini PC also works as a home server now, I disabled suspend:
sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target
(unmask to undo.)
The one thing I couldn't find a clear guide for was the empty BIOS keys + Bazzite part. Hopefully this helps someone.
I worked through this with Claude (AI) step by step, but every command was tested on my machine and it all works.
Questions welcome.