From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1J5l2f-0006HF-Km for mharc-grub-devel@gnu.org; Fri, 21 Dec 2007 11:48:09 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J5l2a-0006Ah-6L for grub-devel@gnu.org; Fri, 21 Dec 2007 11:48:04 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J5l2V-00066J-8p for grub-devel@gnu.org; Fri, 21 Dec 2007 11:48:02 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J5l2V-00065v-2Z for grub-devel@gnu.org; Fri, 21 Dec 2007 11:47:59 -0500 Received: from smtp-vbr2.xs4all.nl ([194.109.24.22]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1J5l2U-00064E-2u for grub-devel@gnu.org; Fri, 21 Dec 2007 11:47:58 -0500 Received: from localhost.localdomain (249-174.surfsnel.dsl.internl.net [145.99.174.249]) by smtp-vbr2.xs4all.nl (8.13.8/8.13.8) with ESMTP id lBLGljJZ063211 for ; Fri, 21 Dec 2007 17:47:46 +0100 (CET) (envelope-from mgerards@xs4all.nl) From: Marco Gerards To: The development of GRUB 2 References: <20071216153046.GA11912@thorin> <87prx5nwd5.fsf@xs4all.nl> <1197915991.2541.3.camel@dv> <20071220173607.GA20508@thorin> Mail-Copies-To: mgerards@xs4all.nl Date: Fri, 21 Dec 2007 17:47:36 +0100 In-Reply-To: <20071220173607.GA20508@thorin> (Robert Millan's message of "Thu, 20 Dec 2007 18:36:07 +0100") Message-ID: <8763ysyoyf.fsf@xs4all.nl> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by XS4ALL Virus Scanner X-detected-kernel: by monty-python.gnu.org: FreeBSD 4.6-4.9 Subject: Re: moving ata initialisation to a command 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: Fri, 21 Dec 2007 16:48:07 -0000 Robert Millan writes: > On Mon, Dec 17, 2007 at 01:26:31PM -0500, Pavel Roskin wrote: >> On Mon, 2007-12-17 at 17:01 +0100, Marco Gerards wrote: >> > A better solution, IMO, would be changing grub-mkrescue so it doesn't >> > load all modules. >> >> Maybe grub-mkrescue should create a filesystem? Even FAT should be >> fine. This way, it will be possible to load problematic modules from >> the filesystem. The only problem would be dependency on filesystem >> making tools. Fortunately, mtools is quite common. > > I'd prefer to support embedding filesystems in core.img instead. This > solves the problem for every situation instead of just PC boot media > (e.g. LinuxBIOS ELF payload image). Agreed, I would like to see such feature. Also for stuff like diskless boot. What I had in mind was the following. We could perhaps make it possible to add all files using grub-mkimage, not only modules. When you add modules, those will be loaded automatically. All other files will be ignored. Another filesystem module has to be written. It scans over these files and will make them available. This can be simple and elegant. I do not like the idea of adding a diskimage or so. Are you interested in working on this? > Anyway, as long as root privileges aren't made necessary, I'm fine with > grub-mkrescue creating a filesystem (one saner than FAT, preferably ;-). Great! Will you do that? :-) -- Marco