From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1J5mEu-0006IC-Lu for mharc-grub-devel@gnu.org; Fri, 21 Dec 2007 13:04:52 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J5mEt-0006I2-35 for grub-devel@gnu.org; Fri, 21 Dec 2007 13:04:51 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J5mEm-0006FH-SL for grub-devel@gnu.org; Fri, 21 Dec 2007 13:04:49 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J5mEm-0006F8-Jk for grub-devel@gnu.org; Fri, 21 Dec 2007 13:04:44 -0500 Received: from [69.60.117.155] (helo=aybabtu.com) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1J5mEl-0004dM-Qg for grub-devel@gnu.org; Fri, 21 Dec 2007 13:04:44 -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 1J5mEV-0007JI-Ff for grub-devel@gnu.org; Fri, 21 Dec 2007 19:04:28 +0100 Received: from rmh by thorin with local (Exim 4.63) (envelope-from ) id 1J5mE9-0003vj-Nm for grub-devel@gnu.org; Fri, 21 Dec 2007 19:04:05 +0100 Date: Fri, 21 Dec 2007 19:04:05 +0100 From: Robert Millan To: The development of GRUB 2 Message-ID: <20071221180405.GA14997@thorin> References: <20071216153046.GA11912@thorin> <87prx5nwd5.fsf@xs4all.nl> <1197915991.2541.3.camel@dv> <20071220173607.GA20508@thorin> <8763ysyoyf.fsf@xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8763ysyoyf.fsf@xs4all.nl> 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: 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 18:04:51 -0000 On Fri, Dec 21, 2007 at 05:47:36PM +0100, Marco Gerards wrote: > 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? Well, I already have an almost-working implementation. I guess I'll have to defend it then! :-P Really, it's clean and elegant. Very simple and flexible. Once I get the address detection right, that is.. > > 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? :-) No, I tried once and it was a mess of things. Besides, when we have embedded filesystem support this won't add any real advantage. -- 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 /.)