grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] grub-install for EFI


From: Yoshinori K. Okuji
Subject: Re: [PATCH] grub-install for EFI
Date: Sat, 19 May 2007 19:21:24 +0200
User-agent: KMail/1.9.4

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]