On Sunday 23 October 2005 11:38 pm, Paul Bolle wrote:
> No. The problem was that I had installed the GRUB files not in the
> default directory (but in /boot/grub2) while grub-mkimage will not
> change the grub_prefix variable found in the kernel.img.
>
> This might suggest to add an option to grub-mkimage (say:
> "--runtime-dir") to overrule the grub_prefix variable set in the image.
> (This option would  then sort of correspond with the "--directory"
> option of grub-setup.) Not that important, though ...

I'd say, this is against the philosophy of GRUB: everything should be dynamic 
at run time. So the best way is to make it possible to pass an optional 
argument which specifies a prefix to GRUB. For example:

kernel /boot/grub2/core.img prefix=(hd0,2)/boot/grub2

Okuji


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

Reply via email to