From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1HpScW-0001wI-In for mharc-grub-devel@gnu.org; Sat, 19 May 2007 13:21:32 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HpScU-0001vY-Gf for grub-devel@gnu.org; Sat, 19 May 2007 13:21:30 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HpScS-0001uf-HM for grub-devel@gnu.org; Sat, 19 May 2007 13:21:30 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HpScS-0001uY-Br for grub-devel@gnu.org; Sat, 19 May 2007 13:21:28 -0400 Received: from [212.85.152.101] (helo=kotoba.storever.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HpScR-0008WE-Uh for grub-devel@gnu.org; Sat, 19 May 2007 13:21:28 -0400 Received: from kotoba.oasis.nexedi.com (kotoba.oasis.nexedi.com [212.85.152.101]) by kotoba.storever.com (Postfix) with ESMTP id C903B3D021D6A for ; Sat, 19 May 2007 23:26:48 +0200 (CEST) Received: from [??1] (localhost [127.0.0.1]) by kotoba.storever.com (Postfix) with ESMTP id 9A1323D015DBF for ; Sat, 19 May 2007 23:26:48 +0200 (CEST) From: "Yoshinori K. Okuji" Organization: enbug.org To: The development of GRUB 2 Date: Sat, 19 May 2007 19:21:24 +0200 User-Agent: KMail/1.9.4 References: <20070511160314.GA30111@aragorn> <200705182027.57391.okuji@enbug.org> <20070519094348.GA19463@aragorn> In-Reply-To: <20070519094348.GA19463@aragorn> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200705191921.24952.okuji@enbug.org> X-Bogosity: No, tests=bogofilter, spamicity=0.000000, version=0.17.2 X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) 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: Sat, 19 May 2007 17:21:30 -0000 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