В Tue, 26 Nov 2013 18:58:47 +0100
Fabio Fantoni <fabio.fant...@m2r.biz> пишет:

> 
> I have also another question:
> Is possible specify multiple path where search the grub.cfg for support 
> all mainly distributions and add a custom cfg path support taking it 
> from arguments?
> 

You can do something like

if search --set root --file /boot/grub2/grub.cfg ; then
  configfile /boot/grub2/grub.cfg
elif search --set root --file /boot/grub/grub.cfg ; then
  configfile /boot/grub/grub.cfg
elif ...
  ...
fi

If xen provides way to pass arguments to kernel, it sure could be
implemented as arguments to grub. Actually someone asked for a way to
pass arguments to grub on EFI, so this could share implementation.

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to