WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] Guest boot loader support

To: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] Guest boot loader support
From: aq <aquynh@xxxxxxxxx>
Date: Wed, 27 Apr 2005 06:02:28 +0900
Cc: Mark Williamson <mark.williamson.mark.williamson@xxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 26 Apr 2005 21:02:11 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:references; b=H6bVGEKMXg2gaf/ByqG481Xys1NFSL40qf3S5UZVTt4+/L7+5UfHY7gxjwoILBa/zUk0BWTtzfKhuJ070TOt6XZuafk/wA+ipqhGW7o9pGA4lHyA88BPhG7GEVS+/9YQ7zgoxW+fr7YzCGI5r8dJNDg7XjGnxCgujHOrIkQJVzM=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <200504262147.56627.mark.williamson@xxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <1114469427.4336.42.camel@xxxxxxxxxxxxxx> <200504262048.24728.mark.williamson@xxxxxxxxxxxx> <426EA37E.5070102@xxxxxxxxxx> <200504262147.56627.mark.williamson@xxxxxxxxxxxx>
Reply-to: aq <aquynh@xxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On 4/27/05, Mark Williamson <mark.williamson@xxxxxxxxxxxx> wrote:
> > GRUB only looks for menu.lst; distros create symlinks because that's a
> > terrible name for a config file. In other words, no code should be
> > opening grub.conf...
> 
> OK, I've investigated this using my sacrificial FC3 laptop ;-)  I'd not fully
> investigated this before.
> 
> Redhat's grub looks for grub.conf and not menu.lst.  Standard grub looks for
> menu.lst.
> 
> If the loader is to be flexible for different domU distros, it'd be nice to
> look for both, in one order or the other.
> 

in that case, this patch is better for you, Mark ;-). Please apply
this on top of Jeremy's patch.

list of changes:
- make a dummy file tools/pygrub/src/__init__.py
- tools/src/pygrub looks for either /boot/grub/menu.lst or
/boot/grub/grub.conf, in that order.

$ diffstat xen-bootloader.aq2.patch 
 __init__.py |    1 +
 pygrub      |   11 +++++++++--
 2 files changed, 10 insertions(+), 2 deletions(-)

Signed-off-by: Nguyen Anh Quynh <aquynh@xxxxxxxxx>

Attachment: xen-bootloader.aq2.patch
Description: Binary data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel