Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LlNTo-0006By-GK for mharc-grub-devel@gnu.org; Sun, 22 Mar 2009 09:12:44 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LlNTm-0006BG-Ic for grub-devel@gnu.org; Sun, 22 Mar 2009 09:12:42 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LlNTm-0006Av-2q for grub-devel@gnu.org; Sun, 22 Mar 2009 09:12:42 -0400 Received: from [199.232.76.173] (port=39793 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LlNTl-0006Ao-O0 for grub-devel@gnu.org; Sun, 22 Mar 2009 09:12:41 -0400 Received: from mail.nexedi.com ([91.121.25.85]:54908 helo=nexedi.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LlNTl-00029E-FM for grub-devel@gnu.org; Sun, 22 Mar 2009 09:12:41 -0400 Received: from [10.8.0.46] (unknown [10.8.0.46]) by nexedi.com (Postfix) with ESMTP id 4F4453D9F4 for ; Sun, 22 Mar 2009 14:12:39 +0100 (CET) From: "Yoshinori K. Okuji" Organization: enbug.org To: The development of GRUB 2 Date: Sun, 22 Mar 2009 22:12:33 +0900 User-Agent: KMail/1.9.10 References: <49C63395.9090304@gmail.com> <200903222157.33568.okuji@enbug.org> <49C637DC.4050002@gmail.com> In-Reply-To: <49C637DC.4050002@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903222212.34194.okuji@enbug.org> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: Re: Move loader.c out of the kernel 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, 22 Mar 2009 13:12:42 -0000 On Sunday 22 March 2009 22:06:36 phcoder wrote: > Yoshinori K. Okuji wrote: > > On Sunday 22 March 2009 21:48:21 phcoder wrote: > >> Hello. Now when boot command isn't in kernel anymore I don't see why > >> loader.c stays in kernel. Here is the patch to move it to boot.mod > > > > This is not useful in reality, because the loader interface needs to be > > pre-loaded into core.img anyway. > > Why? I successfully tested core.img with just pc fat and biosdisk > modules integrated. It loads boot.mod just fine and boots linux and > multiboot with no problem Try the rescue mode with no extra module loaded. If the core.img does not have any loader, it is useless. Okuji > > > Note that the more you split code into > > > > modules, the more the size of core.img is, as long as they are all > > pre-loaded. > > > > Regards, > > Okuji > > > > > > _______________________________________________ > > Grub-devel mailing list > > Grub-devel@gnu.org > > http://lists.gnu.org/mailman/listinfo/grub-devel