reboot-into-grub
provide a simple selection cli to reboot into your desired grub entry directly, without having to manually reboot and select the entry from grub menu.
Installation:
- Edit the
/etc/default/grub
file and replaceGRUB_DEFAULT=0
withGRUB_DEFAULT=saved
> sudo update-grub
> git clone https://github.com/jkmpariab/reboot-into-grub.git
> cd reboot-into-grub/
> ./reboot-into-grub
> reboot-into-grub
Choose the entry to reboot into:
0. Ubuntu
1. Advanced options for Ubuntu
2. Windows Boot Manager (on /dev/sda1)
3. UEFI Firmware Settings
*. press ctrl-c to terminate the process!
input: 0
rebooting into "Ubuntu"...