I find that GRUB2's install is more fragile than GRUB1: I've had my disk become unbootable (not even booting into GRUB2) with GRUB2 twice already (still not sure how/why it happened), whereas it never happened with GRUB1. So I think we should aim for GRUB2's install to be something you do once and never touch again. A really nice way to reach this goal is to use GRUB2's advanced scripting functionality, which would allow us to search&list all kernels at boot time, making "update-grub" completely unnecessary. Stefan
GRUB2 scripting is able to do this (see e.g. Super GRUB2 disk) but doing so by default will only slowdown boot process
reopen 554683
thanks
Of course, you can make it go slow by being thorough, but that's not the
only choice. You could also statically specify which disk/partition to
search, so all it needs to do to find the list of kernels is "ls /boot".
My request is to try and make running grup-update unnecessary, and in
many cases grug-update doesn't do much more than "ls /boot".
Admittedly, I don't have os-prober installed, so maybe reproducing the
behavior of os-prober would make it slower, in which case this part
could still be performed during grub-update rather than during boot.
Stefan