[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
  • 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=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.