Need help removing Windows Boot Manager from bootmgr

My Acer keeps deleting my EOS boot due to phantom Windows bootmgr and it’s been a royal pia. Windows is deleted, the fat32 efi bootmgr partition has been deleted as well. Yet, it stays in my bootmgr list. Is there a way to nuke both Windows items off my bootmgr so this doesn’t keep knocking me into blue screen?

Thank you!

[admin@A515-54 ~]$ sudo parted -l

Model:  USB  SanDisk 3.2Gen1 (scsi)
Disk /dev/sda: 30.8GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type     File system  Flags
 1      1049kB  13.1GB  13.1GB  primary  ext4
 2      13.1GB  30.8GB  17.7GB  primary


Model: WDC PC SN520 SDAPNUW-512G-1014 (nvme)
Disk /dev/nvme0n1: 512GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: 

Number  Start  End    Size    File system  Name           Flags
 4      162GB  254GB  91.9GB  ext4         EOS Plasma
 6      254GB  286GB  32.0GB  ext4         Mint Cinnamon  msftdata
 7      319GB  341GB  21.8GB  ext4         Mint XFCE      msftdata
 9      422GB  423GB  1049MB  fat32                       boot, esp
 3      423GB  512GB  89.3GB  exfat              Storage        msftdata


[admin@A515-54 ~]$ efibootmgr -v
BootCurrent: 0004
Timeout: 0 seconds
BootOrder: 0004,2001,0001,0002,0000,2002,2003
Boot0000* Windows Boot Manager  HD(1,GPT,643dbb4f-27db-420a-9e93-70fd0403fa14,0x800,0x32000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)RC
      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 4f bb 3d 64 db 27 0a 42 9e 93 70 fd 04 03 fa 14 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: 52 43
Boot0001* ubuntu        HD(1,GPT,643dbb4f-27db-420a-9e93-70fd0403fa14,0x800,0x32000)/File(\EFI\ubuntu\shimx64.efi) File(.䍒)
      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 4f bb 3d 64 db 27 0a 42 9e 93 70 fd 04 03 fa 14 02 02 / 04 04 34 00 5c 00 45 00 46 00 49 00 5c 00 75 00 62 00 75 00 6e 00 74 00 75 00 5c 00 73 00 68 00 69 00 6d 00 78 00 36 00 34 00 2e 00 65 00 66 00 69 00 00 00 / 7f ff 04 00
    data: 52 43
Boot0002* Windows Boot Manager  HD(9,GPT,ff347e10-282a-bd40-8b5e-74477f6aac16,0x311a09e1,0x1f4000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)RC
      dp: 04 01 2a 00 09 00 00 00 e1 09 1a 31 00 00 00 00 00 40 1f 00 00 00 00 00 10 7e 34 ff 2a 28 40 bd 8b 5e 74 47 7f 6a ac 16 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: 52 43
Boot0004* Linux Boot Manager    HD(9,GPT,ff347e10-282a-bd40-8b5e-74477f6aac16,0x311a09e1,0x1f4000)/File(\EFI\systemd\systemd-bootx64.efi)
      dp: 04 01 2a 00 09 00 00 00 e1 09 1a 31 00 00 00 00 00 40 1f 00 00 00 00 00 10 7e 34 ff 2a 28 40 bd 8b 5e 74 47 7f 6a ac 16 02 02 / 04 04 46 00 5c 00 45 00 46 00 49 00 5c 00 73 00 79 00 73 00 74 00 65 00 6d 00 64 00 5c 00 73 00 79 00 73 00 74 00 65 00 6d 00 64 00 2d 00 62 00 6f 00 6f 00 74 00 78 00 36 00 34 00 2e 00 65 00 66 00 69 00 00 00 / 7f ff 04 00
Boot2001* EFI USB Device        RC
      dp: 7f ff 04 00
    data: 52 43
Boot2002* EFI DVD/CDROM RC
      dp: 7f ff 04 00
    data: 52 43
Boot2003* EFI Network   RC
      dp: 7f ff 04 00
    data: 52 43

You can use sudo efibootmgr -b <bootnum> -B to delete a specific boot entry.

For example sudo efibootmgr -b 0002 -B to delete windows boot manager entry 2

2 Likes

Thank you so much BendTheKnee!

How would I be able to switch the boot order from ubuntu being first, to Linux Boot Manager? Every time I do this in BIOS it seems to switch the order around after rebooting.

1 Like

sudo efibootmgr -o (your preferred boot order seperated by commas)

for example: sudo efibootmgr -o 0010,0000,0011,0012,0013

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.