Ubuntu: update-grub command is not removing Windows Boot Manager



Question:

I installed Windows 10 in another partition along with Xubuntu, and then I removed it using GParted. Tried to execute sudo update-grub but it's not removing the option to boot from Windows Boot Manager, but adding it again.

Found linux image: /boot/vmlinuz-4.4.0-57-generic  Found initrd image: /boot/initrd.img-4.4.0-57-generic  Found linux image: /boot/vmlinuz-4.4.0-53-generic  Found initrd image: /boot/initrd.img-4.4.0-53-generic  Found linux image: /boot/vmlinuz-4.4.0-51-generic  Found initrd image: /boot/initrd.img-4.4.0-51-generic  Found Windows Boot Manager on /dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi  Adding boot menu entry for EFI firmware configuration  done  

What needs to be done to completely remove it?


Solution:1

Open /etc/default/grub with root and edit it with your editor.

Include the line GRUB_DISABLE_OS_PROBER=true in the file, then save and exit.

Now run sudo update-grub. The issue will be solved.


Solution:2

Found Windows Boot Manager on /dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi

to remove tha and repeat what you did before, then use the command. Edit: what means @ after sda1, that may be the problem


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »