Set default boot option (Windows 11 or Bazzite) in Steam UI

I have config in the BIOS to boot Bazzite by default. In Bazzite I used the command
ujust setup-boot-windows-steam
to add boot-windows entry to Steam UI, so that I can select it to boot to Windows 11. However when restarting Windows 11, it auto boot Bazzite, which is not something I want. I'm trying to find a solution to set some kind of trigger/toggle, when turned on, auto boot to Windows 11, when turned off, auto boot to Bazzite.

It's something similar to the old school Macbook's bootcamp option, where we can set either MacOS or Windows as the default boot.
12419.gif
Solution
You can change the behavior of GRUB (the menu where you select which OS to boot into) by editing
/etc/default/grub
(if I remember right, it has to be created from scratch on Bazzite). There are tools out there to edit it but they most likely require messing with distrobox to use so here's how to edit it 'by hand':
It's a plain text system file, so run
sudoedit /etc/default/grub
in a terminal.
The settings I use are:
GRUB_DEFAULT=saved
GRUB_SAVEDEFAULT=true
GRUB_TIMEOUT=3
GRUB_TIMEOUT_STYLE=menu

first two lines cause it to remember what you last booted into and default to that.
second two lines cause the menu to show for 3 seconds before booting that default (pressing stuff interrupts the countdown)
After you edit that you need to run
ujust regenerate-grub
to actually apply the settings.
Also there's a
ujust configure-grub
that can change whether the menu hides or not.
That's about all I know, beyond that, ask others or search the internet...
Was this page helpful?