Setting Windows as the default option to auto boot in Grub

I don't know if this was already discussed over here (I can't seem to find any), but I want to auto boot into Windows whenever I start my PC, instead of booting in Bazzite, so how can this be done?
17 Replies
CtrlValCanc
CtrlValCancβ€’2w ago
You can try grub-customizer sudo rpm-ostree install grub customizer Then you reboot and run it from terminal grub-customizer
CtrlValCanc
CtrlValCancβ€’2w ago
you choose Windows in "predefined"
No description
HikariKnight
HikariKnightβ€’2w ago
that is one good way to potentially break your system idk if grub-customizer (iirc its not even maintained anymore) even supports the customized grub that fedora atomic uses
SafOne
SafOneOPβ€’2w ago
Damn so basically no proper way to do it
Reactive
Reactiveβ€’2w ago
not sure if this is what you're looking for, but if you're dual booting on two separate ssds you can just select the windows bootloader in bios
HikariKnight
HikariKnightβ€’2w ago
havent tried it with fedora atomics grub but if you add GRUB_DEFAULT="Windows Boot Manager" to /etc/default/grub and then run ujust regenerate-grub it should select the windows option by default, however as i said i have not tested it on the fedora atomic grub as i am 100% linux, no dual boot plus im at work and the other maintainers are asleep
wolfyreload
wolfyreloadβ€’2w ago
@SafOne Looks like you need to be more specific. Just GRUB_DEFAULT="Windows Boot Manager" isn't working for me. But this is working on my Rog Ally. I used this to determine what the menu entry was for Windows in grub
sudo cat menuentry /boot/grub2/grub.cfg | grep "Windows Boot Manager"
sudo cat menuentry /boot/grub2/grub.cfg | grep "Windows Boot Manager"
I got "menuentry 'Windows Boot Manager (on /dev/nvme0n1p1)' ......" as a result so I need to set 'Windows Boot Manager (on /dev/nvme0n1p1)' as the default boot item in /etc/default/grub
GRUB_DEFAULT="Windows Boot Manager (on /dev/nvme0n1p1)"
GRUB_DEFAULT="Windows Boot Manager (on /dev/nvme0n1p1)"
Then just ujust regenerate-grub and you might need to run ujust configure-grub show too. And now I need to plug in a keyboard in my Ally to boot back into Bazzite, so I can change it back πŸ˜‚
SafOne
SafOneOPβ€’2w ago
Lol, okay will try
wolfyreload
wolfyreloadβ€’2w ago
Btw are you Titan_1000 by any chance? I had a similar question around booting Windows by default on my youtube today. If so I don't have to figure out how to type this solution as a Youtube comment πŸ˜…
CtrlValCanc
CtrlValCancβ€’2w ago
Oh... So how are we supposed to edit grub? Stuff also like the theme? Thank you for letting me know tho
HikariKnight
HikariKnightβ€’2w ago
personally i dont edit the theme, breaks too often for me to care there is a forum post if you search however where someone did theme grub
wolfyreload
wolfyreloadβ€’2w ago
It's a lot of work for something that you see for 3 seconds lol
HikariKnight
HikariKnightβ€’2w ago
exactly
Lixo
Lixoβ€’2w ago
you're way better off just changing boot order in the motherboard, let grub just boot fedora and that doesn't mess with secure boot as a bonus
SafOne
SafOneOPβ€’2w ago
oh wait.... u are Mike?? lol that was me
wolfyreload
wolfyreloadβ€’2w ago
Yup. Cool then I don't need to summarise this thread on Youtube πŸ™‚
wolfyreload
wolfyreloadβ€’2w ago
Lixo has a really good point, it would be easier making Windows the default boot in the BIOS and then you could do something like this https://www.reddit.com/r/Bazzite/comments/1ijv2w5/comment/mbhxatf/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button on Windows to make a shortcut to bazzite when you want to tinker with it
Reddit
wolfyreload's comment on "Booting straight into bazzite from window...
Explore this conversation and more from the Bazzite community

Did you find this page helpful?