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: Robert Millan
Subject: Re: [PATCH] grub-install for EFI
Date: Sat, 19 May 2007 11:43:48 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

On Fri, May 18, 2007 at 08:27:57PM +0200, Yoshinori K. Okuji wrote:
> On Friday 18 May 2007 08:37, Robert Millan wrote:
> > > Providing a rudimentary tool rather harms the user.
> >
> > What do you mean?  It's almost the same that the powerpc version does.
> 
> The powerpc version is not a good reference. From my point of view, it is far 
> from user-friendly. When the user invokes grub-install, she expects that she 
> can "install" GRUB, as the name stands for.
> 
> The best reference in GRUB is still the i386-pc version. The others should 
> follow it as much as possible.

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?

> > > http://www.hmug.org/man/8/bless.php
> >
> > I see.. but user still can boot grub.efi manualy via EFI shell, right?
> 
> If an EFI shell is available, yes. On Intel Mac, the shell is not available 
> by 
> default, because of the graphics mode. For now, the only way to boot GRUB is 
> to start Mac OS X and bless a boot image, or use a small program to switch to 
> text mode and boot GRUB from a shell.

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

-- 
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]