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

Re: [Xen-users] pygrub


  • To: mattias <mj@xxxxxx>
  • From: Thiago Camargo Martins Cordeiro <thiagocmartinsc@xxxxxxxxx>
  • Date: Wed, 13 May 2009 11:43:10 -0300
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Wed, 13 May 2009 07:43:58 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=TmCCfHDPIsxbFV4sTDyavFpuyx+d84EJ9mXml1Duxa8S0A1G1L8n4f8B8eC6491Ahu awmgYbTUUOrBVEFUAiSLd2A2OGZDiASOAyLHfRhX3wZnjF5TZGrQ/EGaQ8GCxkK3YyRl zwrgsvwf4qYA27F3adWhN+LaaEL5WfZLsXBWU=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Mattias,

 No, you not. I mean, you don't need to run grub-install within the domU to work with PyGRUB.

 PyGRUB reads the first partition of the configuration file of the domU, to look for grub's menu file.

 For example, some content of my /etc/xen/vsrv62.cfg:

disk        = [
                  'phy:/dev/HyperVG01/vsrv62-root,xvda1,w',
                  'phy:/dev/HyperVG01/vsrv62-swap,xvda2,w',
                  'phy:/dev/HyperVG01/vsrv62-home,xvda3,w',
                   ]

 PyGRUB will read the grub's menu.lst file from xvda1 (the first disk/partition).

Regards,
Thiago

2009/5/12 mattias <mj@xxxxxx>
I tryed first to boot gentoo without pygrub not work
After with worked!!
So my question must i install grub on to the guest to get it work?


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

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

 


Rackspace

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