Unknown Windows 10 option in GRUB menu

I have Ubuntu Server 20.04.3 LTS with KDE installed on an old PC with 2 SSDs: 1x128GB (with / and swap partitions on it) + 1x256GB exFat formated.

At some point I had Windows 7 installed on the 128GBSSD but I decided to go for Ubuntu so I cleaned up both drives using GParted.

First time I booted into the system, after installation, I noticed the Windows 10 GRUB option. I installed Grub Customizer and removed it and the second time I rebooted the system it was gone.

enter image description here

After another reboot it was back again so I decided to remove it again just that this time there was no Windows 10 option available.

enter image description here

I'm not even sure how that option got there since there was no Windows 10 installed on this PC. My guess is that this happened because I installed the OS from a USB drive that had other distros on it, along side Windows 10 and some diagnostic tools (USB created with YUMI), especially since it says that Windows installation is on /sdg1.

Any ideas on how to remove this? I can't seem to find the Windows 10 entry anywhere.


I removed Windows from a dual boot setup and I also had this lingering Windows entry in the grub menu.

What finally worked to get rid of it was either one of these two things, or the combination of them:

  1. going into /boot/efi/EFI/Microsoft/Boot and renaming bootmgfw.efi to just bootmgfw
  2. using efibootmgr to remove the Windows entry

I did them on the same pass, so I don't know specifically what worked, but after this and running sudo update-grub Windows was gone forever from the menu.