Rudi Ahlers
2011-Sep-07 10:09 UTC
[Xen-users] how to get pvgrub of pygrub onto Debian Sqeeze XEN?
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: wiki.debian.org/Xen But PvGrub doesn''t exist, and the referring URL, 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 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 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? I would prefer not to patch anything if I don''t have to. -- Kind Regards Rudi Ahlers SoftDux Website: SoftDux.com Technical Blog: Blog.SoftDux.com Office: 087 805 9573 Cell: 082 554 7532 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com lists.xensource.com/xen-users
Christian Motschke
2011-Sep-07 10:28 UTC
Re: [Xen-users] how to get pvgrub of pygrub onto Debian Sqeeze XEN?
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: wiki.debian.org/Xen > But PvGrub doesn''t exist, and the referring URL, > 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.2Correct 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_64Correct. But what says the version field? xen_major : 4 xen_minor : 0 xen_extra : .1> > > > 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> I would prefer not to patch anything if I don''t have to.Not necessary.> > -- > Kind Regards > Rudi Ahlers > SoftDux > > Website: SoftDux.com > Technical Blog: Blog.SoftDux.com > Office: 087 805 9573 > Cell: 082 554 7532 > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com lists.xensource.com/xen-users
Rudi Ahlers
2011-Sep-07 11:04 UTC
Re: [Xen-users] how to get pvgrub of pygrub onto Debian Sqeeze XEN?
On Wed, Sep 7, 2011 at 12:28 PM, Christian Motschke <christian@motschke.de> 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: wiki.debian.org/Xen >> But PvGrub doesn''t exist, and the referring URL, >> 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 : .1Thanx, 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/pygrubThanx, 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 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: SoftDux.com >> Technical Blog: Blog.SoftDux.com >> Office: 087 805 9573 >> Cell: 082 554 7532 >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> lists.xensource.com/xen-users > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > lists.xensource.com/xen-users >-- Kind Regards Rudi Ahlers SoftDux Website: SoftDux.com Technical Blog: Blog.SoftDux.com Office: 087 805 9573 Cell: 082 554 7532 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com lists.xensource.com/xen-users
Christian Motschke
2011-Sep-07 11:22 UTC
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@motschke.de> 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: wiki.debian.org/Xen >>> But PvGrub doesn''t exist, and the referring URL, >>> 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: SoftDux.com >>> Technical Blog: Blog.SoftDux.com >>> Office: 087 805 9573 >>> Cell: 082 554 7532 >>> >>> _______________________________________________ >>> Xen-users mailing list >>> Xen-users@lists.xensource.com >>> lists.xensource.com/xen-users >> >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> lists.xensource.com/xen-users >> > > > > -- > Kind Regards > Rudi Ahlers > SoftDux > > Website: SoftDux.com > Technical Blog: Blog.SoftDux.com > Office: 087 805 9573 > Cell: 082 554 7532 > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com lists.xensource.com/xen-users
Rudi Ahlers
2011-Sep-07 11:34 UTC
Re: [Xen-users] how to get pvgrub of pygrub onto Debian Sqeeze XEN?
On Wed, Sep 7, 2011 at 1:22 PM, Christian Motschke <christian@motschke.de> wrote:> 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 >Thank you VERY MUCH. That solved the issue and the VM is being created right now :) -- Kind Regards Rudi Ahlers SoftDux Website: SoftDux.com Technical Blog: Blog.SoftDux.com Office: 087 805 9573 Cell: 082 554 7532 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com lists.xensource.com/xen-users