26 Mar
2015
26 Mar
'15
16:03
I do not know, last time this came up the answer was no. And such tool, to be complete, has to handle also the "source" command.
Easy to do if not generic - sufficient for the case of sources only in grub.cfg & custom.cfg grep "^menuentry" /boot/grub2/grub.cfg /boot/grub2/custom.cfg | cut -d "'" -f2 > /tmp/grubentries.txt nl -nln -v0 /tmp/grubentries.txt 0 openSUSE 1 openSUSE GNU/Linux, with Xen hypervisor 2 title kernel-default test 3 title kernel-xen test A more generic "grub2-list-menuentries" would be nice. LT -- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-virtual+owner@opensuse.org