On Sat, May 19, 2007 at 07:21:24PM +0200, Yoshinori K. Okuji wrote: > 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.
You mean the first one? Note that in the current version (i.e. no arguments), --root-directory still works, so it's still possible to override this path. > > 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. I'll have a look later.. -- Robert Millan My spam trap is [EMAIL PROTECTED] Note: this address is only intended for spam harvesters. Writing to it will get you added to my black list. _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel