Skip to content

Instantly share code, notes, and snippets.

@felipsmartins
Created July 8, 2023 04:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save felipsmartins/b3cf055c4d864eddb2f080e40d3d9f9d to your computer and use it in GitHub Desktop.
Save felipsmartins/b3cf055c4d864eddb2f080e40d3d9f9d to your computer and use it in GitHub Desktop.
delete a boot entry
# example
~ % sudo efibootmgr
BootCurrent: 0009
Timeout: 1 seconds
BootOrder: 0009,0008,000E,0000
Boot0000 Windows Boot Manager
Boot0008 ubuntu
Boot0009* debian
Boot000E UEFI: SanDisk, Partition 1
~ % sudo efibootmgr --delete-bootnum --bootnum 8
BootCurrent: 0009
Timeout: 1 seconds
BootOrder: 0009,000E,0000
Boot0000 Windows Boot Manager
Boot0009* debian
Boot000E UEFI: SanDisk, Partition 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment