URL: <https://savannah.gnu.org/bugs/?64950>
Summary: List grub-reboot MENU_ENTRY options Group: GNU GRUB Submitter: amunra Submitted: Thu 30 Nov 2023 09:50:05 AM UTC Category: User Interface Severity: Major Priority: 5 - Normal Item Group: Feature Request Status: None Privacy: Public Assigned to: None Originator Name: Originator Email: Open/Closed: Open Release: other Release: Discussion Lock: Any Reproducibility: Every Time Planned Release: None _______________________________________________________ Follow-up Comments: ------------------------------------------------------- Date: Thu 30 Nov 2023 09:50:05 AM UTC By: Adam Cimarosti <amunra> I needed to reboot my home machine to a different OS. This was the first time I had to do this remotely. Grub was set up by Ubuntu for me, so I know little about it. I searched online for how to do this and found the *grub-reboot* command. I could not get it to work as I could not work out what the *MENU_ENTRY* parameter should be. I read *grub-reboot --help*, *man grub-reboot* and searched online but I couldn't find a reliable way of listing the entries. Instead I found various cobbled-together shell scripts, but these listed the OS I had to boot into with a different index. There's also a documentation shortcoming here in *man grub-reboot* and *--help* where there's no mention if *MENU_ENTRY* is 0-indexed or 1-indexed. It would be particularly valuable to have either: * A *--list* option to display available *MENU_ENTRY* options. * Pointers in the documentation on how to list these options if this feature is already covered by other tools. This would have saved me from having to travel two hours for a reboot. This usability issue also seems related to bug #56339 where, for maximal difficulty of use, the menu entries themselves are not validated. This linked bug contributed to some of my struggles too. If it helps, this is the version I'm running: $ grub-reboot -V grub-reboot (GRUB) 2.12~rc1-10ubuntu4 _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?64950> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/