How to remove Windows from the Grub bootloader.
After we have removed Windows from our dual-boot system and only want to use Linux, the entry still appears in the Grub menu at system startup.
An update is possible with the following command:
sudo update-grub
However, it still finds a Windows Boot Manager here.
Found Windows Boot Manager on /dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi
As a result, the entry remains. The solution is to remove the boot loader by first mounting the EFI partition:
sudo mkdir /mnt/efi sudo mount /dev/sda1 /mnt/efi
In most cases, “sda1” is the correct data carrier, otherwise adjust.
With the following command we can display the content:
sudo ls /mnt/efi/EFI/
We remove the entry with the following command
sudo rm -r /mnt/efi/EFI/Microsoft
Now we execute the update command again:
sudo update-grub
That’s it! The entry should now be removed. If only Linux is installed, it will now start automatically without waiting.