From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jacob Gorm Hansen Subject: Re: RE: [PATCH] Xen Grub-style boot loader Date: Thu, 03 Feb 2005 15:30:48 -0800 Message-ID: <4202B428.9060100@diku.dk> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit In-Reply-To: Sender: xen-devel-admin@lists.sourceforge.net Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Ian Pratt Cc: Anthony Liguori , =?ISO-8859-1?Q?Jan_Kundr=E1t?= , Jeremy Katz , Andy Whitcroft , xen-devel@lists.sourceforge.net List-Id: xen-devel@lists.xenproject.org Ian Pratt wrote: >>It's a simple grub style ncurses application. This is my >>ncurses app so >>it's probably even easier than what I did. It parses a >>grub.conf file >>and let's a user pick an entry. > > > I think to be useful this would need to run within the guest domain such that the grub menu appeared over the guest console connection. We'd have to use something akin to a real bootloader (but 32bit) to pull in the image and jump at it. Using linux with a suitable initrd and kexec might be a good soloution. > > I'm not sure that the interactive selection of kernels is the #1 requirement here -- I think its more about being able to read the kernel from the domain's file system, and to be able to control the command line options. I have some code for pulling in a Linux ELF image via UIP-TCP under Xen1.3, unpacking it and jumping at it, if anyone is interested. The total bootloader binary is 30kb. The networking driver needs to be ported to Xen 2.0, but otherwise it should just work. Jacob ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl