Windows bootloader loads evertime instead of Grub

BootCurrent: 0003
Timeout: 0 seconds
BootOrder: 0003,0001
Boot0001* Windows Boot Manager  HD(1,GPT,78ddc363-f03a-40c3-928a-1e5fd7f30075,0x800,0x32000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)57494e444f5753000100000088000000780000004200430044004f0042004a004500430054003d007b00390064006500610038003600320063002d0035006300640064002d0034006500370030002d0061006300630031002d006600330032006200330034003400640034003700390035007d00000061000100000010000000040000007fff0400
      dp: 04 01 2a 00 01 00 00 00 00 08 00 00 00 00 00 00 00 20 03 00 00 00 00 00 63 c3 dd 78 3a f0 c3 40 92 8a 1e 5f d7 f3 00 75 02 02 / 04 04 46 00 5c 00 45 00 46 00 49 00 5c 00 4d 00 69 00 63 00 72 00 6f 00 73 00 6f 00 66 00 74 00 5c 00 42 00 6f 00 6f 00 74 00 5c 00 62 00 6f 00 6f 00 74 00 6d 00 67 00 66 00 77 00 2e 00 65 00 66 00 69 00 00 00 / 7f ff 04 00
    data: 57 49 4e 44 4f 57 53 00 01 00 00 00 88 00 00 00 78 00 00 00 42 00 43 00 44 00 4f 00 42 00 4a 00 45 00 43 00 54 00 3d 00 7b 00 39 00 64 00 65 00 61 00 38 00 36 00 32 00 63 00 2d 00 35 00 63 00 64 00 64 00 2d 00 34 00 65 00 37 00 30 00 2d 00 61 00 63 00 63 00 31 00 2d 00 66 00 33 00 32 00 62 00 33 00 34 00 34 00 64 00 34 00 37 00 39 00 35 00 7d 00 00 00 61 00 01 00 00 00 10 00 00 00 04 00 00 00 7f ff 04 00
Boot0003* Grub  HD(1,GPT,78ddc363-f03a-40c3-928a-1e5fd7f30075,0x800,0x32000)/File(\EFI\endeavouros\grubx64.efi)
      dp: 04 01 2a 00 01 00 00 00 00 08 00 00 00 00 00 00 00 20 03 00 00 00 00 00 63 c3 dd 78 3a f0 c3 40 92 8a 1e 5f d7 f3 00 75 02 02 / 04 04 3e 00 5c 00 45 00 46 00 49 00 5c 00 65 00 6e 00 64 00 65 00 61 00 76 00 6f 00 75 00 72 00 6f 00 73 00 5c 00 67 00 72 00 75 00 62 00 78 00 36 00 34 00 2e 00 65 00 66 00 69 00 00 00 / 7f ff 04 00
/boot/efi:
'$RECYCLE.BIN'   EFI  'System Volume Information'

'/boot/efi/$RECYCLE.BIN':
'$I9OBSXV'  '$R9OBSXV'   desktop.ini

'/boot/efi/$RECYCLE.BIN/$R9OBSXV':
ACPI            configmbp.plist      doc            drivers64      misc  themes
CLOVERIA32.efi  config.plist         drivers32      drivers64UEFI  OEM   tools
CLOVERX64.efi   config-sample.plist  drivers32UEFI  kexts          ROM

'/boot/efi/$RECYCLE.BIN/$R9OBSXV/ACPI':
origin  patched  WINDOWS

'/boot/efi/$RECYCLE.BIN/$R9OBSXV/ACPI/origin':

'/boot/efi/$RECYCLE.BIN/$R9OBSXV/ACPI/patched':

'/boot/efi/$RECYCLE.BIN/$R9OBSXV/ACPI/WINDOWS':

'/boot/efi/$RECYCLE.BIN/$R9OBSXV/doc':
 bcfg.txt              config.plist-FullSample   HowToInstallOSX.txt  'UEFI boot with Clover.rtf'
 boot1f32-install.sh   HowToFixDsdt.txt          Installation.txt

'/boot/efi/$RECYCLE.BIN/$R9OBSXV/doc/config.plist-FullSample':
ACPI.png  DisableDrivers.png  GUI.png                   PCI.png          SMBIOS.png
CPU.png   Graphics.png        KernelAndKextPatches.png  RtVariables.png  SystemParameters.png

'/boot/efi/$RECYCLE.BIN/$R9OBSXV/drivers32':
FSInject-32.efi        Ps2MouseDxe-32.efi  VBoxExt2-32.efi  XhciDxe-32.efi
Ps2KeyboardDxe-32.efi  UsbMouseDxe-32.efi  VBoxExt4-32.efi

'/boot/efi/$RECYCLE.BIN/$R9OBSXV/drivers32UEFI':
FSInject-32.efi  OsxFatBinaryDrv-32.efi  VBoxHfs-32.efi

'/boot/efi/$RECYCLE.BIN/$R9OBSXV/drivers64':
FSInject-64.efi  Ps2MouseDxe-64.efi  UsbMouseDxe-64.efi  VBoxExt2-64.efi  VBoxExt4-64.efi  XhciDxe-64.efi

'/boot/efi/$RECYCLE.BIN/$R9OBSXV/drivers64UEFI':
DataHubDxe-64.efi  OsxAptioFixDrv-64.efi   PartitionDxe-64.efi
FSInject-64.efi    OsxFatBinaryDrv-64.efi  VBoxHfs-64.efi

'/boot/efi/$RECYCLE.BIN/$R9OBSXV/kexts':
10.6  10.7  10.8  10.9  Other

'/boot/efi/$RECYCLE.BIN/$R9OBSXV/kexts/10.6':

'/boot/efi/$RECYCLE.BIN/$R9OBSXV/kexts/10.7':

'/boot/efi/$RECYCLE.BIN/$R9OBSXV/kexts/10.8':

'/boot/efi/$RECYCLE.BIN/$R9OBSXV/kexts/10.9':

'/boot/efi/$RECYCLE.BIN/$R9OBSXV/kexts/Other':

'/boot/efi/$RECYCLE.BIN/$R9OBSXV/misc':

'/boot/efi/$RECYCLE.BIN/$R9OBSXV/OEM':
SystemProductName

'/boot/efi/$RECYCLE.BIN/$R9OBSXV/OEM/SystemProductName':
ACPI  config.plist  kexts  ROM  UEFI

'/boot/efi/$RECYCLE.BIN/$R9OBSXV/OEM/SystemProductName/ACPI':
origin  patched

'/boot/efi/$RECYCLE.BIN/$R9OBSXV/OEM/SystemProductName/ACPI/origin':

'/boot/efi/$RECYCLE.BIN/$R9OBSXV/OEM/SystemProductName/ACPI/patched':

'/boot/efi/$RECYCLE.BIN/$R9OBSXV/OEM/SystemProductName/kexts':
10.6  10.7  10.8  Other

'/boot/efi/$RECYCLE.BIN/$R9OBSXV/OEM/SystemProductName/kexts/10.6':

'/boot/efi/$RECYCLE.BIN/$R9OBSXV/OEM/SystemProductName/kexts/10.7':

'/boot/efi/$RECYCLE.BIN/$R9OBSXV/OEM/SystemProductName/kexts/10.8':

'/boot/efi/$RECYCLE.BIN/$R9OBSXV/OEM/SystemProductName/kexts/Other':

'/boot/efi/$RECYCLE.BIN/$R9OBSXV/OEM/SystemProductName/ROM':

'/boot/efi/$RECYCLE.BIN/$R9OBSXV/OEM/SystemProductName/UEFI':
ACPI  config.plist  kexts

'/boot/efi/$RECYCLE.BIN/$R9OBSXV/OEM/SystemProductName/UEFI/ACPI':
origin  patched

'/boot/efi/$RECYCLE.BIN/$R9OBSXV/OEM/SystemProductName/UEFI/ACPI/origin':

'/boot/efi/$RECYCLE.BIN/$R9OBSXV/OEM/SystemProductName/UEFI/ACPI/patched':

'/boot/efi/$RECYCLE.BIN/$R9OBSXV/OEM/SystemProductName/UEFI/kexts':
10.6  10.7  10.8  Other

'/boot/efi/$RECYCLE.BIN/$R9OBSXV/OEM/SystemProductName/UEFI/kexts/10.6':

'/boot/efi/$RECYCLE.BIN/$R9OBSXV/OEM/SystemProductName/UEFI/kexts/10.7':

'/boot/efi/$RECYCLE.BIN/$R9OBSXV/OEM/SystemProductName/UEFI/kexts/10.8':

'/boot/efi/$RECYCLE.BIN/$R9OBSXV/OEM/SystemProductName/UEFI/kexts/Other':

'/boot/efi/$RECYCLE.BIN/$R9OBSXV/ROM':

'/boot/efi/$RECYCLE.BIN/$R9OBSXV/themes':
black_green  logo_main.png   pointer-green.png  Selection_144px.bmp
frame.png    logo_metal.png  pointer-metal.png  Selection_64px.bmp

'/boot/efi/$RECYCLE.BIN/$R9OBSXV/themes/black_green':
bg_block_192px.png  logo.png        scrollbar            theme.plist
icons               logo_trans.png  Selection_big.png    WoB_PTMono_10W_NA.png
logo-org.png        screenshot.png  Selection_small.png

'/boot/efi/$RECYCLE.BIN/$R9OBSXV/themes/black_green/icons':
boot_linux.icns   func_reset.png     os_grub.icns     os_openbsd.icns  pointer.png
boot_win.icns     func_shutdown.png  os_kubuntu.icns  os_redhat.icns   tool_shell.icns
cd.icns           logo.png           os_legacy.icns   os_snow.icns     tool_shell.png
cd_lin.icns       os_arch.icns       os_leo.icns      os_suse.icns     vol_clover.icns
cd_mac.icns       os_clover.icns     os_linux.icns    os_tiger.icns    vol_external.icns
cd_win.icns       os_cougar.icns     os_lion.icns     os_ubuntu.icns   vol_firewire.icns
func_about.png    os_fedora.icns     os_mac.icns      os_unknown.icns  vol_internal.icns
func_clover.png   os_freebsd.icns    os_mav.icns      os_vista.icns    vol_internal_ntfs.icns
func_help.png     os_freedos.icns    os_mint.icns     os_win.icns      vol_optical.icns
func_options.png  os_gentoo.icns     os_netbsd.icns   pointer.icns     vol_recovery.icns

'/boot/efi/$RECYCLE.BIN/$R9OBSXV/themes/black_green/scrollbar':
bar_end.png   bar_start.png    scroll_end.png   scroll_start.png
bar_fill.png  down_button.png  scroll_fill.png  up_button.png

'/boot/efi/$RECYCLE.BIN/$R9OBSXV/tools':
Shell32.efi  Shell64.efi  Shell64U.efi

/boot/efi/EFI:
BOOT  endeavouros  Microsoft

/boot/efi/EFI/BOOT:
bootx64.efi  fbx64.efi  mmx64.efi

/boot/efi/EFI/endeavouros:
grubx64.efi

/boot/efi/EFI/Microsoft:
Boot

/boot/efi/EFI/Microsoft/Boot:
BCD           da-DK  fi-FI  kd_02_10df.dll  kd_02_8086.dll       memtest.efi  ro-RO       winsipolicy.p7b
BCD.LOG       de-DE  Fonts  kd_02_10ec.dll  kd_07_1415.dll       nb-NO        ru-RU       zh-CN
bg-BG         el-GR  fr-CA  kd_02_1137.dll  kd_0C_8086.dll       nl-NL        sk-SK       zh-TW
bootmgfw.efi  en-GB  fr-FR  kd_02_14e4.dll  kdnet_uart16550.dll  pl-PL        sl-SI
bootmgr.efi   en-US  hr-HR  kd_02_15b3.dll  kdstub.dll           pt-BR        sr-Latn-RS
boot.stl      es-ES  hu-HU  kd_02_1969.dll  ko-KR                pt-PT        sv-SE
CIPolicies    es-MX  it-IT  kd_02_19a2.dll  lt-LT                qps-ploc     tr-TR
cs-CZ         et-EE  ja-JP  kd_02_1af4.dll  lv-LV                Resources    uk-UA

/boot/efi/EFI/Microsoft/Boot/bg-BG:
bootmgfw.efi.mui  bootmgr.efi.mui

/boot/efi/EFI/Microsoft/Boot/CIPolicies:
Active

/boot/efi/EFI/Microsoft/Boot/CIPolicies/Active:
{5DAC656C-21AD-4A02-AB49-649917162E70}.cip  {CDD5CB55-DB68-4D71-AA38-3DF2B6473A52}.cip
{82443e1e-8a39-4b4a-96a8-f40ddc00b9f3}.cip

/boot/efi/EFI/Microsoft/Boot/cs-CZ:
bootmgfw.efi.mui  bootmgr.efi.mui  memtest.efi.mui

/boot/efi/EFI/Microsoft/Boot/da-DK:
bootmgfw.efi.mui  bootmgr.efi.mui  memtest.efi.mui

/boot/efi/EFI/Microsoft/Boot/de-DE:
bootmgfw.efi.mui  bootmgr.efi.mui  memtest.efi.mui

/boot/efi/EFI/Microsoft/Boot/el-GR:
bootmgfw.efi.mui  bootmgr.efi.mui  memtest.efi.mui

/boot/efi/EFI/Microsoft/Boot/en-GB:
bootmgfw.efi.mui  bootmgr.efi.mui

/boot/efi/EFI/Microsoft/Boot/en-US:
bootmgfw.efi.mui  bootmgr.efi.mui  memtest.efi.mui

/boot/efi/EFI/Microsoft/Boot/es-ES:
bootmgfw.efi.mui  bootmgr.efi.mui  memtest.efi.mui

/boot/efi/EFI/Microsoft/Boot/es-MX:
bootmgfw.efi.mui  bootmgr.efi.mui

/boot/efi/EFI/Microsoft/Boot/et-EE:
bootmgfw.efi.mui  bootmgr.efi.mui

/boot/efi/EFI/Microsoft/Boot/fi-FI:
bootmgfw.efi.mui  bootmgr.efi.mui  memtest.efi.mui

/boot/efi/EFI/Microsoft/Boot/Fonts:
chs_boot.ttf  kor_boot.ttf      meiryo_boot.ttf   msjhn_boot.ttf  segmono_boot.ttf   wgl4_boot.ttf
cht_boot.ttf  malgun_boot.ttf   meiryon_boot.ttf  msyh_boot.ttf   segoen_slboot.ttf
jpn_boot.ttf  malgunn_boot.ttf  msjh_boot.ttf     msyhn_boot.ttf  segoe_slboot.ttf

/boot/efi/EFI/Microsoft/Boot/fr-CA:
bootmgfw.efi.mui  bootmgr.efi.mui

/boot/efi/EFI/Microsoft/Boot/fr-FR:
bootmgfw.efi.mui  bootmgr.efi.mui  memtest.efi.mui

/boot/efi/EFI/Microsoft/Boot/hr-HR:
bootmgfw.efi.mui  bootmgr.efi.mui

/boot/efi/EFI/Microsoft/Boot/hu-HU:
bootmgfw.efi.mui  bootmgr.efi.mui  memtest.efi.mui

/boot/efi/EFI/Microsoft/Boot/it-IT:
bootmgfw.efi.mui  bootmgr.efi.mui  memtest.efi.mui

/boot/efi/EFI/Microsoft/Boot/ja-JP:
bootmgfw.efi.mui  bootmgr.efi.mui  memtest.efi.mui

/boot/efi/EFI/Microsoft/Boot/ko-KR:
bootmgfw.efi.mui  bootmgr.efi.mui  memtest.efi.mui

/boot/efi/EFI/Microsoft/Boot/lt-LT:
bootmgfw.efi.mui  bootmgr.efi.mui

/boot/efi/EFI/Microsoft/Boot/lv-LV:
bootmgfw.efi.mui  bootmgr.efi.mui

/boot/efi/EFI/Microsoft/Boot/nb-NO:
bootmgfw.efi.mui  bootmgr.efi.mui  memtest.efi.mui

/boot/efi/EFI/Microsoft/Boot/nl-NL:
bootmgfw.efi.mui  bootmgr.efi.mui  memtest.efi.mui

/boot/efi/EFI/Microsoft/Boot/pl-PL:
bootmgfw.efi.mui  bootmgr.efi.mui  memtest.efi.mui

/boot/efi/EFI/Microsoft/Boot/pt-BR:
bootmgfw.efi.mui  bootmgr.efi.mui  memtest.efi.mui

/boot/efi/EFI/Microsoft/Boot/pt-PT:
bootmgfw.efi.mui  bootmgr.efi.mui  memtest.efi.mui

/boot/efi/EFI/Microsoft/Boot/qps-ploc:
memtest.efi.mui

/boot/efi/EFI/Microsoft/Boot/Resources:
bootres.dll  en-US

/boot/efi/EFI/Microsoft/Boot/Resources/en-US:
bootres.dll.mui

/boot/efi/EFI/Microsoft/Boot/ro-RO:
bootmgfw.efi.mui  bootmgr.efi.mui

/boot/efi/EFI/Microsoft/Boot/ru-RU:
bootmgfw.efi.mui  bootmgr.efi.mui  memtest.efi.mui

/boot/efi/EFI/Microsoft/Boot/sk-SK:
bootmgfw.efi.mui  bootmgr.efi.mui

/boot/efi/EFI/Microsoft/Boot/sl-SI:
bootmgfw.efi.mui  bootmgr.efi.mui

/boot/efi/EFI/Microsoft/Boot/sr-Latn-RS:
bootmgfw.efi.mui  bootmgr.efi.mui

/boot/efi/EFI/Microsoft/Boot/sv-SE:
bootmgfw.efi.mui  bootmgr.efi.mui  memtest.efi.mui

/boot/efi/EFI/Microsoft/Boot/tr-TR:
bootmgfw.efi.mui  bootmgr.efi.mui  memtest.efi.mui

/boot/efi/EFI/Microsoft/Boot/uk-UA:
bootmgfw.efi.mui  bootmgr.efi.mui

/boot/efi/EFI/Microsoft/Boot/zh-CN:
bootmgfw.efi.mui  bootmgr.efi.mui  memtest.efi.mui

/boot/efi/EFI/Microsoft/Boot/zh-TW:
bootmgfw.efi.mui  bootmgr.efi.mui  memtest.efi.mui

'/boot/efi/System Volume Information':
WPSettings.dat

Run in terminal:

sudo mv /boot/efi/EFI/BOOT/bootx64.efi /boot/efi/EFI/Microsoft/bootx64.efi
sudo cp /boot/efi/EFI/endeavouros/grubx64.efi /boot/efi/EFI/BOOT/bootx64.efi

Reboot to test, if no errors from the commands.

got nothing so reboot?

2 Likes

didn’t work

Try with shutdown and then boot.
If it still fails, we can try one more thing.

yeah i did that

Then try this:

sudo mv /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi  /boot/efi/EFI/Microsoft/Boot/bootmgfw-orig.efi
sudo cp /boot/efi/EFI/endeavouros/grubx64.efi /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi

Shutdown and boot to test.

got this mv: cannot stat '/boot/efi/EFI/BOOT/bootx64.efi': No such file or directory when doing sudo mv /boot/efi/EFI/BOOT/bootx64.efi /boot/efi/EFI/Microsoft/bootx64.efi

Check existing files:

ls -l /boot/efi/EFI/BOOT/

Post results.

Also

grep -v "^#" /etc/fstab
total 928
-rwxr-xr-x 1 root root  88296 Apr 19 21:46 fbx64.efi
-rwxr-xr-x 1 root root 860824 Apr 19 21:46 mmx64.efi

UUID=014D-110B                            /boot/efi      vfat    defaults,noatime 0 2
UUID=f91e9660-7f21-4eda-be3d-4630e3ae5727 /              ext4    defaults,noatime 0 1
UUID=0510de2a-3eb0-4df1-89d7-21824e06bb9f /home          ext4    defaults,noatime 0 2
UUID=d4d0b914-842f-40b8-a8e2-5945058ad545 swap           swap    defaults   0 0
tmpfs                                     /tmp           tmpfs   defaults,noatime,mode=1777 0 0

Strange… Are you sure there was no typo in your commands?

Anyway, continue:

sudo cp /boot/efi/EFI/endeavouros/grubx64.efi /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
sudo cp /boot/efi/EFI/endeavouros/grubx64.efi /boot/efi/EFI/BOOT/bootx64.efi
ls -l /boot/efi/EFI/BOOT
total 1064
-rwxr-xr-x 1 root root 139264 Apr 20 23:23 bootx64.efi
-rwxr-xr-x 1 root root  88296 Apr 19 21:46 fbx64.efi
-rwxr-xr-x 1 root root 860824 Apr 19 21:46 mmx64.efi

Modify this entry to:

UUID=014D-110B  /boot/efi      vfat    defaults 0 2

Reboot to check the issue.

1 Like

tysm it works

1 Like

bx64.efi is the fallback option if the regular version does not boot for some reason.

mmx64.efi is the program that manages which EUFI keys you have installed.

1 Like

There must be a whole lot more to this story than just and EndeavourOS install with Windows causing it to boot just Windows. :thinking:

1 Like

That’s fine!
You still have to keep your ESP as clean as possible.
There is a Recycle bin created, which is bad, probably from bad usage of gui programs as root. Do not do that.
You should delete the recycle bin and contents, using the terminal.
Read man rm for proper usage.

He said it never worked could not get grub to take over the windows boot loader.

Never seen clover on any ones install of EndeavourOS with those files in grub. :wink:

1 Like

Nope me neither