bugGNU GRUB - Bugs: bug #64950, List grub-reboot MENU_ENTRY options

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #64950: List grub-reboot MENU_ENTRY options

Submitter:  Adam Cimarosti <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: 
Open/Closed:  Open Release:  other
Release:  Reproducibility:  Every Time
Planned Release:  None

Thu 30 Nov 2023 09:50:05 AM UTC, original submission:  

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


Adam Cimarosti <amunra>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by amunra (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code