Howdy,
you can do this by parsing the /boot/grub/grub.cfg (what contains the
order and entrys).
this is done with awk for example (needs root):
awk -F\' '/menuentry / {print $2}' /boot/grub/grub.cfg
cheers chrys
Zitat von Linux for blind general discussion :
Hi!
Hi!
Is there a command for getting the the order of the grub menu?
I have debian as the first item as i just can press enter on that one when the
grub beep comes.
But i also have Vinux on my machine and i really don’t know where in the menu
it is.
Any help is appreciated.
/A