Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1G7EZb-0007La-9c for mharc-grub-devel@gnu.org; Sun, 30 Jul 2006 12:55:27 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1G7EZZ-0007JQ-4j for grub-devel@gnu.org; Sun, 30 Jul 2006 12:55:25 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1G7EZX-0007Hf-Lb for grub-devel@gnu.org; Sun, 30 Jul 2006 12:55:24 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G7EZX-0007HW-FQ for grub-devel@gnu.org; Sun, 30 Jul 2006 12:55:23 -0400 Received: from [212.85.152.101] (helo=kotoba.storever.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1G7Ec0-0004sa-TY for grub-devel@gnu.org; Sun, 30 Jul 2006 12:57:57 -0400 Received: from kotoba.oasis.nexedi.com (kotoba.oasis.nexedi.com [212.85.152.101]) by kotoba.storever.com (Postfix) with ESMTP id 8B33F3CA8CF40 for ; Sun, 30 Jul 2006 20:56:04 +0200 (CEST) Received: from [??1] (localhost [127.0.0.1]) by kotoba.storever.com (Postfix) with ESMTP id 2A70B3CA8CF1F for ; Sun, 30 Jul 2006 20:56:04 +0200 (CEST) From: "Yoshinori K. Okuji" Organization: enbug.org To: The development of GRUB 2 Date: Sun, 30 Jul 2006 18:55:21 +0200 User-Agent: KMail/1.8.2 References: <20060730151220.GB12425@titanium.v3.ca> In-Reply-To: <20060730151220.GB12425@titanium.v3.ca> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200607301855.21200.okuji@enbug.org> X-Bogosity: No, tests=bogofilter, spamicity=0.460502, version=0.17.2 Subject: Re: Which utilities 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, 30 Jul 2006 16:55:25 -0000 On Sunday 30 July 2006 17:12, Jeff Bailey wrote: > Hi! I'm trying to decide which utilities to build for hppa-ipl. Is > there a good place to find documentation on all of: > > grub-mkimage, grub-setup, grub-emu, grub-mkdevicemap, grub-probefs > > Most of these don't even have comments at the top of the .c file saying > what they're for. =) Asking documentation is a kind of joke at the moment. In principle, what you need are what you expect the user wants to use. The most important utility is grub-install. grub-emu is not obligatory, because it is meant only for developers. Other tools are usually helpers for grub-install. I describe the tools on i386-pc here: grub-install - installs GRUB grub-mkimage - creates a core image file, called from grub-install grub-setup - sets up GRUB to be booted by embedding it into a boot sector grub-mkdevicemap - creates a device map automatically grub-probefs - guesses what filesystem module should be included in a core image On i386-efi, grub-install does not exist. This is because I haven't reverse-engineered "bless" yet. So only grub-setup is implemented, and the user needs to install GRUB "manually". On powerpc-ieee1275, only grub-mkimage is required for grub-install, because grub-install uses some other utilities developed by external projects. But Hollis should know better than me about this. Okuji