Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Hpfg1-0004r3-Ju for mharc-grub-devel@gnu.org; Sun, 20 May 2007 03:18:01 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Hpfg0-0004qy-LO for grub-devel@gnu.org; Sun, 20 May 2007 03:18:00 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Hpffz-0004qZ-Ap for grub-devel@gnu.org; Sun, 20 May 2007 03:18:00 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hpffz-0004qW-2l for grub-devel@gnu.org; Sun, 20 May 2007 03:17:59 -0400 Received: from aybabtu.com ([69.60.117.155]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Hpffx-0006Y3-Qv for grub-devel@gnu.org; Sun, 20 May 2007 03:17:58 -0400 Received: from [192.168.10.6] (helo=aragorn) by aybabtu.com with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1Hpffr-000206-M4 for grub-devel@gnu.org; Sun, 20 May 2007 09:17:52 +0200 Received: from rmh by aragorn with local (Exim 4.63) (envelope-from ) id 1Hpfhu-0007b1-Uh for grub-devel@gnu.org; Sun, 20 May 2007 09:19:58 +0200 Date: Sun, 20 May 2007 09:19:58 +0200 From: Robert Millan To: The development of GRUB 2 Message-ID: <20070520071958.GB28837@aragorn> References: <20070511160314.GA30111@aragorn> <200705182027.57391.okuji@enbug.org> <20070519094348.GA19463@aragorn> <200705191921.24952.okuji@enbug.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200705191921.24952.okuji@enbug.org> Organization: free as in freedom X-Message-Flag: Microsoft discourages use of Outlook. X-Debbugs-No-Ack: true User-Agent: Mutt/1.5.13 (2006-08-11) X-detected-kernel: Genre and OS details not recognized. Subject: Re: [PATCH] grub-install for EFI X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 May 2007 07:18:00 -0000 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 honeypot@aybabtu.com. Note: this address is only intended for spam harvesters. Writing to it will get you added to my black list.