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

Re: [Xen-users] how to get pvgrub of pygrub onto Debian Sqeeze XEN?



Am 07.09.2011 um 13:04 schrieb Rudi Ahlers:

> On Wed, Sep 7, 2011 at 12:28 PM, Christian Motschke
> <christian@xxxxxxxxxxx> wrote:
>> Hi Rudi,
>> 
>> Am 07.09.2011 um 12:09 schrieb Rudi Ahlers:
>> 
>>> Hi,
>>> 
>>> I'm sorry for the direct question, but I can't find an answer on
>>> google quickly.
>>> 
>>> I setup a Debian sqeeze server and install XEN using the following
>>> instructions: http://wiki.debian.org/Xen
>>> But PvGrub doesn't exist, and the referring URL,
>>> http://wiki.debian.org/PvGrub doesn't actually have anything for it
>>> either.
>>> 
>>> 
>>> If you look at my other topic, CentOS 6 + XEN problems, you'll see
>>> that I don't know Debian so this is new to me.
>>> 
>>> newusaxen:~# cat /etc/debian_version
>>> 6.0.2
>> Correct version.
>>> 
>>> xm info says I'm using XEN 3, and not XEN4 as I understood from the
>>> tutorial. Is this correct?
>>> 
>>> xen_caps               : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32
>>> hvm-3.0-x86_32p hvm-3.0-x86_64
>> Correct. But what says the version field?
>> xen_major              : 4
>> xen_minor              : 0
>> xen_extra              : .1
> 
> 
> Thanx, I didn't know I should check those:
> So, it seems I do hve XEN 4.0.1 then:
> 
> xen_major              : 4
> xen_minor              : 0
> xen_extra              : .1
> xen_caps               : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32
> hvm-3.0-x86_32p hvm-3.0-x86_64
> 
> 
> 
> 
>> 
>>> 
>>> 
>>> 
>>> Can anyone direct me to a place where I can see how to install PvGrub
>>> or PyGrub on Debian Sqeeze, preferably using apt-get or something like
>>> that?
>> pygrub is part of package xen-utils-4.0
>> 
>> dpkg -S pygrub
>> xen-utils-4.0: /usr/lib/xen-4.0/lib/python/pygrub-0.3.egg-info
>> xen-utils-4.0: /usr/lib/xen-4.0/bin/pygrub
> 
> Thanx, those exist:
> 
> newusaxen:~# dpkg -S pygrub
> xen-utils-4.0: /usr/lib/xen-4.0/lib/python/pygrub-0.3.egg-info
> xen-utils-4.0: /usr/lib/xen-4.0/bin/pygrub
> 
> 
> But, how do I get Debian to use pygrub?
> 
> 
> I use CloudMin to setup the VM's but it gives me the following error:
> 
> Creating virtual system with Xen ..
> .. creation failed : Kernel loading with PyGrub or Pv-Grub was
> requested, but neither were found on
> 
I never used CloudMin (and never heard of before) so I can only assume, that 
CloudMin searches the standard executable path for pygrub. Maybe the easiest 
way to fix this, could be to make a link in /usr/bin to pygrub
ln -s /usr/lib/xen-4.0/bin/pygrub /usr/bin/pygrub

I create my VMs with xm-create-image (Debian VMs of cause ;-).
After creation I change the .cfg file and replace the kernel and ramdisk entry 
with the boot loader:

#kernel      = '/boot/vmlinuz-2.6.32-5-xen-amd64'
#ramdisk     = '/boot/initrd.img-2.6.32-5-xen-amd64'
bootloader  = '/usr/lib/xen-4.0/bin/pygrub'

> 
> 
> So somehow it doesn't see it.
> 
> Is there anything special I need todo to get XEN to see pygrub?
> 
> 
>> 
>>> I would prefer not to patch anything if I don't have to.
>> Not necessary.
>>> 
>>> --
>>> Kind Regards
>>> Rudi Ahlers
>>> SoftDux
>>> 
>>> Website: http://www.SoftDux.com
>>> Technical Blog: http://Blog.SoftDux.com
>>> Office: 087 805 9573
>>> Cell: 082 554 7532
>>> 
>>> _______________________________________________
>>> 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
>> 
> 
> 
> 
> -- 
> Kind Regards
> Rudi Ahlers
> SoftDux
> 
> Website: http://www.SoftDux.com
> Technical Blog: http://Blog.SoftDux.com
> Office: 087 805 9573
> Cell: 082 554 7532
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
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®.