On Saturday 19 May 2007 11:43, Robert Millan wrote:
> Ok.  So, what interface we should provide to the user?  I've been told that
> the files shouldn't be in the root of EFI partition, but in a subdirectory
> like /efi/grub.  Should this directory be specified by the user?  We could
> make it something like:
>
>   $ sudo grub-install /something/efi/grub
>   doesn't look like an EFI partition.
>   $ mount /dev/sda1 /something
>   $ sudo grub-install /something/efi/grub
>
> OTOH, making it like:
>
>   $ sudo grub-install "(hd0)"
>   # /efi/grub being implicit here
>
> forces us to mount/umount and opens a can of worms wrt portability.
>
> What do you think?

Not bad. The prefix can be anything. It can be even /boot/grub. On EFI, the 
prefix is dynamically passed to GRUB, so the decision is very flexible.

> Perhaps we should look at the refit source and see how bless-like
> functionality is implemented?

When I looked at it at the last time, the documentation only said that you 
would write it to somewhere, and execute bless on Mac OS X. Things might have 
changed, but I don't know.

Okuji


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

Reply via email to