[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #39306] Contrib: grub-list-kernels.pl script
From: |
Craig Sanders |
Subject: |
[bug #39306] Contrib: grub-list-kernels.pl script |
Date: |
Fri, 21 Jun 2013 23:27:06 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130515 Firefox/17.0 Iceweasel/17.0.6 |
Follow-up Comment #9, bug #39306 (project grub):
OK, then tell me how else I can get a list of menuentries without having to
reboot.
Without such a list, grub-set-default and grub-reboot are effectively
useless.
I wrote my script because I had a need for it, and there was nothing else to
do the job. It's a useful tool that I would have expected should come with
grub (and the absence of such a tool *IS* a bug), but it doesn't so I had to
write my own.
Various versions of it have served me well for well over 10 years, starting
with a version I wrote for legacy grub to extract the info from
/boot/grub/menu.lst not long after i switched from LILO to grub in the late
90s.
It might be possible to run a loop as you describe in grub.cfg itself, but I
have never seen it on any of hundreds of systems over the years - I don't
think anyone actually uses that feature.
certainly not me, or any of the linux distros I use...all menu entries I've
ever seen in grub.cfg (and earlier in menu.lst) are generated as static
entries by update-grub/grub-mkconfig (sort of like at "compile-time" rather
than run-time)
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?39306>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [bug #39306] Contrib: grub-list-kernels.pl script, Craig Sanders, 2013/06/20
- [bug #39306] Contrib: grub-list-kernels.pl script, Vladimir Serbinenko, 2013/06/20
- [bug #39306] Contrib: grub-list-kernels.pl script, Craig Sanders, 2013/06/20
- [bug #39306] Contrib: grub-list-kernels.pl script, Vladimir Serbinenko, 2013/06/20
- [bug #39306] Contrib: grub-list-kernels.pl script, Craig Sanders, 2013/06/20
- [bug #39306] Contrib: grub-list-kernels.pl script, Vladimir Serbinenko, 2013/06/20
- [bug #39306] Contrib: grub-list-kernels.pl script, Craig Sanders, 2013/06/20
- [bug #39306] Contrib: grub-list-kernels.pl script, Craig Sanders, 2013/06/20
- [bug #39306] Contrib: grub-list-kernels.pl script, Vladimir Serbinenko, 2013/06/20
- [bug #39306] Contrib: grub-list-kernels.pl script,
Craig Sanders <=