You are not logged in.

#1 2022-07-20 17:35:35

rbrayner
Member
Registered: 2020-10-01
Posts: 7

Boot order keeps changing everytime I boot into Windows (systemd-boot)

I'm dualbooting arch linux and Win 11 and everytime I boot into Win 11 the boot order changes and I have no idea why.
They are installed in different nvme m.2 SSDs, secure boot is disabled in the BIOS, I also disabled fast startup and hibernation in Windows just to be sure,
UEFI is enabled, my mother board is the ASUS TUF GAMING B550M-PLUS.
I never had this problem before with grub, I don't know if there is an option on the bios to lock the boot order or if I need to change some setting in Windows,
I would be thankfull if someone could provide any directions on how to solve this issue, I will provide more info if needed, I cant remember anything that seens relevant right now.
Thak you for taking your time to read!

Offline

#2 2022-07-20 18:19:35

sak18ra
Member
Registered: 2022-06-13
Posts: 17

Re: Boot order keeps changing everytime I boot into Windows (systemd-boot)

Try to disable ASUS fast boot in the bios boot menu, it disable os probing for faster boot, and drag grub first on the boot preference list.

Last edited by sak18ra (2022-07-20 18:26:36)

Offline

#3 2022-07-20 20:04:05

rbrayner
Member
Registered: 2020-10-01
Posts: 7

Re: Boot order keeps changing everytime I boot into Windows (systemd-boot)

Thank you for answering, but I'm not using grub as my boot loader, I'm using systemd-boot (Gummiboot) and I already disabled the fast boot option in the bios boot menu

Offline

#4 2022-07-20 21:51:41

sak18ra
Member
Registered: 2022-06-13
Posts: 17

Re: Boot order keeps changing everytime I boot into Windows (systemd-boot)

Hmmmm

I have a ASUS laptop and dual boot arch linux / windows 11 without having issue, but i'm using grub.

The problem is certainly come from your systemd-boot.

Last edited by sak18ra (2022-07-20 21:53:14)

Offline

#5 2022-07-21 16:51:49

tekstryder
Member
Registered: 2013-02-14
Posts: 581

Re: Boot order keeps changing everytime I boot into Windows (systemd-boot)

rbrayner wrote:

is an option on the bios to lock the boot order

sort-key is supported as of systemd 251.

https://systemd.io/BOOT_LOADER_SPECIFICATION/#sorting.

You can add it to each loader entry to lock the displayed order.

Last edited by tekstryder (2022-07-21 16:52:44)

Offline

#6 2022-07-22 13:23:17

rbrayner
Member
Registered: 2020-10-01
Posts: 7

Re: Boot order keeps changing everytime I boot into Windows (systemd-boot)

tekstryder wrote:
rbrayner wrote:

is an option on the bios to lock the boot order

sort-key is supported as of systemd 251.

https://systemd.io/BOOT_LOADER_SPECIFICATION/#sorting.

You can add it to each loader entry to lock the displayed order.

I'm talking about the boot order in the bios, the systemd-boot menu is ok, but I don't even boot into systemd-boot I'm booting into the windows boot manager because the order in the bios is changing and I'm booting into the wrong SSD.
Everytime I boot into windows and reboot I need to change the boot order in the bios again, I don't know why but the boot order in the bios keeps boosting the windows SSD up to the first position.

Last edited by rbrayner (2022-07-22 13:25:01)

Offline

#7 2022-07-22 17:07:28

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,671

Re: Boot order keeps changing everytime I boot into Windows (systemd-boot)

But, if you don't boot to windows it remembers to boot Arch Linux?
What if you use the uEFI to boot a DVD or a USB device?  What if you set another entry to boot Arch with a slightly different command line?  Does the order change if you try these?

If not, and only booting to Windows causes the issue, then your Windows installation is screwing with you.
Of course my next suggestion might not be practical if you really need Windows wink


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#8 2022-07-23 15:43:22

rbrayner
Member
Registered: 2020-10-01
Posts: 7

Re: Boot order keeps changing everytime I boot into Windows (systemd-boot)

Its fixed, I don't know what fixed it, but its working properly now.
I didn't do anything besides reboot, and I had already rebooted before so I guess I just needed to update something.

Offline

Board footer

Powered by FluxBB