From: Hollis Blanchard Subject: Re: [RFC] Bootloader configuration Date: Wed, 1 Mar 2006 17:10:58 -0600 Message-ID: <200603011710.59469.hollisb@us.ibm.com> References: <20060227164703.GA7855@totally.trollied.org> <20060228203155.GD8586@tyer.cl.cam.ac.uk> <20060228204016.GA28693@totally.trollied.org> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20060228204016.GA28693@totally.trollied.org> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com Cc: Tim Deegan , John Levon List-Id: xen-devel@lists.xenproject.org On Tuesday 28 February 2006 14:40, John Levon wrote: > On Tue, Feb 28, 2006 at 08:31:55PM +0000, Tim Deegan wrote: > > > A grub port (or similar) seems like the most useful thing. > > Right. AFAIK nobody is working on this right now. GRUB already implements its own read-only filesystem drivers for a variety of filesystems. It sounds like your "readfs" would be duplicating this work. > > The less dom0 has to understand about domU's kernel/fs peculiarities, > > and the less fs, config and loader code that needs to be rewritten > > just for Xen, the better. I suppose it would also be nice not to need dom0 access to modify a domU's kernel. GRUB2 is conveniently very modular. You implement a block driver (Open Firmware and BIOS drivers are already implemented), and then the filesystem drivers "just work." You would want to write a small "blkfront" driver and see exactly how little code you can get away with. I am a GRUB2 developer and would be happy to help if you have questions. -- Hollis Blanchard IBM Linux Technology Center