[Top][All Lists]

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

Re: [PATCH] grub-install for EFI

From: Robert Millan
Subject: Re: [PATCH] grub-install for EFI
Date: Sun, 20 May 2007 09:19:58 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

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 address@hidden  Note: this address is only intended
for spam harvesters.  Writing to it will get you added to my black list.

reply via email to

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