Is there available on grub2 a command or function that works this way: IN: (hd0,1) OUT: (hd0)
and that also works this way: IN: (hd0,1)/boot/grub/grub2.cfg OUT: (hd0) and also... IN: (hd0,1,c) OUT: (hd0) that we can call hd_from() ? As you might guess I will use this function in conjunction of search command to automatise a grub2 reinstallation. And other similar functions... as isolating the partition part of a given "grub url" or the slice part ? adrian15 _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel