Windows Boot Manager will be forcibly started on the manufacturer's PC that adopts UEFI. I will show you how to forcibly hide Windows Boot Manager from UEFI menu to fix it
Linux
If efibootmgr is not included
# apt install efibootmgr
# yum install efibootmgr
# pacman -S efibootmgr
# efibootmgr
BootCurrent: 0004
Timeout: 0 seconds
BootOrder: 0003,3003,0004,2001,2002,2004,0002
Boot0002* Notebook Hard Drive - WDC PC SN520 SDAPNUW-256G-1006
Boot0003* Windows Boot Manager
Boot0004* ubuntu
Boot2001* EFI USB Device
Boot3003* Internal Hard Disk or Solid State Disk
If this is left as it is, Windows will start.
# efibootmgr --inactive --bootnum 'Entry number'
Now, if Windows Boot Manager disappears from the UEFI Boot device or UEFI Boot manager, it's successful. This method is less risky because you don't have to mess with the efi partition.
# efibootmgr --active --bootnum 'Entry number'
Using grub-customizer etc.
/EFI_ROOT/Microsoft/Boot/bootmgfw.efi
Let's chainload
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
Let's add this to /boot/grub/grub.cfg Then you will be able to boot windows from grub
# ls -al /boot/efi/EFI
https://kledgeb.blogspot.com/2015/11/efibootmgr-3.html
Thank you for reading
Recommended Posts