Score:1

Help me to delete Windows Boot Manager from grub

in flag

I had an Ubuntu/Windows 10 dual boot. I deleted Windows 10, but in the grub menu it still shows the Windows Boot Manager. Can someone help me remove this option and login to Ubuntu directly?

Score:0
dj flag

step 0: ensure you have valid, tested backups of anything you care about

  1. Rename /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi to /boot/efi/EFI/Microsoft/Boot/bootmgfw
  2. Remove any Windows entries using efibootmgr. Directions are here https://www.linuxbabe.com/command-line/how-to-use-linux-efibootmgr-examples
  3. do a sudo update-grub
  4. reboot
Score:0
gb flag

You could also try this

  1. edit /etc/default/grub with sudo
  2. set grub_default to number corresponding to ubuntu line entry in grub
  3. reduce grub_timeout to 0

Save the file and update grub sudo update-grub This would make booting straight into ubuntu. Anytime you want to revert just increase grub_timeout > 0 and you will be able to select boot option in grub.

be flag
Considering the OP has already erased Windows files, Bill's suggestion sounds better.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.