A general comment, not specific your patch: IMO we should make these scripts in grub.d, standalone, i.e., instead of assuming some environment variables (like GRUB_DEVICE), they should accept values through command line arguments, like --root-device=/dev/sda or similar.
Thus, final result should be something like, with appropriate cmdline parameters, 10_linux script should print menu entries for all identified Linux distros, etc. -- bvk.chaitanya _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel