From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1EWv5q-0005Mx-78 for mharc-grub-devel@gnu.org; Tue, 01 Nov 2005 07:18:22 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EWv5l-0005LS-H9 for grub-devel@gnu.org; Tue, 01 Nov 2005 07:18:17 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EWv5i-0005Jd-EO for grub-devel@gnu.org; Tue, 01 Nov 2005 07:18:16 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EWv5h-0005JF-NF for grub-devel@gnu.org; Tue, 01 Nov 2005 07:18:14 -0500 Received: from [212.85.152.101] (helo=kotoba.storever.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EWv5h-0002Xr-DP for grub-devel@gnu.org; Tue, 01 Nov 2005 07:18:13 -0500 Received: from ASSP-nospam (localhost [127.0.0.1]) by kotoba.storever.com (Postfix) with ESMTP id 4C5203C7D13AA for ; Tue, 1 Nov 2005 13:21:02 +0100 (CET) Received: from 127.0.0.1 ([127.0.0.1] helo=ip6-localhost) by ASSP-nospam ; 1 Nov 05 12:21:01 -0000 From: "Yoshinori K. Okuji" Organization: enbug.org To: The development of GRUB 2 Date: Tue, 1 Nov 2005 14:17:41 +0200 User-Agent: KMail/1.7.2 References: <31F31018FE2DC941A70BD30477510B0C0659B399@biscm02.cn001.siemens.net> In-Reply-To: <31F31018FE2DC941A70BD30477510B0C0659B399@biscm02.cn001.siemens.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200511011317.43679.okuji@enbug.org> Subject: Re: (no subject) 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: Tue, 01 Nov 2005 12:18:18 -0000 On Tuesday 01 November 2005 08:21 am, Zhao Yu,SCNB R&D NNA(BJ) wrote: > I just begin to read some code in GRUB2, I met a question. > Could you help me out? Sure. > In function > void > grub_rescue_cmd_multiboot (int argc, char *argv[]) > { > ... > if (grub_multiboot_load_elf (file, buffer) != GRUB_ERR_NONE) > goto fail; > ... > } > Do that mean the OS image must be elf format? > Or there are some miunderstand. Please look at the comment in the beginning of that file. Since a.out kludge is not implemented yet, only ELF can be loaded correctly. This is in my TODO list. Okuji