Skip to content

Instantly share code, notes, and snippets.

@erm3nda
Last active August 6, 2020 07:35
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 erm3nda/c91a92e7e87614735344ab2e68e26985 to your computer and use it in GitHub Desktop.
Save erm3nda/c91a92e7e87614735344ab2e68e26985 to your computer and use it in GitHub Desktop.
Reboot Linux and start custom entry from GRUB menu one-time
#!/bin/bash
# read your current table running `efibootmgr`
# set index 0001 as next_entry, check yours
efibootmgr -n 0001
reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment