Linux: Updating Boot Menu

In a multi-step process, over time of course, I decided to not only dual-boot Ubuntu and Debian on my laptop, but also to remove Windows outright. My laptop is not the greatest and I understand that, however Windows was absolutely destroying this computer. Within minutes of turning on Windows, the fans went on and if they ever shut off it was only temporary then, with Ubuntu, I realized that the fans were no longer kicking on. Oh and an extra bonus, the screen stopped flickering… I bought the laptop under the impression that the screen may flicker and, come to find out, it was due to Windows not just a manufacturer defect.
Now that the stage has been set, why the need to get involved with the Boot Menu? After partitioning the hard-drive and removing Windows, it was still appearing in the Debian boot menu. Here is what I did…
Delete the entry from the BIOS… not yet solved 😥
Manually remove the EFI boot entry (on both Ubuntu and Debian to make sure)… not yet solved 😥
Run
efibootmgr
to list boot entries and their numbersLocate the entry for Windows (note the number)
Run
sudo efibootmgr -b <entryNumber>
to delete the entry
Delete EFI directory (i.e., the Microsoft folder) from
/boot/efi/EFI
… not yet solved 😥Run
sudo update-grub
to update the GRUB configuration… solved 😃
Windows has finally been removed, in its entirety, from my laptop! 🎉
Subscribe to my newsletter
Read articles from Mike Files directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by
