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 <blinux-list@xxxxxxxxxx>:
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
_______________________________________________
Blinux-list mailing list
Blinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/blinux-list
_______________________________________________
Blinux-list mailing list
Blinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/blinux-list