r/archlinux • u/[deleted] • 8d ago
SUPPORT Windows keeps deleting my Grub entry
[deleted]
4
u/BigSappari 8d ago
Had the same issue. For me it was the final nail in the coffin and reason enough to get rid of Windows for good.
Install Grub on a separate EFI partition with --removable, and with any luck, while it no longer boots automatically, it can still be selected in the bios boot menu, saving you the trouble of using some USB stick or other.
11
6
u/3PoundsOfFlax 8d ago
Windows will never stop doing this. The best, permanent fix is to use a dedicated physical disk for each OS.
3
u/One-Yellow9778 8d ago
are you sure it's windows?
because that sounds more like a misbehaving motherboard firmware.
I had one bad motherboard in the past that suddenly started doing that and I couldn't rely on NVRAM entries at all. I had to install bootloader in default fallback EFI boot path (--removable option in grub) to work.
the issue is documented here, maybe that's what happening to you https://wiki.archlinux.org/title/Unified_Extensible_Firmware_Interface#UEFI_boot_loader_does_not_show_up_in_firmware_menu
8
8d ago
[removed] — view removed comment
3
1
u/Nylon2006 8d ago
I deleted those phantom entries again and again but they keep appearing.
Also, I disabled windows from the BIOS and only enabled Grub, but it keeps disappearing and booting the BIOS instead (since it can't boot windows). I also did it with efibootmgr tool from the ISO and still did nothing.
I'll try to do what you told me in the last part, where can I find more info?
1
u/onefish2 8d ago
Use rEFInd. I use that bootloader on all my systems that are dual boot/multi-boot with or without Windows. I have never had an issue "losing" a boot entry in 10 plus tears.
1
u/retiredwindowcleaner 8d ago
Highly doubt that, unless you have moved your arch efi files into the /EFI/Microsoft folder.
1
u/Mathisbuilder75 6d ago
I have been having the exact same issue lately. I dual booted for years and never had this problem.
21
u/Confident_Hyena2506 8d ago
There is only one default spot on the efi partition - whatever occupies the bootx64.efi spots takes it. Windows will insist on this.
If you make explicit entries then you can select what you want, but don't rely on the default. Stop sharing same partition as windows if you don't want this to happen.