Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JHJk7-0002D7-5T for mharc-grub-devel@gnu.org; Tue, 22 Jan 2008 09:04:47 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JHJk5-0002A8-38 for grub-devel@gnu.org; Tue, 22 Jan 2008 09:04:45 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JHJk3-00027f-Mx for grub-devel@gnu.org; Tue, 22 Jan 2008 09:04:44 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JHJk3-00027N-CB for grub-devel@gnu.org; Tue, 22 Jan 2008 09:04:43 -0500 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 1JHJk2-0000Vz-Vm for grub-devel@gnu.org; Tue, 22 Jan 2008 09:04:43 -0500 Received: from [192.168.10.6] (helo=thorin) by aybabtu.com with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1JHJjz-0002cg-3q for grub-devel@gnu.org; Tue, 22 Jan 2008 15:04:41 +0100 Received: from rmh by thorin with local (Exim 4.63) (envelope-from ) id 1JHJiF-00034Y-TT for grub-devel@gnu.org; Tue, 22 Jan 2008 15:02:51 +0100 Date: Tue, 22 Jan 2008 15:02:51 +0100 From: Robert Millan To: The development of GRUB 2 Message-ID: <20080122140251.GB11484@thorin> References: <20080121165209.GA2557@thorin> <1200937626.4686.17.camel@dv> <20080121210641.GC15119@thorin> <1200967864.32578.52.camel@dv> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1200967864.32578.52.camel@dv> Organization: free as in freedom X-Message-Flag: Worried about Outlook viruses? Switch to Thunderbird! www.mozilla.com/thunderbird X-Debbugs-No-Ack: true User-Agent: Mutt/1.5.13 (2006-08-11) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: [PATCH] memdisk + grub-mkrescue 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, 22 Jan 2008 14:04:45 -0000 On Mon, Jan 21, 2008 at 09:11:04PM -0500, Pavel Roskin wrote: > > I wish I could use it on PowerPC to work around the "claim failed" > problem, but I'll still need to link "memdisk" and "cpio" with > grub-mkimage. I don't understand. How would this work around the problem? > I have a patch for PowerPC, but I think I'll hold it until your patch is > committed. I could change my patch to be more in-sync with i386, in > particular use /boot/grub as the blessed directory. Cool! Could you send it to the list? I'd like to see if it'll work on i386-elf targets. > > I just added it because we don't seem to have a way to define which modules > > should be autoloaded (other than grub.cfg itself). And I'm afraid not loading > > it by default will confuse users. I don't know how to improve this, but ideas > > are welcome, of course. > > Actually, if biosdisk is a part of the core image, other modules are > preloaded. I don't quite understand the mechanism. Ah. Could be, yes. The mechanism is basicaly that GRUB checks for an *.lst file (I forgot which) which teaches it which dependencies each module has. In core.img build time I don't know, but it's probably the same. -- Robert Millan I know my rights; I want my phone call! What use is a phone call… if you are unable to speak? (as seen on /.)