Dear *, I''m more used to work with RedHat like OSes. Still, I did not denied the request from a user who wants a domU based on ubunto. I usually use virt-install to do the job, with a script similar to this one: #!/bin/sh BASE=SL-4.7-i386-pv \ virt-install --nographics \ --nonsparse \ --paravirt \ --noreboot \ --file-size=4 \ --ram=512 \ --vcpus=1 \ --name=$BASE-`date +%d%m%y` \ --file=$BASE-`date +%d%m%y`.img \ --location=ftp://linuxsoft.cern.ch/scientific/47/i386/ I tried several --location values for ubunto (e.g. http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/ ) but I''m always getting the following error: Starting install... ERROR Could not find an installable distribution at ''http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images'' Can someone point me to the right direction? Clearly I''m missing something, probably virt-install only works for RH like. Also open to suggestions of installing domU''s using other methods. Thank you, N. -- =============================================Nuno Ricardo Santos Loureiro da Silva Ferreira NMR Spectroscopy Research Group Bijvoet Center for Biomolecular Research Utrecht University Bloembergen gebouw Padualaan 8, 3584 CH Utrecht The Netherlands P: +31.(0)30.253 9932 F: +31.(0)30.253 2652 E: n.l.ferreira@uu.nl W: http://nmr.chem.uu.nl ============================================= _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Create Lucid HVM via virt-install and load same image via pygrub, without switching /boot/grub/grub.cfg to no UUID mode on HVM Boris. --- On Wed, 5/12/10, Nuno L. Ferreira <nunolf@gmail.com> wrote: From: Nuno L. Ferreira <nunolf@gmail.com> Subject: [Xen-users] Install ubunto domU To: "xen-users" <xen-users@lists.xensource.com> Date: Wednesday, May 12, 2010, 3:48 PM Dear *, I''m more used to work with RedHat like OSes. Still, I did not denied the request from a user who wants a domU based on ubunto. I usually use virt-install to do the job, with a script similar to this one: #!/bin/sh BASE=SL-4.7-i386-pv \ virt-install --nographics \ --nonsparse \ --paravirt \ --noreboot \ --file-size=4 \ --ram=512 \ --vcpus=1 \ --name=$BASE-`date +%d%m%y` \ --file=$BASE-`date +%d%m%y`.img \ --location=ftp://linuxsoft.cern.ch/scientific/47/i386/ I tried several --location values for ubunto (e.g. http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/ ) but I''m always getting the following error: Starting install... ERROR Could not find an installable distribution at ''http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images'' Can someone point me to the right direction? Clearly I''m missing something, probably virt-install only works for RH like. Also open to suggestions of installing domU''s using other methods. Thank you, N. -- =============================================Nuno Ricardo Santos Loureiro da Silva Ferreira NMR Spectroscopy Research Group Bijvoet Center for Biomolecular Research Utrecht University Bloembergen gebouw Padualaan 8, 3584 CH Utrecht The Netherlands P: +31.(0)30.253 9932 F: +31.(0)30.253 2652 E: n.l.ferreira@uu.nl W: http://nmr.chem.uu.nl ============================================= _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ubuntu now has a fully PV xen aware netboot installer available, so installing HVM and doing a "conversion" isnt necessary. As for how to make virt-install work with this, i''m not so sure. I''m assuming its using a debootstrap style install. On 12 May 2010 21:43, Boris Derzhavets <bderzhavets@yahoo.com> wrote:> Create Lucid HVM via virt-install and load same image via pygrub, > without switching /boot/grub/grub.cfg to no UUID mode on HVM > > Boris. > > --- On *Wed, 5/12/10, Nuno L. Ferreira <nunolf@gmail.com>* wrote: > > > From: Nuno L. Ferreira <nunolf@gmail.com> > Subject: [Xen-users] Install ubunto domU > To: "xen-users" <xen-users@lists.xensource.com> > Date: Wednesday, May 12, 2010, 3:48 PM > > > Dear *, > > I''m more used to work with RedHat like OSes. Still, I did not denied the > request from a user who wants a domU based on ubunto. I usually use > virt-install to do the job, with a script similar to this one: > > #!/bin/sh > BASE=SL-4.7-i386-pv \ > virt-install --nographics \ > --nonsparse \ > --paravirt \ > --noreboot \ > --file-size=4 \ > --ram=512 \ > --vcpus=1 \ > --name=$BASE-`date +%d%m%y` \ > --file=$BASE-`date +%d%m%y`.img \ > --location=ftp://linuxsoft.cern.ch/scientific/47/i386/ > > I tried several --location values for ubunto (e.g. > http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/) > but I''m always getting the following error: > > Starting install... > ERROR Could not find an installable distribution at '' > http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images''<http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images%27> > > Can someone point me to the right direction? Clearly I''m missing something, > probably virt-install only works for RH like. Also open to suggestions of > installing domU''s using other methods. > Thank you, > N. > > -- =============================================> Nuno Ricardo Santos Loureiro da Silva Ferreira > > NMR Spectroscopy Research Group > Bijvoet Center for Biomolecular Research > Utrecht University > Bloembergen gebouw > Padualaan 8, 3584 CH Utrecht > The Netherlands > > P: +31.(0)30.253 9932 > F: +31.(0)30.253 2652 > E: n.l.ferreira@uu.nl <http://mc/compose?to=n.l.ferreira@uu.nl> > W: http://nmr.chem.uu.nl > =============================================> > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com<http://mc/compose?to=Xen-users@lists.xensource.com> > http://lists.xensource.com/xen-users > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi David, That''s good to know, and I want PV domU''s. Still, I also do not understand how I can use virt-install for ubunto domU''s. Going to give a try to debootstrap probably. Cheers, N. David Markey wrote:> Ubuntu now has a fully PV xen aware netboot installer available, so > installing HVM and doing a "conversion" isnt necessary. > > As for how to make virt-install work with this, i''m not so sure. I''m > assuming its using a debootstrap style install. > >-- =============================================Nuno Ricardo Santos Loureiro da Silva Ferreira NMR Spectroscopy Research Group Bijvoet Center for Biomolecular Research Utrecht University Bloembergen gebouw Padualaan 8, 3584 CH Utrecht The Netherlands P: +31.(0)30.253 9932 F: +31.(0)30.253 2652 E: n.l.ferreira@uu.nl W: http://nmr.chem.uu.nl ============================================= _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Virt-install HVM : # virt-install -n LucidSRV -r 1024 --hvm --vnc -f /dev/sdc7 -c /root/isos/UbuntuServer10.04.iso --debug> Ubuntu now has a fully PV xen aware netboot installer available, soinstalling HVM and doing a "conversion" isnt necessary. I don''t know what you mean exactly, but Karmic,Jaunty,Intrepid Servers PV DomUs may be also installed via debootstrap. View for instance: http://bderzhavets.wordpress.com/2009/05/02/debootstrap-ubuntu-jaunty-pv-domu-at-xen-331-f10-dom0-kernel-2630-rc3-tip/ Does Ubuntu provide URL acceptable for " --location URL" option of virt-install ? Boris. --- On Wed, 5/12/10, David Markey <admin@dmarkey.com> wrote: From: David Markey <admin@dmarkey.com> Subject: Re: [Xen-users] Install ubunto domU To: "Boris Derzhavets" <bderzhavets@yahoo.com> Cc: "xen-users" <xen-users@lists.xensource.com>, "Nuno L. Ferreira" <nunolf@gmail.com> Date: Wednesday, May 12, 2010, 4:56 PM Ubuntu now has a fully PV xen aware netboot installer available, so installing HVM and doing a "conversion" isnt necessary. As for how to make virt-install work with this, i''m not so sure. I''m assuming its using a debootstrap style install. On 12 May 2010 21:43, Boris Derzhavets <bderzhavets@yahoo.com> wrote: Create Lucid HVM via virt-install and load same image via pygrub, without switching /boot/grub/grub.cfg to no UUID mode on HVM Boris. --- On Wed, 5/12/10, Nuno L. Ferreira <nunolf@gmail.com> wrote: From: Nuno L. Ferreira <nunolf@gmail.com> Subject: [Xen-users] Install ubunto domU To: "xen-users" <xen-users@lists.xensource.com> Date: Wednesday, May 12, 2010, 3:48 PM Dear *, I''m more used to work with RedHat like OSes. Still, I did not denied the request from a user who wants a domU based on ubunto. I usually use virt-install to do the job, with a script similar to this one: #!/bin/sh BASE=SL-4.7-i386-pv \ virt-install --nographics \ --nonsparse \ --paravirt \ --noreboot \ --file-size=4 \ --ram=512 \ --vcpus=1 \ --name=$BASE-`date +%d%m%y` \ --file=$BASE-`date +%d%m%y`.img \ --location=ftp://linuxsoft.cern.ch/scientific/47/i386/ I tried several --location values for ubunto (e.g. http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/ ) but I''m always getting the following error: Starting install... ERROR Could not find an installable distribution at ''http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images'' Can someone point me to the right direction? Clearly I''m missing something, probably virt-install only works for RH like. Also open to suggestions of installing domU''s using other methods. Thank you, N. -- =============================================Nuno Ricardo Santos Loureiro da Silva Ferreira NMR Spectroscopy Research Group Bijvoet Center for Biomolecular Research Utrecht University Bloembergen gebouw Padualaan 8, 3584 CH Utrecht The Netherlands P: +31.(0)30.253 9932 F: +31.(0)30.253 2652 E: n.l.ferreira@uu.nl W: http://nmr.chem.uu.nl ============================================= _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I was able to start installer : root@ServerLnx:/home/boris/ubuntu# wget http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/vmlinuz --2010-05-13 12:36:14-- http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/vmlinuz Resolving archive.ubuntu.com... 91.189.92.167, 91.189.88.30, 91.189.88.31, ... Connecting to archive.ubuntu.com|91.189.92.167|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 4037888 (3.9M) [text/plain] Saving to: `vmlinuz'' 100%[========================================================================>] 4,037,888 101K/s in 27s 2010-05-13 12:36:41 (144 KB/s) - `vmlinuz'' saved [4037888/4037888] root@ServerLnx:/home/boris/ubuntu# wget http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/initrd.gz --2010-05-13 12:37:02-- http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/initrd.gz Resolving archive.ubuntu.com... 91.189.92.166, 91.189.92.167, 91.189.88.30, ... Connecting to archive.ubuntu.com|91.189.92.166|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 9678415 (9.2M) [application/x-gzip] Saving to: `initrd.gz'' 100%[========================================================================>] 9,678,415 200K/s in 60s 2010-05-13 12:38:03 (156 KB/s) - `initrd.gz'' saved [9678415/9678415] root@ServerLnx:/home/boris/ubuntu# cat ubuntu.cfg name="U10PV" memory=2048 disk = [''phy:/dev/sdb5,xvda,w'' ] vif = [ ''bridge=eth0'' ] # vfb = [ ''type=vnc,vncunused=1''] kernel = "/home/boris/ubuntu/vmlinuz" ramdisk = "/home/boris/ubuntu/initrd.gz" vcpus=2 on_reboot = ''restart'' on_crash = ''restart'' # xm create -c ubuntu.cfg and see several obvious disadvantages (vs HVM convertion) : 1. VFB doesn''t work 2. After selecting local mirror "Installing base system" is already running for 15 min at 2MB/sec ADSL connection. Boris. --- On Thu, 5/13/10, Boris Derzhavets <bderzhavets@yahoo.com> wrote: From: Boris Derzhavets <bderzhavets@yahoo.com> Subject: Re: [Xen-users] Install ubunto domU To: admin@dmarkey.com Cc: "Nuno L. Ferreira" <nunolf@gmail.com>, "xen-users" <xen-users@lists.xensource.com> Date: Thursday, May 13, 2010, 4:05 AM Virt-install HVM : # virt-install -n LucidSRV -r 1024 --hvm --vnc -f /dev/sdc7 -c /root/isos/UbuntuServer10.04.iso --debug> Ubuntu now has a fully PV xen aware netboot installer available, soinstalling HVM and doing a "conversion" isnt necessary. I don''t know what you mean exactly, but Karmic,Jaunty,Intrepid Servers PV DomUs may be also installed via debootstrap. View for instance: http://bderzhavets.wordpress.com/2009/05/02/debootstrap-ubuntu-jaunty-pv-domu-at-xen-331-f10-dom0-kernel-2630-rc3-tip/ Does Ubuntu provide URL acceptable for " --location URL" option of virt-install ? Boris. --- On Wed, 5/12/10, David Markey <admin@dmarkey.com> wrote: From: David Markey <admin@dmarkey.com> Subject: Re: [Xen-users] Install ubunto domU To: "Boris Derzhavets" <bderzhavets@yahoo.com> Cc: "xen-users" <xen-users@lists.xensource.com>, "Nuno L. Ferreira" <nunolf@gmail.com> Date: Wednesday, May 12, 2010, 4:56 PM Ubuntu now has a fully PV xen aware netboot installer available, so installing HVM and doing a "conversion" isnt necessary. As for how to make virt-install work with this, i''m not so sure. I''m assuming its using a debootstrap style install. On 12 May 2010 21:43, Boris Derzhavets <bderzhavets@yahoo.com> wrote: Create Lucid HVM via virt-install and load same image via pygrub, without switching /boot/grub/grub.cfg to no UUID mode on HVM Boris. --- On Wed, 5/12/10, Nuno L. Ferreira <nunolf@gmail.com> wrote: From: Nuno L. Ferreira <nunolf@gmail.com> Subject: [Xen-users] Install ubunto domU To: "xen-users" <xen-users@lists.xensource.com> Date: Wednesday, May 12, 2010, 3:48 PM Dear *, I''m more used to work with RedHat like OSes. Still, I did not denied the request from a user who wants a domU based on ubunto. I usually use virt-install to do the job, with a script similar to this one: #!/bin/sh BASE=SL-4.7-i386-pv \ virt-install --nographics \ --nonsparse \ --paravirt \ --noreboot \ --file-size=4 \ --ram=512 \ --vcpus=1 \ --name=$BASE-`date +%d%m%y` \ --file=$BASE-`date +%d%m%y`.img \ --location=ftp://linuxsoft.cern.ch/scientific/47/i386/ I tried several --location values for ubunto (e.g. http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/ ) but I''m always getting the following error: Starting install... ERROR Could not find an installable distribution at ''http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images'' Can someone point me to the right direction? Clearly I''m missing something, probably virt-install only works for RH like. Also open to suggestions of installing domU''s using other methods. Thank you, N. -- =============================================Nuno Ricardo Santos Loureiro da Silva Ferreira NMR Spectroscopy Research Group Bijvoet Center for Biomolecular Research Utrecht University Bloembergen gebouw Padualaan 8, 3584 CH Utrecht The Netherlands P: +31.(0)30.253 9932 F: +31.(0)30.253 2652 E: n.l.ferreira@uu.nl W: http://nmr.chem.uu.nl ============================================= _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users -----Inline Attachment Follows----- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
1. I never really found a use for vfb. This is ubuntu server. If you''re looking for a desktop after the install you can modprobe xen-fbfront. 2. If you''re deploying a lot of machines i have used http-replicator to cache the packages so they''re only downloaded once. On 13 May 2010 10:03, Boris Derzhavets <bderzhavets@yahoo.com> wrote:> I was able to start installer : > > root@ServerLnx:/home/boris/ubuntu# wget > http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/vmlinuz > --2010-05-13 12:36:14-- > http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/vmlinuz > Resolving archive.ubuntu.com... 91.189.92.167, 91.189.88.30, 91.189.88.31, > ... > Connecting to archive.ubuntu.com|91.189.92.167|:80... connected. > HTTP request sent, awaiting response... 200 OK > Length: 4037888 (3.9M) [text/plain] > Saving to: `vmlinuz'' > > 100%[========================================================================>] > 4,037,888 101K/s in 27s > > 2010-05-13 12:36:41 (144 KB/s) - `vmlinuz'' saved [4037888/4037888] > > root@ServerLnx:/home/boris/ubuntu# wget > http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/initrd.gz > --2010-05-13 12:37:02-- > http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/initrd.gz > Resolving archive.ubuntu.com... 91.189.92.166, 91.189.92.167, 91.189.88.30, > ... > Connecting to archive.ubuntu.com|91.189.92.166|:80... connected. > HTTP request sent, awaiting response... 200 OK > Length: 9678415 (9.2M) [application/x-gzip] > Saving to: `initrd.gz'' > > 100%[========================================================================>] > 9,678,415 200K/s in 60s > > 2010-05-13 12:38:03 (156 KB/s) - `initrd.gz'' saved [9678415/9678415] > > root@ServerLnx:/home/boris/ubuntu# cat ubuntu.cfg > name="U10PV" > memory=2048 > disk = [''phy:/dev/sdb5,xvda,w'' ] > vif = [ ''bridge=eth0'' ] > # vfb = [ ''type=vnc,vncunused=1''] > kernel = "/home/boris/ubuntu/vmlinuz" > ramdisk = "/home/boris/ubuntu/initrd.gz" > vcpus=2 > on_reboot = ''restart'' > on_crash = ''restart'' > > # xm create -c ubuntu.cfg > > and see several obvious disadvantages (vs HVM convertion) : > > 1. VFB doesn''t work > 2. After selecting local mirror "Installing base system" is already running > for 15 min > at 2MB/sec ADSL connection. > > Boris. > > --- On *Thu, 5/13/10, Boris Derzhavets <bderzhavets@yahoo.com>* wrote: > > > From: Boris Derzhavets <bderzhavets@yahoo.com> > > Subject: Re: [Xen-users] Install ubunto domU > To: admin@dmarkey.com > Cc: "Nuno L. Ferreira" <nunolf@gmail.com>, "xen-users" < > xen-users@lists.xensource.com> > Date: Thursday, May 13, 2010, 4:05 AM > > > Virt-install HVM : > > # virt-install -n LucidSRV -r 1024 --hvm --vnc -f /dev/sdc7 -c > /root/isos/UbuntuServer10.04.iso --debug > > > Ubuntu now has a fully PV xen aware netboot installer available, so > installing HVM and doing a "conversion" isnt necessary. > > I don''t know what you mean exactly, but Karmic,Jaunty,Intrepid Servers PV > DomUs may be also installed via debootstrap. View for instance: > > > http://bderzhavets.wordpress.com/2009/05/02/debootstrap-ubuntu-jaunty-pv-domu-at-xen-331-f10-dom0-kernel-2630-rc3-tip/ > > > Does Ubuntu provide URL acceptable for " --location URL" option of > virt-install ? > > > Boris. > > --- On *Wed, 5/12/10, David Markey <admin@dmarkey.com>* wrote: > > > From: David Markey <admin@dmarkey.com> > Subject: Re: [Xen-users] Install ubunto domU > To: "Boris Derzhavets" <bderzhavets@yahoo.com> > Cc: "xen-users" <xen-users@lists.xensource.com>, "Nuno L. Ferreira" < > nunolf@gmail.com> > Date: Wednesday, May 12, 2010, 4:56 PM > > Ubuntu now has a fully PV xen aware netboot installer available, so > installing HVM and doing a "conversion" isnt necessary. > > As for how to make virt-install work with this, i''m not so sure. I''m > assuming its using a debootstrap style install. > > > > On 12 May 2010 21:43, Boris Derzhavets <bderzhavets@yahoo.com> wrote: > >> Create Lucid HVM via virt-install and load same image via pygrub, >> without switching /boot/grub/grub.cfg to no UUID mode on HVM >> >> Boris. >> >> --- On *Wed, 5/12/10, Nuno L. Ferreira <nunolf@gmail.com>* wrote: >> >> >> From: Nuno L. Ferreira <nunolf@gmail.com> >> Subject: [Xen-users] Install ubunto domU >> To: "xen-users" <xen-users@lists.xensource.com> >> Date: Wednesday, May 12, 2010, 3:48 PM >> >> >> Dear *, >> >> I''m more used to work with RedHat like OSes. Still, I did not denied the >> request from a user who wants a domU based on ubunto. I usually use >> virt-install to do the job, with a script similar to this one: >> >> #!/bin/sh >> BASE=SL-4.7-i386-pv \ >> virt-install --nographics \ >> --nonsparse \ >> --paravirt \ >> --noreboot \ >> --file-size=4 \ >> --ram=512 \ >> --vcpus=1 \ >> --name=$BASE-`date +%d%m%y` \ >> --file=$BASE-`date +%d%m%y`.img \ >> --location=ftp://linuxsoft.cern.ch/scientific/47/i386/ >> >> I tried several --location values for ubunto (e.g. >> http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/) >> but I''m always getting the following error: >> >> Starting install... >> ERROR Could not find an installable distribution at '' >> http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images''<http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images%27> >> >> Can someone point me to the right direction? Clearly I''m missing >> something, probably virt-install only works for RH like. Also open to >> suggestions of installing domU''s using other methods. >> Thank you, >> N. >> >> -- =============================================>> Nuno Ricardo Santos Loureiro da Silva Ferreira >> >> NMR Spectroscopy Research Group >> Bijvoet Center for Biomolecular Research >> Utrecht University >> Bloembergen gebouw >> Padualaan 8, 3584 CH Utrecht >> The Netherlands >> >> P: +31.(0)30.253 9932 >> F: +31.(0)30.253 2652 >> E: n.l.ferreira@uu.nl <http://mc/compose?to=n.l.ferreira@uu.nl> >> W: http://nmr.chem.uu.nl >> =============================================>> >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com<http://mc/compose?to=Xen-users@lists.xensource.com> >> http://lists.xensource.com/xen-users >> >> >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users >> > > > > -----Inline Attachment Follows----- > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com<http://mc/compose?to=Xen-users@lists.xensource.com> > http://lists.xensource.com/xen-users > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
When done DomU may be loaded via profile with your''s patch back ported to Xen 4.0 : root@ServerLnx:/home/boris/ubuntu# cat ubuntu.py name="U10PV" memory=2048 disk = [''phy:/dev/sdb5,xvda,w'' ] vif = [ ''bridge=eth0'' ] vfb = [ ''type=vnc,vncunused=1''] bootloader = "/usr/bin/pygrub" vcpus=2 on_reboot = ''restart'' on_crash = ''restart'' On DomU : # lsmod | grep xen xen_fbfront 7225 1 fb_sys_fops 1611 1 xen_fbfront sysimgblt 2547 1 xen_fbfront xen_kbdfront 4249 0 sysfillrect 3949 1 xen_fbfront syscopyarea 3640 1 xen_fbfront xen_netfront 17890 0 xen_blkfront 10697 3 You are right regarding VFB. Boris. --- On Thu, 5/13/10, David Markey <admin@dmarkey.com> wrote: From: David Markey <admin@dmarkey.com> Subject: Re: [Xen-users] Install ubunto domU To: "Boris Derzhavets" <bderzhavets@yahoo.com> Cc: "Nuno L. Ferreira" <nunolf@gmail.com>, "xen-users" <xen-users@lists.xensource.com> Date: Thursday, May 13, 2010, 5:13 AM 1. I never really found a use for vfb. This is ubuntu server. If you''re looking for a desktop after the install you can modprobe xen-fbfront. 2. If you''re deploying a lot of machines i have used http-replicator to cache the packages so they''re only downloaded once. On 13 May 2010 10:03, Boris Derzhavets <bderzhavets@yahoo.com> wrote: I was able to start installer : root@ServerLnx:/home/boris/ubuntu# wget http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/vmlinuz --2010-05-13 12:36:14-- http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/vmlinuz Resolving archive.ubuntu.com... 91.189.92.167, 91.189.88.30, 91.189.88.31, ... Connecting to archive.ubuntu.com|91.189.92.167|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 4037888 (3.9M) [text/plain] Saving to: `vmlinuz'' 100%[========================================================================>] 4,037,888 101K/s in 27s 2010-05-13 12:36:41 (144 KB/s) - `vmlinuz'' saved [4037888/4037888] root@ServerLnx:/home/boris/ubuntu# wget http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/initrd.gz --2010-05-13 12:37:02-- http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/initrd.gz Resolving archive.ubuntu.com... 91.189.92.166, 91.189.92.167, 91.189.88.30, ... Connecting to archive.ubuntu.com|91.189.92.166|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 9678415 (9.2M) [application/x-gzip] Saving to: `initrd.gz'' 100%[========================================================================>] 9,678,415 200K/s in 60s 2010-05-13 12:38:03 (156 KB/s) - `initrd.gz'' saved [9678415/9678415] root@ServerLnx:/home/boris/ubuntu# cat ubuntu.cfg name="U10PV" memory=2048 disk = [''phy:/dev/sdb5,xvda,w'' ] vif = [ ''bridge=eth0'' ] # vfb = [ ''type=vnc,vncunused=1''] kernel "/home/boris/ubuntu/vmlinuz" ramdisk = "/home/boris/ubuntu/initrd.gz" vcpus=2 on_reboot = ''restart'' on_crash = ''restart'' # xm create -c ubuntu.cfg and see several obvious disadvantages (vs HVM convertion) : 1. VFB doesn''t work 2. After selecting local mirror "Installing base system" is already running for 15 min at 2MB/sec ADSL connection. Boris. --- On Thu, 5/13/10, Boris Derzhavets <bderzhavets@yahoo.com> wrote: From: Boris Derzhavets <bderzhavets@yahoo.com> Subject: Re: [Xen-users] Install ubunto domU To: admin@dmarkey.com Cc: "Nuno L. Ferreira" <nunolf@gmail.com>, "xen-users" <xen-users@lists.xensource.com> Date: Thursday, May 13, 2010, 4:05 AM Virt-install HVM : # virt-install -n LucidSRV -r 1024 --hvm --vnc -f /dev/sdc7 -c /root/isos/UbuntuServer10.04.iso --debug> Ubuntu now has a fully PV xen aware netboot installer available, soinstalling HVM and doing a "conversion" isnt necessary. I don''t know what you mean exactly, but Karmic,Jaunty,Intrepid Servers PV DomUs may be also installed via debootstrap. View for instance: http://bderzhavets.wordpress.com/2009/05/02/debootstrap-ubuntu-jaunty-pv-domu-at-xen-331-f10-dom0-kernel-2630-rc3-tip/ Does Ubuntu provide URL acceptable for " --location URL" option of virt-install ? Boris. --- On Wed, 5/12/10, David Markey <admin@dmarkey.com> wrote: From: David Markey <admin@dmarkey.com> Subject: Re: [Xen-users] Install ubunto domU To: "Boris Derzhavets" <bderzhavets@yahoo.com> Cc: "xen-users" <xen-users@lists.xensource.com>, "Nuno L. Ferreira" <nunolf@gmail.com> Date: Wednesday, May 12, 2010, 4:56 PM Ubuntu now has a fully PV xen aware netboot installer available, so installing HVM and doing a "conversion" isnt necessary. As for how to make virt-install work with this, i''m not so sure. I''m assuming its using a debootstrap style install. On 12 May 2010 21:43, Boris Derzhavets <bderzhavets@yahoo.com> wrote: Create Lucid HVM via virt-install and load same image via pygrub, without switching /boot/grub/grub.cfg to no UUID mode on HVM Boris. --- On Wed, 5/12/10, Nuno L. Ferreira <nunolf@gmail.com> wrote: From: Nuno L. Ferreira <nunolf@gmail.com> Subject: [Xen-users] Install ubunto domU To: "xen-users" <xen-users@lists.xensource.com> Date: Wednesday, May 12, 2010, 3:48 PM Dear *, I''m more used to work with RedHat like OSes. Still, I did not denied the request from a user who wants a domU based on ubunto. I usually use virt-install to do the job, with a script similar to this one: #!/bin/sh BASE=SL-4.7-i386-pv \ virt-install --nographics \ --nonsparse \ --paravirt \ --noreboot \ --file-size=4 \ --ram=512 \ --vcpus=1 \ --name=$BASE-`date +%d%m%y` \ --file=$BASE-`date +%d%m%y`.img \ --location=ftp://linuxsoft.cern.ch/scientific/47/i386/ I tried several --location values for ubunto (e.g. http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/ ) but I''m always getting the following error: Starting install... ERROR Could not find an installable distribution at ''http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images'' Can someone point me to the right direction? Clearly I''m missing something, probably virt-install only works for RH like. Also open to suggestions of installing domU''s using other methods. Thank you, N. -- =============================================Nuno Ricardo Santos Loureiro da Silva Ferreira NMR Spectroscopy Research Group Bijvoet Center for Biomolecular Research Utrecht University Bloembergen gebouw Padualaan 8, 3584 CH Utrecht The Netherlands P: +31.(0)30.253 9932 F: +31.(0)30.253 2652 E: n.l.ferreira@uu.nl W: http://nmr.chem.uu.nl ============================================= _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users -----Inline Attachment Follows----- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users -----Inline Attachment Follows----- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Dear *, Boris I tried to follow your steps (installing Lucid x86_64 PV domU on a CentOS 54 x86_64 dom0, running xen 3.4.2 from gitco) ... but was not successful. Something is still escaping me. Installation went just fine till the end after a "xm create -c lucid.xen" (see below). After installation (without any modifications to what was installed) I edited the xen config file (test.xen, see below) to boot with pygrub instead. But I get the following error: Error: Boot loader didn''t return any data! I checked that the new domU does not have /usr/bin/pygrub, and this explains the error. So Boris, how did you boot your ubunto based domU after a netboot installation? I did not tried yet the debootstrap method also suggested ... first I want to know what I''m doing wrong here. I''m a bit lost on setting up an ubunto domU, first time getting outside RedHat like OSes. So if there are some good working links to blogs/tutorials on how to install ubunto domU''s on RedHat like dom0''s I''ll appreciate. Cheers, N. P.S. Steps taken : 1 - lvcreate -n domu.ubunto.lucid -L 4G vg1 2 - mkfs.ext3 /dev/vg1/domu.ubunto.lucid 3 - wget http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/vmlinuz 4 - wget http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/initrd.gz 5 - cat lucid.xen name = "lucid" memory = 1024 disk = [''phy:/dev/vg1/domu.ubunto.lucid,xvda,w'' ] vif = [ ''bridge=eth0'' ] kernel = "/mnt/dom0/data/domu.setup/ubunto/lucid/vmlinuz" ramdisk = "/mnt/dom0/data/domu.setup/ubunto/lucid/initrd.gz" vcpus = 1 on_reboot = ''destroy'' on_crash = ''destroy'' 6 - xm create -c lucid.xen ... installation goes just fine ... 7 - cat test.xen name = "test" memory = 512 maxmem = 1024 bootloader = ''/usr/bin/pygrub'' disk = [''phy:/dev/vg1/domu.spyder.root,xvda,w'' ] vif = [ ''bridge=eth0'' ] vcpus = 1 on_poweroff = ''destroy'' on_reboot = ''restart'' on_crash = ''restart'' 8 - xm create -c test.xen Using config file "./test.xen". Error: Boot loader didn''t return any data! Boris Derzhavets wrote:> I was able to start installer : > > root@ServerLnx:/home/boris/ubuntu# wget http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/vmlinuz > --2010-05-13 12:36:14-- http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/vmlinuz > Resolving archive.ubuntu.com... 91.189.92.167, 91.189.88.30, 91.189.88.31, ... > Connecting to archive.ubuntu.com|91.189.92.167|:80... connected. > HTTP request sent, awaiting response... 200 OK > Length: 4037888 (3.9M) [text/plain] > Saving to: `vmlinuz'' > > 100%[========================================================================>] 4,037,888 101K/s in 27s > > 2010-05-13 12:36:41 (144 KB/s) - `vmlinuz'' saved [4037888/4037888] > > root@ServerLnx:/home/boris/ubuntu# wget http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/initrd.gz > --2010-05-13 12:37:02-- http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/initrd.gz > Resolving archive.ubuntu.com... 91.189.92.166, 91.189.92.167, 91.189.88.30, ... > Connecting to archive.ubuntu.com|91.189.92.166|:80... connected. > HTTP request sent, awaiting response... 200 OK > Length: 9678415 (9.2M) [application/x-gzip] > Saving to: `initrd.gz'' > > 100%[========================================================================>] 9,678,415 200K/s in 60s > > 2010-05-13 12:38:03 (156 KB/s) - `initrd.gz'' saved [9678415/9678415] > > root@ServerLnx:/home/boris/ubuntu# cat ubuntu.cfg > name="U10PV" > memory=2048 > disk = [''phy:/dev/sdb5,xvda,w'' ] > vif = [ ''bridge=eth0'' ] > # vfb = [ ''type=vnc,vncunused=1''] > kernel = "/home/boris/ubuntu/vmlinuz" > ramdisk = "/home/boris/ubuntu/initrd.gz" > vcpus=2 > on_reboot = ''restart'' > on_crash = ''restart'' > > # xm create -c ubuntu.cfg > > and see several obvious disadvantages (vs HVM convertion) : > > 1. VFB doesn''t work > 2. After selecting local mirror "Installing base system" is already running for 15 min > at 2MB/sec ADSL connection. > > Boris._______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
You need http://lists.xensource.com/archives/html/xen-devel/2010-04/msg00748.html On 17 May 2010 23:24, Nuno L. Ferreira <nunolf@gmail.com> wrote:> Dear *, Boris > > I tried to follow your steps (installing Lucid x86_64 PV domU on a CentOS > 54 x86_64 dom0, running xen 3.4.2 from gitco) ... but was not successful. > Something is still escaping me. > Installation went just fine till the end after a "xm create -c lucid.xen" > (see below). > After installation (without any modifications to what was installed) I > edited the xen config file (test.xen, see below) to boot with pygrub > instead. But I get the following error: > Error: Boot loader didn''t return any data! > > I checked that the new domU does not have /usr/bin/pygrub, and this > explains the error. > So Boris, how did you boot your ubunto based domU after a netboot > installation? > I did not tried yet the debootstrap method also suggested ... first I want > to know what I''m doing wrong here. > > I''m a bit lost on setting up an ubunto domU, first time getting outside > RedHat like OSes. So if there are some good working links to blogs/tutorials > on how to install ubunto domU''s on RedHat like dom0''s I''ll appreciate. > > Cheers, > N. > > P.S. Steps taken : > > 1 - lvcreate -n domu.ubunto.lucid -L 4G vg1 > 2 - mkfs.ext3 /dev/vg1/domu.ubunto.lucid > 3 - wget > http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/vmlinuz > 4 - wget > http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/initrd.gz > 5 - cat lucid.xen > name = "lucid" > memory = 1024 > disk = [''phy:/dev/vg1/domu.ubunto.lucid,xvda,w'' ] > vif = [ ''bridge=eth0'' ] > kernel = "/mnt/dom0/data/domu.setup/ubunto/lucid/vmlinuz" > ramdisk = "/mnt/dom0/data/domu.setup/ubunto/lucid/initrd.gz" > vcpus = 1 > on_reboot = ''destroy'' > on_crash = ''destroy'' > > 6 - xm create -c lucid.xen > ... installation goes just fine ... > 7 - cat test.xen > name = "test" > memory = 512 > maxmem = 1024 > bootloader = ''/usr/bin/pygrub'' > disk = [''phy:/dev/vg1/domu.spyder.root,xvda,w'' ] > vif = [ ''bridge=eth0'' ] > vcpus = 1 > on_poweroff = ''destroy'' > > on_reboot = ''restart'' > on_crash = ''restart'' > > 8 - xm create -c test.xen > Using config file "./test.xen". > Error: Boot loader didn''t return any data! > > > > > > Boris Derzhavets wrote: > >> I was able to start installer : >> >> root@ServerLnx:/home/boris/ubuntu# wget >> http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/vmlinuz >> --2010-05-13 12:36:14-- >> http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/vmlinuz >> Resolving archive.ubuntu.com... 91.189.92.167, 91.189.88.30, 91.189.88.31, >> ... >> Connecting to archive.ubuntu.com|91.189.92.167|:80... connected. >> HTTP request sent, awaiting response... 200 OK >> Length: 4037888 (3.9M) [text/plain] >> Saving to: `vmlinuz'' >> >> 100%[========================================================================>] >> 4,037,888 101K/s in 27s >> 2010-05-13 12:36:41 (144 KB/s) - `vmlinuz'' saved [4037888/4037888] >> >> root@ServerLnx:/home/boris/ubuntu# wget >> http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/initrd.gz >> --2010-05-13 12:37:02-- >> http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/initrd.gz >> Resolving archive.ubuntu.com... 91.189.92.166, 91.189.92.167, >> 91.189.88.30, ... >> Connecting to archive.ubuntu.com|91.189.92.166|:80... connected. >> HTTP request sent, awaiting response... 200 OK >> Length: 9678415 (9.2M) [application/x-gzip] >> Saving to: `initrd.gz'' >> >> 100%[========================================================================>] >> 9,678,415 200K/s in 60s >> 2010-05-13 12:38:03 (156 KB/s) - `initrd.gz'' saved [9678415/9678415] >> >> root@ServerLnx:/home/boris/ubuntu# cat ubuntu.cfg >> name="U10PV" >> memory=2048 >> disk = [''phy:/dev/sdb5,xvda,w'' ] >> vif = [ ''bridge=eth0'' ] >> # vfb = [ ''type=vnc,vncunused=1''] >> kernel = "/home/boris/ubuntu/vmlinuz" >> ramdisk = "/home/boris/ubuntu/initrd.gz" >> vcpus=2 >> on_reboot = ''restart'' >> on_crash = ''restart'' >> >> # xm create -c ubuntu.cfg >> >> and see several obvious disadvantages (vs HVM convertion) : >> >> 1. VFB doesn''t work >> 2. After selecting local mirror "Installing base system" is already >> running for 15 min >> at 2MB/sec ADSL connection. >> >> Boris. >> >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> I tried to follow your steps (installing Lucid x86_64 PV domU on aCentOS 54 x86_64 dom0, running xen 3.4.2 from gitco) ... but was not successful. Something is still escaping me. Yes , you missing David''s patch. Personally , i could back port it only to Xen 4.0, even Xen 3.4.3 was not enough. Some other CSs from 4.0 are required for consistency and you don''t know which ones. You are at 3.4.2 ! I believe gitco did Xen 4.0 rpms. Gitgo''s 4.0 src.rpm has to patched per David and rpms rebuilt. That ''s in case you want "pygrub" to be bootloader for DomU . It''s comfortable, but not required. Boris. --- On Mon, 5/17/10, David Markey <admin@dmarkey.com> wrote: From: David Markey <admin@dmarkey.com> Subject: Re: [Xen-users] Install ubunto domU To: "Nuno L. Ferreira" <nunolf@gmail.com> Cc: "Boris Derzhavets" <bderzhavets@yahoo.com>, "xen-users" <xen-users@lists.xensource.com> Date: Monday, May 17, 2010, 6:54 PM You need http://lists.xensource.com/archives/html/xen-devel/2010-04/msg00748.html On 17 May 2010 23:24, Nuno L. Ferreira <nunolf@gmail.com> wrote: Dear *, Boris I tried to follow your steps (installing Lucid x86_64 PV domU on a CentOS 54 x86_64 dom0, running xen 3.4.2 from gitco) ... but was not successful. Something is still escaping me. Installation went just fine till the end after a "xm create -c lucid.xen" (see below). After installation (without any modifications to what was installed) I edited the xen config file (test.xen, see below) to boot with pygrub instead. But I get the following error: Error: Boot loader didn''t return any data! I checked that the new domU does not have /usr/bin/pygrub, and this explains the error. So Boris, how did you boot your ubunto based domU after a netboot installation? I did not tried yet the debootstrap method also suggested ... first I want to know what I''m doing wrong here. I''m a bit lost on setting up an ubunto domU, first time getting outside RedHat like OSes. So if there are some good working links to blogs/tutorials on how to install ubunto domU''s on RedHat like dom0''s I''ll appreciate. Cheers, N. P.S. Steps taken : 1 - lvcreate -n domu.ubunto.lucid -L 4G vg1 2 - mkfs.ext3 /dev/vg1/domu.ubunto.lucid 3 - wget http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/vmlinuz 4 - wget http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/initrd.gz 5 - cat lucid.xen name = "lucid" memory = 1024 disk = [''phy:/dev/vg1/domu.ubunto.lucid,xvda,w'' ] vif = [ ''bridge=eth0'' ] kernel = "/mnt/dom0/data/domu.setup/ubunto/lucid/vmlinuz" ramdisk = "/mnt/dom0/data/domu.setup/ubunto/lucid/initrd.gz" vcpus = 1 on_reboot = ''destroy'' on_crash = ''destroy'' 6 - xm create -c lucid.xen ... installation goes just fine ... 7 - cat test.xen name = "test" memory = 512 maxmem = 1024 bootloader = ''/usr/bin/pygrub'' disk = [''phy:/dev/vg1/domu.spyder.root,xvda,w'' ] vif = [ ''bridge=eth0'' ] vcpus = 1 on_poweroff = ''destroy'' on_reboot = ''restart'' on_crash = ''restart'' 8 - xm create -c test.xen Using config file "./test.xen". Error: Boot loader didn''t return any data! Boris Derzhavets wrote: I was able to start installer : root@ServerLnx:/home/boris/ubuntu# wget http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/vmlinuz --2010-05-13 12:36:14-- http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/vmlinuz Resolving archive.ubuntu.com... 91.189.92.167, 91.189.88.30, 91.189.88.31, ... Connecting to archive.ubuntu.com|91.189.92.167|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 4037888 (3.9M) [text/plain] Saving to: `vmlinuz'' 100%[========================================================================>] 4,037,888 101K/s in 27s 2010-05-13 12:36:41 (144 KB/s) - `vmlinuz'' saved [4037888/4037888] root@ServerLnx:/home/boris/ubuntu# wget http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/initrd.gz --2010-05-13 12:37:02-- http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/initrd.gz Resolving archive.ubuntu.com... 91.189.92.166, 91.189.92.167, 91.189.88.30, ... Connecting to archive.ubuntu.com|91.189.92.166|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 9678415 (9.2M) [application/x-gzip] Saving to: `initrd.gz'' 100%[========================================================================>] 9,678,415 200K/s in 60s 2010-05-13 12:38:03 (156 KB/s) - `initrd.gz'' saved [9678415/9678415] root@ServerLnx:/home/boris/ubuntu# cat ubuntu.cfg name="U10PV" memory=2048 disk = [''phy:/dev/sdb5,xvda,w'' ] vif = [ ''bridge=eth0'' ] # vfb = [ ''type=vnc,vncunused=1''] kernel = "/home/boris/ubuntu/vmlinuz" ramdisk = "/home/boris/ubuntu/initrd.gz" vcpus=2 on_reboot = ''restart'' on_crash = ''restart'' # xm create -c ubuntu.cfg and see several obvious disadvantages (vs HVM convertion) : 1. VFB doesn''t work 2. After selecting local mirror "Installing base system" is already running for 15 min at 2MB/sec ADSL connection. Boris. -----Inline Attachment Follows----- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I read this and I gather I need to be running Xen 4.0 in order to run Ubuntu 10.04 as a pv domu... is that correct? I am currently at 3.4.2 on a centos 5.4 dom0 but need to run some ubuntu domu''s very badly. Please advise! -- Donny B. On Monday, May 17, 2010 10:39 PM CDT, Boris Derzhavets <bderzhavets@yahoo.com> wrote:> > I tried to follow your steps (installing Lucid x86_64 PV domU on a > CentOS 54 x86_64 dom0, running xen 3.4.2 from gitco) ... but was not > successful. Something is still escaping me. > > Yes , you missing David''s patch. Personally , i could back port it only to Xen 4.0, > even Xen 3.4.3 was not enough. Some other CSs from 4.0 are required for consistency and you don''t know which ones. > > You are at 3.4.2 ! > > I believe gitco did Xen 4.0 rpms. Gitgo''s 4.0 src.rpm has to patched per David and rpms rebuilt. That ''s in case you want "pygrub" to be bootloader for DomU . It''s comfortable, but not required. > > Boris. > > --- On Mon, 5/17/10, David Markey <admin@dmarkey.com> wrote: > > From: David Markey <admin@dmarkey.com> > Subject: Re: [Xen-users] Install ubunto domU > To: "Nuno L. Ferreira" <nunolf@gmail.com> > Cc: "Boris Derzhavets" <bderzhavets@yahoo.com>, "xen-users" <xen-users@lists.xensource.com> > Date: Monday, May 17, 2010, 6:54 PM > > You need http://lists.xensource.com/archives/html/xen-devel/2010-04/msg00748.html > > > On 17 May 2010 23:24, Nuno L. Ferreira <nunolf@gmail.com> wrote: > > Dear *, Boris > > > > I tried to follow your steps (installing Lucid x86_64 PV domU on a CentOS 54 x86_64 dom0, running xen 3.4.2 from gitco) ... but was not successful. Something is still escaping me. > > Installation went just fine till the end after a "xm create -c lucid.xen" (see below). > > After installation (without any modifications to what was installed) I edited the xen config file (test.xen, see below) to boot with pygrub instead. But I get the following error: > > Error: Boot loader didn''t return any data! > > > > I checked that the new domU does not have /usr/bin/pygrub, and this explains the error. > > So Boris, how did you boot your ubunto based domU after a netboot installation? > > I did not tried yet the debootstrap method also suggested ... first I want to know what I''m doing wrong here. > > > > I''m a bit lost on setting up an ubunto domU, first time getting outside RedHat like OSes. So if there are some good working links to blogs/tutorials on how to install ubunto domU''s on RedHat like dom0''s I''ll appreciate. > > > > > Cheers, > > N. > > > > P.S. Steps taken : > > > > 1 - lvcreate -n domu.ubunto.lucid -L 4G vg1 > > 2 - mkfs.ext3 /dev/vg1/domu.ubunto.lucid > > 3 - wget http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/vmlinuz > > > 4 - wget http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/initrd.gz > > > 5 - cat lucid.xen > > name = "lucid" > > memory = 1024 > > disk = [''phy:/dev/vg1/domu.ubunto.lucid,xvda,w'' ] > > vif = [ ''bridge=eth0'' ] > > kernel = "/mnt/dom0/data/domu.setup/ubunto/lucid/vmlinuz" > > ramdisk = "/mnt/dom0/data/domu.setup/ubunto/lucid/initrd.gz" > > vcpus = 1 > > on_reboot = ''destroy'' > > on_crash = ''destroy'' > > > > 6 - xm create -c lucid.xen > > ... installation goes just fine ... > > 7 - cat test.xen > > name = "test" > > memory = 512 > > maxmem = 1024 > > bootloader = ''/usr/bin/pygrub'' > > disk = [''phy:/dev/vg1/domu.spyder.root,xvda,w'' ] > > vif = [ ''bridge=eth0'' ] > > vcpus = 1 > > on_poweroff = ''destroy'' > > on_reboot = ''restart'' > > on_crash = ''restart'' > > > > 8 - xm create -c test.xen > > Using config file "./test.xen". > > Error: Boot loader didn''t return any data! > > > > > > > > > > Boris Derzhavets wrote: > > > I was able to start installer : > > > > root@ServerLnx:/home/boris/ubuntu# wget http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/vmlinuz > > > --2010-05-13 12:36:14-- http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/vmlinuz > > > Resolving archive.ubuntu.com... 91.189.92.167, 91.189.88.30, 91.189.88.31, ... > > Connecting to archive.ubuntu.com|91.189.92.167|:80... connected. > > HTTP request sent, awaiting response... 200 OK > > Length: 4037888 (3.9M) [text/plain] > > Saving to: `vmlinuz'' > > > > 100%[========================================================================>] 4,037,888 101K/s in 27s > > 2010-05-13 12:36:41 (144 KB/s) - `vmlinuz'' saved [4037888/4037888] > > > > root@ServerLnx:/home/boris/ubuntu# wget http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/initrd.gz > > > --2010-05-13 12:37:02-- http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/initrd.gz > > > Resolving archive.ubuntu.com... 91.189.92.166, 91.189.92.167, 91.189.88.30, ... > > Connecting to archive.ubuntu.com|91.189.92.166|:80... connected. > > HTTP request sent, awaiting response... 200 OK > > Length: 9678415 (9.2M) [application/x-gzip] > > Saving to: `initrd.gz'' > > > > 100%[========================================================================>] 9,678,415 200K/s in 60s > > 2010-05-13 12:38:03 (156 KB/s) - `initrd.gz'' saved [9678415/9678415] > > > > root@ServerLnx:/home/boris/ubuntu# cat ubuntu.cfg > > name="U10PV" > > memory=2048 > > disk = [''phy:/dev/sdb5,xvda,w'' ] > > vif = [ ''bridge=eth0'' ] > > # vfb = [ ''type=vnc,vncunused=1''] > > kernel = "/home/boris/ubuntu/vmlinuz" > > ramdisk = "/home/boris/ubuntu/initrd.gz" > > vcpus=2 > > on_reboot = ''restart'' > > on_crash = ''restart'' > > > > # xm create -c ubuntu.cfg > > > > and see several obvious disadvantages (vs HVM convertion) : > > > > 1. VFB doesn''t work > > 2. After selecting local mirror "Installing base system" is already running for 15 min > > at 2MB/sec ADSL connection. > > > > Boris. > > > > > > -----Inline Attachment Follows----- > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
You can run Ubuntu Lucid PV guest at 3.4.2, but not via "pygrub" Gitco.de/repo doesn''t contain required 4.0 src.rpm . It''s Gunter''s policy i guess. When he will make 4.0.1 he would probably provide it. I would remove CentOS 5.4 as Dom0 base and build system on F13 (F12) due to xen-4.0.0.-0.7.f12.src.rpm available at xensource. wget http://pasik.reaktio.net/fedora/xen-4.0.0-0.7.fc12.src.rpm Boris. --- On Thu, 5/27/10, Donny Brooks <dbrooks@mdah.state.ms.us> wrote: From: Donny Brooks <dbrooks@mdah.state.ms.us> Subject: Re: [Xen-users] Install ubunto domU To: "xen-users" <xen-users@lists.xensource.com> Date: Thursday, May 27, 2010, 3:21 PM I read this and I gather I need to be running Xen 4.0 in order to run Ubuntu 10.04 as a pv domu... is that correct? I am currently at 3.4.2 on a centos 5.4 dom0 but need to run some ubuntu domu''s very badly. Please advise! -- Donny B. On Monday, May 17, 2010 10:39 PM CDT, Boris Derzhavets <bderzhavets@yahoo.com> wrote:> > I tried to follow your steps (installing Lucid x86_64 PV domU on a > CentOS 54 x86_64 dom0, running xen 3.4.2 from gitco) ... but was not > successful. Something is still escaping me. > > Yes , you missing David''s patch. Personally , i could back port it only to Xen 4.0, > even Xen 3.4.3 was not enough. Some other CSs from 4.0 are required for consistency and you don''t know which ones. > > You are at 3.4.2 ! > > I believe gitco did Xen 4.0 rpms. Gitgo''s 4.0 src.rpm has to patched per David and rpms rebuilt. That ''s in case you want "pygrub" to be bootloader for DomU . It''s comfortable, but not required. > > Boris. > > --- On Mon, 5/17/10, David Markey <admin@dmarkey.com> wrote: > > From: David Markey <admin@dmarkey.com> > Subject: Re: [Xen-users] Install ubunto domU > To: "Nuno L. Ferreira" <nunolf@gmail.com> > Cc: "Boris Derzhavets" <bderzhavets@yahoo.com>, "xen-users" <xen-users@lists.xensource.com> > Date: Monday, May 17, 2010, 6:54 PM > > You need http://lists.xensource.com/archives/html/xen-devel/2010-04/msg00748.html > > > On 17 May 2010 23:24, Nuno L. Ferreira <nunolf@gmail.com> wrote: > > Dear *, Boris > > > > I tried to follow your steps (installing Lucid x86_64 PV domU on a CentOS 54 x86_64 dom0, running xen 3.4.2 from gitco) ... but was not successful. Something is still escaping me. > > Installation went just fine till the end after a "xm create -c lucid.xen" (see below). > > After installation (without any modifications to what was installed) I edited the xen config file (test.xen, see below) to boot with pygrub instead. But I get the following error: > > Error: Boot loader didn''t return any data! > > > > I checked that the new domU does not have /usr/bin/pygrub, and this explains the error. > > So Boris, how did you boot your ubunto based domU after a netboot installation? > > I did not tried yet the debootstrap method also suggested ... first I want to know what I''m doing wrong here. > > > > I''m a bit lost on setting up an ubunto domU, first time getting outside RedHat like OSes. So if there are some good working links to blogs/tutorials on how to install ubunto domU''s on RedHat like dom0''s I''ll appreciate. > > > > > Cheers, > > N. > > > > P.S. Steps taken : > > > > 1 - lvcreate -n domu.ubunto.lucid -L 4G vg1 > > 2 - mkfs.ext3 /dev/vg1/domu.ubunto.lucid > > 3 - wget http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/vmlinuz > > > 4 - wget http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/initrd.gz > > > 5 - cat lucid.xen > > name = "lucid" > > memory = 1024 > > disk = [''phy:/dev/vg1/domu.ubunto.lucid,xvda,w'' ] > > vif = [ ''bridge=eth0'' ] > > kernel = "/mnt/dom0/data/domu.setup/ubunto/lucid/vmlinuz" > > ramdisk = "/mnt/dom0/data/domu.setup/ubunto/lucid/initrd.gz" > > vcpus = 1 > > on_reboot = ''destroy'' > > on_crash = ''destroy'' > > > > 6 - xm create -c lucid.xen > > ... installation goes just fine ... > > 7 - cat test.xen > > name = "test" > > memory = 512 > > maxmem = 1024 > > bootloader = ''/usr/bin/pygrub'' > > disk = [''phy:/dev/vg1/domu.spyder.root,xvda,w'' ] > > vif = [ ''bridge=eth0'' ] > > vcpus = 1 > > on_poweroff = ''destroy'' > > on_reboot = ''restart'' > > on_crash = ''restart'' > > > > 8 - xm create -c test.xen > > Using config file "./test.xen". > > Error: Boot loader didn''t return any data! > > > > > > > > > > Boris Derzhavets wrote: > > > I was able to start installer : > > > > root@ServerLnx:/home/boris/ubuntu# wget http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/vmlinuz > > > --2010-05-13 12:36:14-- http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/vmlinuz > > > Resolving archive.ubuntu.com... 91.189.92.167, 91.189.88.30, 91.189.88.31, ... > > Connecting to archive.ubuntu.com|91.189.92.167|:80... connected. > > HTTP request sent, awaiting response... 200 OK > > Length: 4037888 (3.9M) [text/plain] > > Saving to: `vmlinuz'' > > > > 100%[========================================================================>] 4,037,888 101K/s in 27s > > 2010-05-13 12:36:41 (144 KB/s) - `vmlinuz'' saved [4037888/4037888] > > > > root@ServerLnx:/home/boris/ubuntu# wget http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/initrd.gz > > > --2010-05-13 12:37:02-- http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/initrd.gz > > > Resolving archive.ubuntu.com... 91.189.92.166, 91.189.92.167, 91.189.88.30, ... > > Connecting to archive.ubuntu.com|91.189.92.166|:80... connected. > > HTTP request sent, awaiting response... 200 OK > > Length: 9678415 (9.2M) [application/x-gzip] > > Saving to: `initrd.gz'' > > > > 100%[========================================================================>] 9,678,415 200K/s in 60s > > 2010-05-13 12:38:03 (156 KB/s) - `initrd.gz'' saved [9678415/9678415] > > > > root@ServerLnx:/home/boris/ubuntu# cat ubuntu.cfg > > name="U10PV" > > memory=2048 > > disk = [''phy:/dev/sdb5,xvda,w'' ] > > vif = [ ''bridge=eth0'' ] > > # vfb = [ ''type=vnc,vncunused=1''] > > kernel = "/home/boris/ubuntu/vmlinuz" > > ramdisk = "/home/boris/ubuntu/initrd.gz" > > vcpus=2 > > on_reboot = ''restart'' > > on_crash = ''restart'' > > > > # xm create -c ubuntu.cfg > > > > and see several obvious disadvantages (vs HVM convertion) : > > > > 1. VFB doesn''t work > > 2. After selecting local mirror "Installing base system" is already running for 15 min > > at 2MB/sec ADSL connection. > > > > Boris. > > > > > > -----Inline Attachment Follows----- > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi, if you are having a GUI then please use virt-manager. In case you are accessing the server remotely. Please follow this method on CentOS yum install virt-manager make sure in your sshd_config X11 Forwarding is enabled login remotely. To be able to export X from a remote CentOS server which does not have Gnome Desktop Manager running a library xorg-x11-xauth is needed to be installed on CentOS server. I got this solution here http://bugs.centos.org/view.php?id=2391 Then login remotely ssh root@centosdom0 -X virt-manager you will get a nice GUI and then you can give path to ISO,HTTP,NFS what ever Ubuntu has. You should be able to install.The other way of creating config files converting HVM to PVM will be difficult. Please use a nice GUI from virt-manager it will help you rather than going through complex process virt-manager can be used on various opearing systems Debian,Ubuntu,Fedora,RedHat. http://virt-manager.et.redhat.com/ The steps may not be exactly as mentioned on the following link http://www.cyberciti.biz/tips/rhel-centos-xen-virtualization-installation-howto.html but using GUI for some time you will get an idea. I have attached a file go through it. It is a correction of some ones blog at http://www.ideyatech.com/2010/05/virtualization-with-ubuntu-1004-lucid-lynx/ that blog is using Ubuntu as Host OS but the steps here in your case should be similar. It should help you. On Fri, May 28, 2010 at 12:51 AM, Donny Brooks <dbrooks@mdah.state.ms.us> wrote:> I read this and I gather I need to be running Xen 4.0 in order to run Ubuntu 10.04 as a pv domu... is that correct? I am currently at 3.4.2 on a centos 5.4 dom0 but need to run some ubuntu domu''s very badly. Please advise! > > > -- > > Donny B. > > On Monday, May 17, 2010 10:39 PM CDT, Boris Derzhavets <bderzhavets@yahoo.com> wrote: > >> > I tried to follow your steps (installing Lucid x86_64 PV domU on a >> CentOS 54 x86_64 dom0, running xen 3.4.2 from gitco) ... but was not >> successful. Something is still escaping me. >> >> Yes , you missing David''s patch. Personally , i could back port it only to Xen 4.0, >> even Xen 3.4.3 was not enough. Some other CSs from 4.0 are required for consistency and you don''t know which ones. >> >> You are at 3.4.2 ! >> >> I believe gitco did Xen 4.0 rpms. Gitgo''s 4.0 src.rpm has to patched per David and rpms rebuilt. That ''s in case you want "pygrub" to be bootloader for DomU . It''s comfortable, but not required. >> >> Boris. >> >> --- On Mon, 5/17/10, David Markey <admin@dmarkey.com> wrote: >> >> From: David Markey <admin@dmarkey.com> >> Subject: Re: [Xen-users] Install ubunto domU >> To: "Nuno L. Ferreira" <nunolf@gmail.com> >> Cc: "Boris Derzhavets" <bderzhavets@yahoo.com>, "xen-users" <xen-users@lists.xensource.com> >> Date: Monday, May 17, 2010, 6:54 PM >> >> You need http://lists.xensource.com/archives/html/xen-devel/2010-04/msg00748.html >> >> >> On 17 May 2010 23:24, Nuno L. Ferreira <nunolf@gmail.com> wrote: >> >> Dear *, Boris >> >> >> >> I tried to follow your steps (installing Lucid x86_64 PV domU on a CentOS 54 x86_64 dom0, running xen 3.4.2 from gitco) ... but was not successful. Something is still escaping me. >> >> Installation went just fine till the end after a "xm create -c lucid.xen" (see below). >> >> After installation (without any modifications to what was installed) I edited the xen config file (test.xen, see below) to boot with pygrub instead. But I get the following error: >> >> Error: Boot loader didn''t return any data! >> >> >> >> I checked that the new domU does not have /usr/bin/pygrub, and this explains the error. >> >> So Boris, how did you boot your ubunto based domU after a netboot installation? >> >> I did not tried yet the debootstrap method also suggested ... first I want to know what I''m doing wrong here. >> >> >> >> I''m a bit lost on setting up an ubunto domU, first time getting outside RedHat like OSes. So if there are some good working links to blogs/tutorials on how to install ubunto domU''s on RedHat like dom0''s I''ll appreciate. >> >> >> >> >> Cheers, >> >> N. >> >> >> >> P.S. Steps taken : >> >> >> >> 1 - lvcreate -n domu.ubunto.lucid -L 4G vg1 >> >> 2 - mkfs.ext3 /dev/vg1/domu.ubunto.lucid >> >> 3 - wget http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/vmlinuz >> >> >> 4 - wget http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/initrd.gz >> >> >> 5 - cat lucid.xen >> >> name = "lucid" >> >> memory = 1024 >> >> disk = [''phy:/dev/vg1/domu.ubunto.lucid,xvda,w'' ] >> >> vif = [ ''bridge=eth0'' ] >> >> kernel = "/mnt/dom0/data/domu.setup/ubunto/lucid/vmlinuz" >> >> ramdisk = "/mnt/dom0/data/domu.setup/ubunto/lucid/initrd.gz" >> >> vcpus = 1 >> >> on_reboot = ''destroy'' >> >> on_crash = ''destroy'' >> >> >> >> 6 - xm create -c lucid.xen >> >> ... installation goes just fine ... >> >> 7 - cat test.xen >> >> name = "test" >> >> memory = 512 >> >> maxmem = 1024 >> >> bootloader = ''/usr/bin/pygrub'' >> >> disk = [''phy:/dev/vg1/domu.spyder.root,xvda,w'' ] >> >> vif = [ ''bridge=eth0'' ] >> >> vcpus = 1 >> >> on_poweroff = ''destroy'' >> >> on_reboot = ''restart'' >> >> on_crash = ''restart'' >> >> >> >> 8 - xm create -c test.xen >> >> Using config file "./test.xen". >> >> Error: Boot loader didn''t return any data! >> >> >> >> >> >> >> >> >> >> Boris Derzhavets wrote: >> >> >> I was able to start installer : >> >> >> >> root@ServerLnx:/home/boris/ubuntu# wget http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/vmlinuz >> >> >> --2010-05-13 12:36:14-- http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/vmlinuz >> >> >> Resolving archive.ubuntu.com... 91.189.92.167, 91.189.88.30, 91.189.88.31, ... >> >> Connecting to archive.ubuntu.com|91.189.92.167|:80... connected. >> >> HTTP request sent, awaiting response... 200 OK >> >> Length: 4037888 (3.9M) [text/plain] >> >> Saving to: `vmlinuz'' >> >> >> >> 100%[========================================================================>] 4,037,888 101K/s in 27s >> >> 2010-05-13 12:36:41 (144 KB/s) - `vmlinuz'' saved [4037888/4037888] >> >> >> >> root@ServerLnx:/home/boris/ubuntu# wget http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/initrd.gz >> >> >> --2010-05-13 12:37:02-- http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/initrd.gz >> >> >> Resolving archive.ubuntu.com... 91.189.92.166, 91.189.92.167, 91.189.88.30, ... >> >> Connecting to archive.ubuntu.com|91.189.92.166|:80... connected. >> >> HTTP request sent, awaiting response... 200 OK >> >> Length: 9678415 (9.2M) [application/x-gzip] >> >> Saving to: `initrd.gz'' >> >> >> >> 100%[========================================================================>] 9,678,415 200K/s in 60s >> >> 2010-05-13 12:38:03 (156 KB/s) - `initrd.gz'' saved [9678415/9678415] >> >> >> >> root@ServerLnx:/home/boris/ubuntu# cat ubuntu.cfg >> >> name="U10PV" >> >> memory=2048 >> >> disk = [''phy:/dev/sdb5,xvda,w'' ] >> >> vif = [ ''bridge=eth0'' ] >> >> # vfb = [ ''type=vnc,vncunused=1''] >> >> kernel = "/home/boris/ubuntu/vmlinuz" >> >> ramdisk = "/home/boris/ubuntu/initrd.gz" >> >> vcpus=2 >> >> on_reboot = ''restart'' >> >> on_crash = ''restart'' >> >> >> >> # xm create -c ubuntu.cfg >> >> >> >> and see several obvious disadvantages (vs HVM convertion) : >> >> >> >> 1. VFB doesn''t work >> >> 2. After selecting local mirror "Installing base system" is already running for 15 min >> >> at 2MB/sec ADSL connection. >> >> >> >> Boris. >> >> >> >> >> >> -----Inline Attachment Follows----- >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users >> >> >> > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >-- Tapas _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I''m very interested in this as well. What is pygrub? Are you saying that for the time being, if you want to use Ubuntu 10.04, you''d best use Fedora 13 or 12? Thanks On 28/05/10 05:39, Boris Derzhavets wrote:> You can run Ubuntu Lucid PV guest at 3.4.2, but not via "pygrub" > Gitco.de/repo doesn''t contain required 4.0 src.rpm . It''s Gunter''s > policy i guess. > When he will make 4.0.1 he would probably provide it. > I would remove CentOS 5.4 as Dom0 base and build system on F13 (F12) > due to xen-4.0.0.-0.7.f12.src.rpm available at xensource. > > |wget http://pasik.reaktio.net/fedora/xen-4.0.0-0.7.fc12.src.rpm| > > Boris. > > > --- On *Thu, 5/27/10, Donny Brooks /<dbrooks@mdah.state.ms.us>/* wrote: > > > From: Donny Brooks <dbrooks@mdah.state.ms.us> > Subject: Re: [Xen-users] Install ubunto domU > To: "xen-users" <xen-users@lists.xensource.com> > Date: Thursday, May 27, 2010, 3:21 PM > > I read this and I gather I need to be running Xen 4.0 in order to > run Ubuntu 10.04 as a pv domu... is that correct? I am currently > at 3.4.2 on a centos 5.4 dom0 but need to run some ubuntu domu''s > very badly. Please advise! > > > -- > > Donny B. > > On Monday, May 17, 2010 10:39 PM CDT, Boris Derzhavets > <bderzhavets@yahoo.com </mc/compose?to=bderzhavets@yahoo.com>> wrote: > > > > I tried to follow your steps (installing Lucid x86_64 PV domU on a > > CentOS 54 x86_64 dom0, running xen 3.4.2 from gitco) ... but was not > > successful. Something is still escaping me. > > > > Yes , you missing David''s patch. Personally , i could back port > it only to Xen 4.0, > > even Xen 3.4.3 was not enough. Some other CSs from 4.0 are > required for consistency and you don''t know which ones. > > > > You are at 3.4.2 ! > > > > I believe gitco did Xen 4.0 rpms. Gitgo''s 4.0 src.rpm has to > patched per David and rpms rebuilt. That ''s in case you want > "pygrub" to be bootloader for DomU . It''s comfortable, but not > required. > > > > Boris. > > > > --- On Mon, 5/17/10, David Markey <admin@dmarkey.com > </mc/compose?to=admin@dmarkey.com>> wrote: > > > > From: David Markey <admin@dmarkey.com > </mc/compose?to=admin@dmarkey.com>> > > Subject: Re: [Xen-users] Install ubunto domU > > To: "Nuno L. Ferreira" <nunolf@gmail.com > </mc/compose?to=nunolf@gmail.com>> > > Cc: "Boris Derzhavets" <bderzhavets@yahoo.com > </mc/compose?to=bderzhavets@yahoo.com>>, "xen-users" > <xen-users@lists.xensource.com > </mc/compose?to=xen-users@lists.xensource.com>> > > Date: Monday, May 17, 2010, 6:54 PM > > > > You need > http://lists.xensource.com/archives/html/xen-devel/2010-04/msg00748.html > > > > > > On 17 May 2010 23:24, Nuno L. Ferreira <nunolf@gmail.com > </mc/compose?to=nunolf@gmail.com>> wrote: > > > > Dear *, Boris > > > > > > > > I tried to follow your steps (installing Lucid x86_64 PV domU on > a CentOS 54 x86_64 dom0, running xen 3.4.2 from gitco) ... but was > not successful. Something is still escaping me. > > > > Installation went just fine till the end after a "xm create -c > lucid.xen" (see below). > > > > After installation (without any modifications to what was > installed) I edited the xen config file (test.xen, see below) to > boot with pygrub instead. But I get the following error: > > > > Error: Boot loader didn''t return any data! > > > > > > > > I checked that the new domU does not have /usr/bin/pygrub, and > this explains the error. > > > > So Boris, how did you boot your ubunto based domU after a > netboot installation? > > > > I did not tried yet the debootstrap method also suggested ... > first I want to know what I''m doing wrong here. > > > > > > > > I''m a bit lost on setting up an ubunto domU, first time getting > outside RedHat like OSes. So if there are some good working links > to blogs/tutorials on how to install ubunto domU''s on RedHat like > dom0''s I''ll appreciate. > > > > > > > > > > Cheers, > > > > N. > > > > > > > > P.S. Steps taken : > > > > > > > > 1 - lvcreate -n domu.ubunto.lucid -L 4G vg1 > > > > 2 - mkfs.ext3 /dev/vg1/domu.ubunto.lucid > > > > 3 - wget > http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/vmlinuz > > > > > > 4 - wget > http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/initrd.gz > > > > > > 5 - cat lucid.xen > > > > name = "lucid" > > > > memory = 1024 > > > > disk = [''phy:/dev/vg1/domu.ubunto.lucid,xvda,w'' ] > > > > vif = [ ''bridge=eth0'' ] > > > > kernel = "/mnt/dom0/data/domu.setup/ubunto/lucid/vmlinuz" > > > > ramdisk = "/mnt/dom0/data/domu.setup/ubunto/lucid/initrd.gz" > > > > vcpus = 1 > > > > on_reboot = ''destroy'' > > > > on_crash = ''destroy'' > > > > > > > > 6 - xm create -c lucid.xen > > > > ... installation goes just fine ... > > > > 7 - cat test.xen > > > > name = "test" > > > > memory = 512 > > > > maxmem = 1024 > > > > bootloader = ''/usr/bin/pygrub'' > > > > disk = [''phy:/dev/vg1/domu.spyder.root,xvda,w'' ] > > > > vif = [ ''bridge=eth0'' ] > > > > vcpus = 1 > > > > on_poweroff = ''destroy'' > > > > on_reboot = ''restart'' > > > > on_crash = ''restart'' > > > > > > > > 8 - xm create -c test.xen > > > > Using config file "./test.xen". > > > > Error: Boot loader didn''t return any data! > > > > > > > > > > > > > > > > > > > > Boris Derzhavets wrote: > > > > > > I was able to start installer : > > > > > > > > root@ServerLnx:/home/boris/ubuntu# wget > http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/vmlinuz > > > > > > --2010-05-13 12:36:14-- > http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/vmlinuz > > > > > > Resolving archive.ubuntu.com... 91.189.92.167, 91.189.88.30, > 91.189.88.31, ... > > > > Connecting to archive.ubuntu.com|91.189.92.167|:80... connected. > > > > HTTP request sent, awaiting response... 200 OK > > > > Length: 4037888 (3.9M) [text/plain] > > > > Saving to: `vmlinuz'' > > > > > > > > > 100%[========================================================================>] > 4,037,888 101K/s in 27s > > > > 2010-05-13 12:36:41 (144 KB/s) - `vmlinuz'' saved [4037888/4037888] > > > > > > > > root@ServerLnx:/home/boris/ubuntu# wget > http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/initrd.gz > > > > > > --2010-05-13 12:37:02-- > http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/initrd.gz > > > > > > Resolving archive.ubuntu.com... 91.189.92.166, 91.189.92.167, > 91.189.88.30, ... > > > > Connecting to archive.ubuntu.com|91.189.92.166|:80... connected. > > > > HTTP request sent, awaiting response... 200 OK > > > > Length: 9678415 (9.2M) [application/x-gzip] > > > > Saving to: `initrd.gz'' > > > > > > > > > 100%[========================================================================>] > 9,678,415 200K/s in 60s > > > > 2010-05-13 12:38:03 (156 KB/s) - `initrd.gz'' saved [9678415/9678415] > > > > > > > > root@ServerLnx:/home/boris/ubuntu# cat ubuntu.cfg > > > > name="U10PV" > > > > memory=2048 > > > > disk = [''phy:/dev/sdb5,xvda,w'' ] > > > > vif = [ ''bridge=eth0'' ] > > > > # vfb = [ ''type=vnc,vncunused=1''] > > > > kernel = "/home/boris/ubuntu/vmlinuz" > > > > ramdisk = "/home/boris/ubuntu/initrd.gz" > > > > vcpus=2 > > > > on_reboot = ''restart'' > > > > on_crash = ''restart'' > > > > > > > > # xm create -c ubuntu.cfg > > > > > > > > and see several obvious disadvantages (vs HVM convertion) : > > > > > > > > 1. VFB doesn''t work > > > > 2. After selecting local mirror "Installing base system" is > already running for 15 min > > > > at 2MB/sec ADSL connection. > > > > > > > > Boris. > > > > > > > > > > > > -----Inline Attachment Follows----- > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > </mc/compose?to=Xen-users@lists.xensource.com> > > http://lists.xensource.com/xen-users > > > > > > > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > </mc/compose?to=Xen-users@lists.xensource.com> > http://lists.xensource.com/xen-users > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> if you want touse Ubuntu 10.04, you''d best use Fedora 13 or 12? Yes. http://www.linuxtoday.com/infrastructure/2010052502335OSSV --- On Fri, 5/28/10, Jonathan Tripathy <jonnyt@abpni.co.uk> wrote: From: Jonathan Tripathy <jonnyt@abpni.co.uk> Subject: Re: [Xen-users] Install ubunto domU To: "Boris Derzhavets" <bderzhavets@yahoo.com>, Xen-users@lists.xensource.com Date: Friday, May 28, 2010, 4:25 AM I''m very interested in this as well. What is pygrub? Are you saying that for the time being, if you want to use Ubuntu 10.04, you''d best use Fedora 13 or 12? Thanks On 28/05/10 05:39, Boris Derzhavets wrote: You can run Ubuntu Lucid PV guest at 3.4.2, but not via "pygrub" Gitco.de/repo doesn''t contain required 4.0 src.rpm . It''s Gunter''s policy i guess. When he will make 4.0.1 he would probably provide it. I would remove CentOS 5.4 as Dom0 base and build system on F13 (F12) due to xen-4.0.0.-0.7.f12.src.rpm available at xensource. wget http://pasik.reaktio.net/fedora/xen-4.0.0-0.7.fc12.src.rpm Boris. --- On Thu, 5/27/10, Donny Brooks <dbrooks@mdah.state.ms.us> wrote: From: Donny Brooks <dbrooks@mdah.state.ms.us> Subject: Re: [Xen-users] Install ubunto domU To: "xen-users" <xen-users@lists.xensource.com> Date: Thursday, May 27, 2010, 3:21 PM I read this and I gather I need to be running Xen 4.0 in order to run Ubuntu 10.04 as a pv domu... is that correct? I am currently at 3.4.2 on a centos 5.4 dom0 but need to run some ubuntu domu''s very badly. Please advise! -- Donny B. On Monday, May 17, 2010 10:39 PM CDT, Boris Derzhavets <bderzhavets@yahoo.com> wrote:> > I tried to follow your steps (installing Lucid x86_64 PV domUon a> CentOS 54 x86_64 dom0, running xen 3.4.2 from gitco) ... but wasnot> successful. Something is still escaping me.>> Yes , you missing David''s patch. Personally , i could back port itonly to Xen 4.0,> even Xen 3.4.3 was not enough. Some other CSs from 4.0 arerequired for consistency and you don''t know which ones.>> You are at 3.4.2 !>> I believe gitco did Xen 4.0 rpms. Gitgo''s 4.0 src.rpm has topatched per David and rpms rebuilt. That ''s in case you want "pygrub" to be bootloader for DomU . It''s comfortable, but not required.>> Boris.>> --- On Mon, 5/17/10, David Markey <admin@dmarkey.com>wrote:>> From: David Markey <admin@dmarkey.com>> Subject: Re: [Xen-users] Install ubunto domU> To: "Nuno L. Ferreira" <nunolf@gmail.com>> Cc: "Boris Derzhavets" <bderzhavets@yahoo.com>,"xen-users" <xen-users@lists.xensource.com>> Date: Monday, May 17, 2010, 6:54 PM>> You need http://lists.xensource.com/archives/html/xen-devel/2010-04/msg00748.html>>> On 17 May 2010 23:24, Nuno L. Ferreira <nunolf@gmail.com> wrote:>> Dear *, Boris>>>> I tried to follow your steps (installing Lucid x86_64 PV domU on aCentOS 54 x86_64 dom0, running xen 3.4.2 from gitco) ... but was not successful. Something is still escaping me.>> Installation went just fine till the end after a "xm create -clucid.xen" (see below).>> After installation (without any modifications to what wasinstalled) I edited the xen config file (test.xen, see below) to boot with pygrub instead. But I get the following error:>> Error: Boot loader didn''t return any data!>>>> I checked that the new domU does not have /usr/bin/pygrub, andthis explains the error.>> So Boris, how did you boot your ubunto based domU after a netbootinstallation?>> I did not tried yet the debootstrap method also suggested ...first I want to know what I''m doing wrong here.>>>> I''m a bit lost on setting up an ubunto domU, first time gettingoutside RedHat like OSes. So if there are some good working links to blogs/tutorials on how to install ubunto domU''s on RedHat like dom0''s I''ll appreciate.>>>>> Cheers,>> N.>>>> P.S. Steps taken :>>>> 1 - lvcreate -n domu.ubunto.lucid -L 4G vg1>> 2 - mkfs.ext3 /dev/vg1/domu.ubunto.lucid>> 3 - wget http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/vmlinuz>>> 4 - wget http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/initrd.gz>>> 5 - cat lucid.xen>> name = "lucid">> memory = 1024>> disk = [''phy:/dev/vg1/domu.ubunto.lucid,xvda,w'' ]>> vif = [ ''bridge=eth0'' ]>> kernel = "/mnt/dom0/data/domu.setup/ubunto/lucid/vmlinuz">> ramdisk = "/mnt/dom0/data/domu.setup/ubunto/lucid/initrd.gz">> vcpus = 1>> on_reboot = ''destroy''>> on_crash = ''destroy''>>>> 6 - xm create -c lucid.xen>> ... installation goes just fine ...>> 7 - cat test.xen>> name = "test">> memory = 512>> maxmem = 1024>> bootloader = ''/usr/bin/pygrub''>> disk = [''phy:/dev/vg1/domu.spyder.root,xvda,w'' ]>> vif = [ ''bridge=eth0'' ]>> vcpus = 1>> on_poweroff = ''destroy''>> on_reboot = ''restart''>> on_crash = ''restart''>>>> 8 - xm create -c test.xen>> Using config file "./test.xen".>> Error: Boot loader didn''t return any data!>>>>>>>>>> Boris Derzhavets wrote:>>> I was able to start installer :>>>> root@ServerLnx:/home/boris/ubuntu# wget http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/vmlinuz>>> --2010-05-13 12:36:14-- http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/vmlinuz>>> Resolving archive.ubuntu.com... 91.189.92.167, 91.189.88.30,91.189.88.31, ...>> Connecting to archive.ubuntu.com|91.189.92.167|:80... connected.>> HTTP request sent, awaiting response... 200 OK>> Length: 4037888 (3.9M) [text/plain]>> Saving to: `vmlinuz''>>>>100%[========================================================================>] 4,037,888 101K/s in 27s>> 2010-05-13 12:36:41 (144 KB/s) - `vmlinuz'' saved [4037888/4037888]>>>> root@ServerLnx:/home/boris/ubuntu# wget http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/initrd.gz>>> --2010-05-13 12:37:02-- http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/initrd.gz>>> Resolving archive.ubuntu.com... 91.189.92.166, 91.189.92.167,91.189.88.30, ...>> Connecting to archive.ubuntu.com|91.189.92.166|:80... connected.>> HTTP request sent, awaiting response... 200 OK>> Length: 9678415 (9.2M) [application/x-gzip]>> Saving to: `initrd.gz''>>>>100%[========================================================================>] 9,678,415 200K/s in 60s>> 2010-05-13 12:38:03 (156 KB/s) - `initrd.gz'' saved[9678415/9678415]>>>> root@ServerLnx:/home/boris/ubuntu# cat ubuntu.cfg>> name="U10PV">> memory=2048>> disk = [''phy:/dev/sdb5,xvda,w'' ]>> vif = [ ''bridge=eth0'' ]>> # vfb = [ ''type=vnc,vncunused=1'']>> kernel = "/home/boris/ubuntu/vmlinuz">> ramdisk = "/home/boris/ubuntu/initrd.gz">> vcpus=2>> on_reboot = ''restart''>> on_crash = ''restart''>>>> # xm create -c ubuntu.cfg>>>> and see several obvious disadvantages (vs HVM convertion) :>>>> 1. VFB doesn''t work>> 2. After selecting local mirror "Installing base system" isalready running for 15 min>> at 2MB/sec ADSL connection.>>>> Boris.>>>>>> -----Inline Attachment Follows----->> _______________________________________________> Xen-users mailing list> Xen-users@lists.xensource.com> http://lists.xensource.com/xen-users>>>_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users -----Inline Attachment Follows----- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Is there no way to install Ubuntu 10.04 in the current release of Xen (What ever comes with the latest CentOS) ? On 28/05/10 09:43, Boris Derzhavets wrote:> > if you want to use Ubuntu 10.04, you''d best use Fedora 13 or 12? > Yes. > > http://www.linuxtoday.com/infrastructure/2010052502335OSSV > > --- On *Fri, 5/28/10, Jonathan Tripathy /<jonnyt@abpni.co.uk>/* wrote: > > > From: Jonathan Tripathy <jonnyt@abpni.co.uk> > Subject: Re: [Xen-users] Install ubunto domU > To: "Boris Derzhavets" <bderzhavets@yahoo.com>, > Xen-users@lists.xensource.com > Date: Friday, May 28, 2010, 4:25 AM > > I''m very interested in this as well. > > What is pygrub? Are you saying that for the time being, if you > want to use Ubuntu 10.04, you''d best use Fedora 13 or 12? > > Thanks > > On 28/05/10 05:39, Boris Derzhavets wrote: >> You can run Ubuntu Lucid PV guest at 3.4.2, but not via "pygrub" >> Gitco.de/repo doesn''t contain required 4.0 src.rpm . It''s >> Gunter''s policy i guess. >> When he will make 4.0.1 he would probably provide it. >> I would remove CentOS 5.4 as Dom0 base and build system on F13 (F12) >> due to xen-4.0.0.-0.7.f12.src.rpm available at xensource. >> >> |wget http://pasik.reaktio.net/fedora/xen-4.0.0-0.7.fc12.src.rpm| >> >> Boris. >> >> >> --- On *Thu, 5/27/10, Donny Brooks /<dbrooks@mdah.state.ms.us>/* >> wrote: >> >> >> From: Donny Brooks <dbrooks@mdah.state.ms.us> >> Subject: Re: [Xen-users] Install ubunto domU >> To: "xen-users" <xen-users@lists.xensource.com> >> Date: Thursday, May 27, 2010, 3:21 PM >> >> I read this and I gather I need to be running Xen 4.0 in >> order to run Ubuntu 10.04 as a pv domu... is that correct? I >> am currently at 3.4.2 on a centos 5.4 dom0 but need to run >> some ubuntu domu''s very badly. Please advise! >> >> >> -- >> >> Donny B. >> >> On Monday, May 17, 2010 10:39 PM CDT, Boris Derzhavets >> <bderzhavets@yahoo.com> wrote: >> >> > > I tried to follow your steps (installing Lucid x86_64 PV >> domU on a >> > CentOS 54 x86_64 dom0, running xen 3.4.2 from gitco) ... >> but was not >> > successful. Something is still escaping me. >> > >> > Yes , you missing David''s patch. Personally , i could back >> port it only to Xen 4.0, >> > even Xen 3.4.3 was not enough. Some other CSs from 4.0 are >> required for consistency and you don''t know which ones. >> > >> > You are at 3.4.2 ! >> > >> > I believe gitco did Xen 4.0 rpms. Gitgo''s 4.0 src.rpm has >> to patched per David and rpms rebuilt. That ''s in case you >> want "pygrub" to be bootloader for DomU . It''s comfortable, >> but not required. >> > >> > Boris. >> > >> > --- On Mon, 5/17/10, David Markey <admin@dmarkey.com> wrote: >> > >> > From: David Markey <admin@dmarkey.com> >> > Subject: Re: [Xen-users] Install ubunto domU >> > To: "Nuno L. Ferreira" <nunolf@gmail.com> >> > Cc: "Boris Derzhavets" <bderzhavets@yahoo.com>, "xen-users" >> <xen-users@lists.xensource.com> >> > Date: Monday, May 17, 2010, 6:54 PM >> > >> > You need >> http://lists.xensource.com/archives/html/xen-devel/2010-04/msg00748.html >> > >> > >> > On 17 May 2010 23:24, Nuno L. Ferreira <nunolf@gmail.com> >> wrote: >> > >> > Dear *, Boris >> > >> > >> > >> > I tried to follow your steps (installing Lucid x86_64 PV >> domU on a CentOS 54 x86_64 dom0, running xen 3.4.2 from >> gitco) ... but was not successful. Something is still >> escaping me. >> > >> > Installation went just fine till the end after a "xm create >> -c lucid.xen" (see below). >> > >> > After installation (without any modifications to what was >> installed) I edited the xen config file (test.xen, see below) >> to boot with pygrub instead. But I get the following error: >> > >> > Error: Boot loader didn''t return any data! >> > >> > >> > >> > I checked that the new domU does not have /usr/bin/pygrub, >> and this explains the error. >> > >> > So Boris, how did you boot your ubunto based domU after a >> netboot installation? >> > >> > I did not tried yet the debootstrap method also suggested >> ... first I want to know what I''m doing wrong here. >> > >> > >> > >> > I''m a bit lost on setting up an ubunto domU, first time >> getting outside RedHat like OSes. So if there are some good >> working links to blogs/tutorials on how to install ubunto >> domU''s on RedHat like dom0''s I''ll appreciate. >> > >> > >> > >> > >> > Cheers, >> > >> > N. >> > >> > >> > >> > P.S. Steps taken : >> > >> > >> > >> > 1 - lvcreate -n domu.ubunto.lucid -L 4G vg1 >> > >> > 2 - mkfs.ext3 /dev/vg1/domu.ubunto.lucid >> > >> > 3 - wget >> http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/vmlinuz >> > >> > >> > 4 - wget >> http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/initrd.gz >> > >> > >> > 5 - cat lucid.xen >> > >> > name = "lucid" >> > >> > memory = 1024 >> > >> > disk = [''phy:/dev/vg1/domu.ubunto.lucid,xvda,w'' ] >> > >> > vif = [ ''bridge=eth0'' ] >> > >> > kernel = "/mnt/dom0/data/domu.setup/ubunto/lucid/vmlinuz" >> > >> > ramdisk = "/mnt/dom0/data/domu.setup/ubunto/lucid/initrd.gz" >> > >> > vcpus = 1 >> > >> > on_reboot = ''destroy'' >> > >> > on_crash = ''destroy'' >> > >> > >> > >> > 6 - xm create -c lucid.xen >> > >> > ... installation goes just fine ... >> > >> > 7 - cat test.xen >> > >> > name = "test" >> > >> > memory = 512 >> > >> > maxmem = 1024 >> > >> > bootloader = ''/usr/bin/pygrub'' >> > >> > disk = [''phy:/dev/vg1/domu.spyder.root,xvda,w'' ] >> > >> > vif = [ ''bridge=eth0'' ] >> > >> > vcpus = 1 >> > >> > on_poweroff = ''destroy'' >> > >> > on_reboot = ''restart'' >> > >> > on_crash = ''restart'' >> > >> > >> > >> > 8 - xm create -c test.xen >> > >> > Using config file "./test.xen". >> > >> > Error: Boot loader didn''t return any data! >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > Boris Derzhavets wrote: >> > >> > >> > I was able to start installer : >> > >> > >> > >> > root@ServerLnx:/home/boris/ubuntu# wget >> http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/vmlinuz >> > >> > >> > --2010-05-13 12:36:14-- >> http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/vmlinuz >> > >> > >> > Resolving archive.ubuntu.com... 91.189.92.167, >> 91.189.88.30, 91.189.88.31, ... >> > >> > Connecting to archive.ubuntu.com|91.189.92.167|:80... >> connected. >> > >> > HTTP request sent, awaiting response... 200 OK >> > >> > Length: 4037888 (3.9M) [text/plain] >> > >> > Saving to: `vmlinuz'' >> > >> > >> > >> > >> 100%[========================================================================>] >> 4,037,888 101K/s in 27s >> > >> > 2010-05-13 12:36:41 (144 KB/s) - `vmlinuz'' saved >> [4037888/4037888] >> > >> > >> > >> > root@ServerLnx:/home/boris/ubuntu# wget >> http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/initrd.gz >> > >> > >> > --2010-05-13 12:37:02-- >> http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/initrd.gz >> > >> > >> > Resolving archive.ubuntu.com... 91.189.92.166, >> 91.189.92.167, 91.189.88.30, ... >> > >> > Connecting to archive.ubuntu.com|91.189.92.166|:80... >> connected. >> > >> > HTTP request sent, awaiting response... 200 OK >> > >> > Length: 9678415 (9.2M) [application/x-gzip] >> > >> > Saving to: `initrd.gz'' >> > >> > >> > >> > >> 100%[========================================================================>] >> 9,678,415 200K/s in 60s >> > >> > 2010-05-13 12:38:03 (156 KB/s) - `initrd.gz'' saved >> [9678415/9678415] >> > >> > >> > >> > root@ServerLnx:/home/boris/ubuntu# cat ubuntu.cfg >> > >> > name="U10PV" >> > >> > memory=2048 >> > >> > disk = [''phy:/dev/sdb5,xvda,w'' ] >> > >> > vif = [ ''bridge=eth0'' ] >> > >> > # vfb = [ ''type=vnc,vncunused=1''] >> > >> > kernel = "/home/boris/ubuntu/vmlinuz" >> > >> > ramdisk = "/home/boris/ubuntu/initrd.gz" >> > >> > vcpus=2 >> > >> > on_reboot = ''restart'' >> > >> > on_crash = ''restart'' >> > >> > >> > >> > # xm create -c ubuntu.cfg >> > >> > >> > >> > and see several obvious disadvantages (vs HVM convertion) : >> > >> > >> > >> > 1. VFB doesn''t work >> > >> > 2. After selecting local mirror "Installing base system" is >> already running for 15 min >> > >> > at 2MB/sec ADSL connection. >> > >> > >> > >> > Boris. >> > >> > >> > >> > >> > >> > -----Inline Attachment Follows----- >> > >> > _______________________________________________ >> > Xen-users mailing list >> > Xen-users@lists.xensource.com >> > http://lists.xensource.com/xen-users >> > >> > >> > >> >> >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users >> >> >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users > > -----Inline Attachment Follows----- > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > </mc/compose?to=Xen-users@lists.xensource.com> > http://lists.xensource.com/xen-users > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Not via "pygrub". It is pretty easy to install Lucid in PV DomU. Copy off the disk kernel and intrd to Dom0, as granny taught. Boris. --- On Fri, 5/28/10, Jonathan Tripathy <jonnyt@abpni.co.uk> wrote: From: Jonathan Tripathy <jonnyt@abpni.co.uk> Subject: Re: [Xen-users] Install ubunto domU To: "Boris Derzhavets" <bderzhavets@yahoo.com>, xen-users@lists.xensource.com Date: Friday, May 28, 2010, 5:02 AM Is there no way to install Ubuntu 10.04 in the current release of Xen (What ever comes with the latest CentOS) ? On 28/05/10 09:43, Boris Derzhavets wrote: > if you want to use Ubuntu 10.04, you''d best use Fedora 13 or 12? Yes. http://www.linuxtoday.com/infrastructure/2010052502335OSSV --- On Fri, 5/28/10, Jonathan Tripathy <jonnyt@abpni.co.uk> wrote: From: Jonathan Tripathy <jonnyt@abpni.co.uk> Subject: Re: [Xen-users] Install ubunto domU To: "Boris Derzhavets" <bderzhavets@yahoo.com>, Xen-users@lists.xensource.com Date: Friday, May 28, 2010, 4:25 AM I''m very interested in this as well. What is pygrub? Are you saying that for the time being, if you want to use Ubuntu 10.04, you''d best use Fedora 13 or 12? Thanks On 28/05/10 05:39, Boris Derzhavets wrote: You can run Ubuntu Lucid PV guest at 3.4.2, but not via "pygrub" Gitco.de/repo doesn''t contain required 4.0 src.rpm . It''s Gunter''s policy i guess. When he will make 4.0.1 he would probably provide it. I would remove CentOS 5.4 as Dom0 base and build system on F13 (F12) due to xen-4.0.0.-0.7.f12.src.rpm available at xensource. wget http://pasik.reaktio.net/fedora/xen-4.0.0-0.7.fc12.src.rpm Boris. --- On Thu, 5/27/10, Donny Brooks <dbrooks@mdah.state.ms.us> wrote: From: Donny Brooks <dbrooks@mdah.state.ms.us> Subject: Re: [Xen-users] Install ubunto domU To: "xen-users" <xen-users@lists.xensource.com> Date: Thursday, May 27, 2010, 3:21 PM I read this and I gather I need to be running Xen 4.0 in order to run Ubuntu 10.04 as a pv domu... is that correct? I am currently at 3.4.2 on a centos 5.4 dom0 but need to run some ubuntu domu''s very badly. Please advise! -- Donny B. On Monday, May 17, 2010 10:39 PM CDT, Boris Derzhavets <bderzhavets@yahoo.com> wrote:> > I tried to follow your steps (installing Lucid x86_64 PV domUon a> CentOS 54 x86_64 dom0, running xen 3.4.2 from gitco) ... but wasnot> successful. Something is still escaping me.>> Yes , you missing David''s patch. Personally , i could back port itonly to Xen 4.0,> even Xen 3.4.3 was not enough. Some other CSs from 4.0 arerequired for consistency and you don''t know which ones.>> You are at 3.4.2 !>> I believe gitco did Xen 4.0 rpms. Gitgo''s 4.0 src.rpm has topatched per David and rpms rebuilt. That ''s in case you want "pygrub" to be bootloader for DomU . It''s comfortable, but not required.>> Boris.>> --- On Mon, 5/17/10, David Markey <admin@dmarkey.com>wrote:>> From: David Markey <admin@dmarkey.com>> Subject: Re: [Xen-users] Install ubunto domU> To: "Nuno L. Ferreira" <nunolf@gmail.com>> Cc: "Boris Derzhavets" <bderzhavets@yahoo.com>,"xen-users" <xen-users@lists.xensource.com>> Date: Monday, May 17, 2010, 6:54 PM>> You need http://lists.xensource.com/archives/html/xen-devel/2010-04/msg00748.html>>> On 17 May 2010 23:24, Nuno L. Ferreira <nunolf@gmail.com> wrote:>> Dear *, Boris>>>> I tried to follow your steps (installing Lucid x86_64 PV domU on aCentOS 54 x86_64 dom0, running xen 3.4.2 from gitco) ... but was not successful. Something is still escaping me.>> Installation went just fine till the end after a "xm create -clucid.xen" (see below).>> After installation (without any modifications to what wasinstalled) I edited the xen config file (test.xen, see below) to boot with pygrub instead. But I get the following error:>> Error: Boot loader didn''t return any data!>>>> I checked that the new domU does not have /usr/bin/pygrub, andthis explains the error.>> So Boris, how did you boot your ubunto based domU after a netbootinstallation?>> I did not tried yet the debootstrap method also suggested ...first I want to know what I''m doing wrong here.>>>> I''m a bit lost on setting up an ubunto domU, first time gettingoutside RedHat like OSes. So if there are some good working links to blogs/tutorials on how to install ubunto domU''s on RedHat like dom0''s I''ll appreciate.>>>>> Cheers,>> N.>>>> P.S. Steps taken :>>>> 1 - lvcreate -n domu.ubunto.lucid -L 4G vg1>> 2 - mkfs.ext3 /dev/vg1/domu.ubunto.lucid>> 3 - wget http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/vmlinuz>>> 4 - wget http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/initrd.gz>>> 5 - cat lucid.xen>> name = "lucid">> memory = 1024>> disk = [''phy:/dev/vg1/domu.ubunto.lucid,xvda,w'' ]>> vif = [ ''bridge=eth0'' ]>> kernel = "/mnt/dom0/data/domu.setup/ubunto/lucid/vmlinuz">> ramdisk = "/mnt/dom0/data/domu.setup/ubunto/lucid/initrd.gz">> vcpus = 1>> on_reboot = ''destroy''>> on_crash = ''destroy''>>>> 6 - xm create -c lucid.xen>> ... installation goes just fine ...>> 7 - cat test.xen>> name = "test">> memory = 512>> maxmem = 1024>> bootloader = ''/usr/bin/pygrub''>> disk = [''phy:/dev/vg1/domu.spyder.root,xvda,w'' ]>> vif = [ ''bridge=eth0'' ]>> vcpus = 1>> on_poweroff = ''destroy''>> on_reboot = ''restart''>> on_crash = ''restart''>>>> 8 - xm create -c test.xen>> Using config file "./test.xen".>> Error: Boot loader didn''t return any data!>>>>>>>>>> Boris Derzhavets wrote:>>> I was able to start installer :>>>> root@ServerLnx:/home/boris/ubuntu# wget http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/vmlinuz>>> --2010-05-13 12:36:14-- http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/vmlinuz>>> Resolving archive.ubuntu.com... 91.189.92.167, 91.189.88.30,91.189.88.31, ...>> Connecting to archive.ubuntu.com|91.189.92.167|:80... connected.>> HTTP request sent, awaiting response... 200 OK>> Length: 4037888 (3.9M) [text/plain]>> Saving to: `vmlinuz''>>>>100%[========================================================================>] 4,037,888 101K/s in 27s>> 2010-05-13 12:36:41 (144 KB/s) - `vmlinuz'' saved [4037888/4037888]>>>> root@ServerLnx:/home/boris/ubuntu# wget http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/initrd.gz>>> --2010-05-13 12:37:02-- http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/initrd.gz>>> Resolving archive.ubuntu.com... 91.189.92.166, 91.189.92.167,91.189.88.30, ...>> Connecting to archive.ubuntu.com|91.189.92.166|:80... connected.>> HTTP request sent, awaiting response... 200 OK>> Length: 9678415 (9.2M) [application/x-gzip]>> Saving to: `initrd.gz''>>>>100%[========================================================================>] 9,678,415 200K/s in 60s>> 2010-05-13 12:38:03 (156 KB/s) - `initrd.gz'' saved[9678415/9678415]>>>> root@ServerLnx:/home/boris/ubuntu# cat ubuntu.cfg>> name="U10PV">> memory=2048>> disk = [''phy:/dev/sdb5,xvda,w'' ]>> vif = [ ''bridge=eth0'' ]>> # vfb = [ ''type=vnc,vncunused=1'']>> kernel = "/home/boris/ubuntu/vmlinuz">> ramdisk = "/home/boris/ubuntu/initrd.gz">> vcpus=2>> on_reboot = ''restart''>> on_crash = ''restart''>>>> # xm create -c ubuntu.cfg>>>> and see several obvious disadvantages (vs HVM convertion) :>>>> 1. VFB doesn''t work>> 2. After selecting local mirror "Installing base system" isalready running for 15 min>> at 2MB/sec ADSL connection.>>>> Boris.>>>>>> -----Inline Attachment Follows----->> _______________________________________________> Xen-users mailing list> Xen-users@lists.xensource.com> http://lists.xensource.com/xen-users>>>_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users -----Inline Attachment Follows----- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users -----Inline Attachment Follows----- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
What do you mean by "Copy off the disk kernel and intrd to Dom0" Also, what is pygrb compared to PV? Sorry I''m very new to Xen Thanks On 28/05/10 10:11, Boris Derzhavets wrote:> Not via "pygrub". It is pretty easy to install Lucid in PV DomU. Copy > off the disk > kernel and intrd to Dom0, as granny taught. > > Boris. > > --- On *Fri, 5/28/10, Jonathan Tripathy /<jonnyt@abpni.co.uk>/* wrote: > > > From: Jonathan Tripathy <jonnyt@abpni.co.uk> > Subject: Re: [Xen-users] Install ubunto domU > To: "Boris Derzhavets" <bderzhavets@yahoo.com>, > xen-users@lists.xensource.com > Date: Friday, May 28, 2010, 5:02 AM > > Is there no way to install Ubuntu 10.04 in the current release of > Xen (What ever comes with the latest CentOS) ? > > On 28/05/10 09:43, Boris Derzhavets wrote: >> > if you want to use Ubuntu 10.04, you''d best use Fedora 13 or 12? >> Yes. >> >> http://www.linuxtoday.com/infrastructure/2010052502335OSSV >> >> --- On *Fri, 5/28/10, Jonathan Tripathy /<jonnyt@abpni.co.uk>/* >> wrote: >> >> >> From: Jonathan Tripathy <jonnyt@abpni.co.uk> >> Subject: Re: [Xen-users] Install ubunto domU >> To: "Boris Derzhavets" <bderzhavets@yahoo.com>, >> Xen-users@lists.xensource.com >> Date: Friday, May 28, 2010, 4:25 AM >> >> I''m very interested in this as well. >> >> What is pygrub? Are you saying that for the time being, if >> you want to use Ubuntu 10.04, you''d best use Fedora 13 or 12? >> >> Thanks >> >> On 28/05/10 05:39, Boris Derzhavets wrote: >>> You can run Ubuntu Lucid PV guest at 3.4.2, but not via "pygrub" >>> Gitco.de/repo doesn''t contain required 4.0 src.rpm . It''s >>> Gunter''s policy i guess. >>> When he will make 4.0.1 he would probably provide it. >>> I would remove CentOS 5.4 as Dom0 base and build system on >>> F13 (F12) >>> due to xen-4.0.0.-0.7.f12.src.rpm available at xensource. >>> >>> |wget >>> http://pasik.reaktio.net/fedora/xen-4.0.0-0.7.fc12.src.rpm| >>> >>> Boris. >>> >>> >>> --- On *Thu, 5/27/10, Donny Brooks >>> /<dbrooks@mdah.state.ms.us>/* wrote: >>> >>> >>> From: Donny Brooks <dbrooks@mdah.state.ms.us> >>> Subject: Re: [Xen-users] Install ubunto domU >>> To: "xen-users" <xen-users@lists.xensource.com> >>> Date: Thursday, May 27, 2010, 3:21 PM >>> >>> I read this and I gather I need to be running Xen 4.0 in >>> order to run Ubuntu 10.04 as a pv domu... is that >>> correct? I am currently at 3.4.2 on a centos 5.4 dom0 >>> but need to run some ubuntu domu''s very badly. Please >>> advise! >>> >>> >>> -- >>> >>> Donny B. >>> >>> On Monday, May 17, 2010 10:39 PM CDT, Boris Derzhavets >>> <bderzhavets@yahoo.com> wrote: >>> >>> > > I tried to follow your steps (installing Lucid >>> x86_64 PV domU on a >>> > CentOS 54 x86_64 dom0, running xen 3.4.2 from gitco) >>> ... but was not >>> > successful. Something is still escaping me. >>> > >>> > Yes , you missing David''s patch. Personally , i could >>> back port it only to Xen 4.0, >>> > even Xen 3.4.3 was not enough. Some other CSs from 4.0 >>> are required for consistency and you don''t know which ones. >>> > >>> > You are at 3.4.2 ! >>> > >>> > I believe gitco did Xen 4.0 rpms. Gitgo''s 4.0 src.rpm >>> has to patched per David and rpms rebuilt. That ''s in >>> case you want "pygrub" to be bootloader for DomU . It''s >>> comfortable, but not required. >>> > >>> > Boris. >>> > >>> > --- On Mon, 5/17/10, David Markey <admin@dmarkey.com> >>> wrote: >>> > >>> > From: David Markey <admin@dmarkey.com> >>> > Subject: Re: [Xen-users] Install ubunto domU >>> > To: "Nuno L. Ferreira" <nunolf@gmail.com> >>> > Cc: "Boris Derzhavets" <bderzhavets@yahoo.com>, >>> "xen-users" <xen-users@lists.xensource.com> >>> > Date: Monday, May 17, 2010, 6:54 PM >>> > >>> > You need >>> http://lists.xensource.com/archives/html/xen-devel/2010-04/msg00748.html >>> > >>> > >>> > On 17 May 2010 23:24, Nuno L. Ferreira >>> <nunolf@gmail.com> wrote: >>> > >>> > Dear *, Boris >>> > >>> > >>> > >>> > I tried to follow your steps (installing Lucid x86_64 >>> PV domU on a CentOS 54 x86_64 dom0, running xen 3.4.2 >>> from gitco) ... but was not successful. Something is >>> still escaping me. >>> > >>> > Installation went just fine till the end after a "xm >>> create -c lucid.xen" (see below). >>> > >>> > After installation (without any modifications to what >>> was installed) I edited the xen config file (test.xen, >>> see below) to boot with pygrub instead. But I get the >>> following error: >>> > >>> > Error: Boot loader didn''t return any data! >>> > >>> > >>> > >>> > I checked that the new domU does not have >>> /usr/bin/pygrub, and this explains the error. >>> > >>> > So Boris, how did you boot your ubunto based domU >>> after a netboot installation? >>> > >>> > I did not tried yet the debootstrap method also >>> suggested ... first I want to know what I''m doing wrong >>> here. >>> > >>> > >>> > >>> > I''m a bit lost on setting up an ubunto domU, first >>> time getting outside RedHat like OSes. So if there are >>> some good working links to blogs/tutorials on how to >>> install ubunto domU''s on RedHat like dom0''s I''ll appreciate. >>> > >>> > >>> > >>> > >>> > Cheers, >>> > >>> > N. >>> > >>> > >>> > >>> > P.S. Steps taken : >>> > >>> > >>> > >>> > 1 - lvcreate -n domu.ubunto.lucid -L 4G vg1 >>> > >>> > 2 - mkfs.ext3 /dev/vg1/domu.ubunto.lucid >>> > >>> > 3 - wget >>> http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/vmlinuz >>> > >>> > >>> > 4 - wget >>> http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/initrd.gz >>> > >>> > >>> > 5 - cat lucid.xen >>> > >>> > name = "lucid" >>> > >>> > memory = 1024 >>> > >>> > disk = [''phy:/dev/vg1/domu.ubunto.lucid,xvda,w'' ] >>> > >>> > vif = [ ''bridge=eth0'' ] >>> > >>> > kernel >>> "/mnt/dom0/data/domu.setup/ubunto/lucid/vmlinuz" >>> > >>> > ramdisk >>> "/mnt/dom0/data/domu.setup/ubunto/lucid/initrd.gz" >>> > >>> > vcpus = 1 >>> > >>> > on_reboot = ''destroy'' >>> > >>> > on_crash = ''destroy'' >>> > >>> > >>> > >>> > 6 - xm create -c lucid.xen >>> > >>> > ... installation goes just fine ... >>> > >>> > 7 - cat test.xen >>> > >>> > name = "test" >>> > >>> > memory = 512 >>> > >>> > maxmem = 1024 >>> > >>> > bootloader = ''/usr/bin/pygrub'' >>> > >>> > disk = [''phy:/dev/vg1/domu.spyder.root,xvda,w'' ] >>> > >>> > vif = [ ''bridge=eth0'' ] >>> > >>> > vcpus = 1 >>> > >>> > on_poweroff = ''destroy'' >>> > >>> > on_reboot = ''restart'' >>> > >>> > on_crash = ''restart'' >>> > >>> > >>> > >>> > 8 - xm create -c test.xen >>> > >>> > Using config file "./test.xen". >>> > >>> > Error: Boot loader didn''t return any data! >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > Boris Derzhavets wrote: >>> > >>> > >>> > I was able to start installer : >>> > >>> > >>> > >>> > root@ServerLnx:/home/boris/ubuntu# wget >>> http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/vmlinuz >>> > >>> > >>> > --2010-05-13 12:36:14-- >>> http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/vmlinuz >>> > >>> > >>> > Resolving archive.ubuntu.com... 91.189.92.167, >>> 91.189.88.30, 91.189.88.31, ... >>> > >>> > Connecting to archive.ubuntu.com|91.189.92.167|:80... >>> connected. >>> > >>> > HTTP request sent, awaiting response... 200 OK >>> > >>> > Length: 4037888 (3.9M) [text/plain] >>> > >>> > Saving to: `vmlinuz'' >>> > >>> > >>> > >>> > >>> 100%[========================================================================>] >>> 4,037,888 101K/s in 27s >>> > >>> > 2010-05-13 12:36:41 (144 KB/s) - `vmlinuz'' saved >>> [4037888/4037888] >>> > >>> > >>> > >>> > root@ServerLnx:/home/boris/ubuntu# wget >>> http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/initrd.gz >>> > >>> > >>> > --2010-05-13 12:37:02-- >>> http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/initrd.gz >>> > >>> > >>> > Resolving archive.ubuntu.com... 91.189.92.166, >>> 91.189.92.167, 91.189.88.30, ... >>> > >>> > Connecting to archive.ubuntu.com|91.189.92.166|:80... >>> connected. >>> > >>> > HTTP request sent, awaiting response... 200 OK >>> > >>> > Length: 9678415 (9.2M) [application/x-gzip] >>> > >>> > Saving to: `initrd.gz'' >>> > >>> > >>> > >>> > >>> 100%[========================================================================>] >>> 9,678,415 200K/s in 60s >>> > >>> > 2010-05-13 12:38:03 (156 KB/s) - `initrd.gz'' saved >>> [9678415/9678415] >>> > >>> > >>> > >>> > root@ServerLnx:/home/boris/ubuntu# cat ubuntu.cfg >>> > >>> > name="U10PV" >>> > >>> > memory=2048 >>> > >>> > disk = [''phy:/dev/sdb5,xvda,w'' ] >>> > >>> > vif = [ ''bridge=eth0'' ] >>> > >>> > # vfb = [ ''type=vnc,vncunused=1''] >>> > >>> > kernel = "/home/boris/ubuntu/vmlinuz" >>> > >>> > ramdisk = "/home/boris/ubuntu/initrd.gz" >>> > >>> > vcpus=2 >>> > >>> > on_reboot = ''restart'' >>> > >>> > on_crash = ''restart'' >>> > >>> > >>> > >>> > # xm create -c ubuntu.cfg >>> > >>> > >>> > >>> > and see several obvious disadvantages (vs HVM >>> convertion) : >>> > >>> > >>> > >>> > 1. VFB doesn''t work >>> > >>> > 2. After selecting local mirror "Installing base >>> system" is already running for 15 min >>> > >>> > at 2MB/sec ADSL connection. >>> > >>> > >>> > >>> > Boris. >>> > >>> > >>> > >>> > >>> > >>> > -----Inline Attachment Follows----- >>> > >>> > _______________________________________________ >>> > Xen-users mailing list >>> > Xen-users@lists.xensource.com >>> > http://lists.xensource.com/xen-users >>> > >>> > >>> > >>> >>> >>> >>> _______________________________________________ >>> Xen-users mailing list >>> Xen-users@lists.xensource.com >>> http://lists.xensource.com/xen-users >>> >>> >>> >>> _______________________________________________ >>> Xen-users mailing list >>> Xen-users@lists.xensource.com >>> http://lists.xensource.com/xen-users >> >> -----Inline Attachment Follows----- >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users >> >> > > -----Inline Attachment Follows----- > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > </mc/compose?to=Xen-users@lists.xensource.com> > http://lists.xensource.com/xen-users > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Thu, May 27, 2010 at 02:21:25PM -0500, Donny Brooks wrote:> I read this and I gather I need to be running Xen 4.0 in order to run Ubuntu 10.04 as a pv domu... is that correct? I am currently at 3.4.2 on a centos 5.4 dom0 but need to run some ubuntu domu''s very badly. Please advise! >Well.. it depends. Xen 4.0 pygrub supports ext4 /boot and grub2 grub.cfg config files. So if you want to use pygrub to load the ubuntu 10.04 kernel from the guest, then you need Xen 4.0 (or a pygrub with the patches added). But if you just have the ubuntu kernel/initrd in dom0, then you can pretty much use any old Xen version, I think. -- Pasi> > -- > > Donny B. > > On Monday, May 17, 2010 10:39 PM CDT, Boris Derzhavets <bderzhavets@yahoo.com> wrote: > > > > I tried to follow your steps (installing Lucid x86_64 PV domU on a > > CentOS 54 x86_64 dom0, running xen 3.4.2 from gitco) ... but was not > > successful. Something is still escaping me. > > > > Yes , you missing David''s patch. Personally , i could back port it only to Xen 4.0, > > even Xen 3.4.3 was not enough. Some other CSs from 4.0 are required for consistency and you don''t know which ones. > > > > You are at 3.4.2 ! > > > > I believe gitco did Xen 4.0 rpms. Gitgo''s 4.0 src.rpm has to patched per David and rpms rebuilt. That ''s in case you want "pygrub" to be bootloader for DomU . It''s comfortable, but not required. > > > > Boris. > > > > --- On Mon, 5/17/10, David Markey <admin@dmarkey.com> wrote: > > > > From: David Markey <admin@dmarkey.com> > > Subject: Re: [Xen-users] Install ubunto domU > > To: "Nuno L. Ferreira" <nunolf@gmail.com> > > Cc: "Boris Derzhavets" <bderzhavets@yahoo.com>, "xen-users" <xen-users@lists.xensource.com> > > Date: Monday, May 17, 2010, 6:54 PM > > > > You need http://lists.xensource.com/archives/html/xen-devel/2010-04/msg00748.html > > > > > > On 17 May 2010 23:24, Nuno L. Ferreira <nunolf@gmail.com> wrote: > > > > Dear *, Boris > > > > > > > > I tried to follow your steps (installing Lucid x86_64 PV domU on a CentOS 54 x86_64 dom0, running xen 3.4.2 from gitco) ... but was not successful. Something is still escaping me. > > > > Installation went just fine till the end after a "xm create -c lucid.xen" (see below). > > > > After installation (without any modifications to what was installed) I edited the xen config file (test.xen, see below) to boot with pygrub instead. But I get the following error: > > > > Error: Boot loader didn''t return any data! > > > > > > > > I checked that the new domU does not have /usr/bin/pygrub, and this explains the error. > > > > So Boris, how did you boot your ubunto based domU after a netboot installation? > > > > I did not tried yet the debootstrap method also suggested ... first I want to know what I''m doing wrong here. > > > > > > > > I''m a bit lost on setting up an ubunto domU, first time getting outside RedHat like OSes. So if there are some good working links to blogs/tutorials on how to install ubunto domU''s on RedHat like dom0''s I''ll appreciate. > > > > > > > > > > Cheers, > > > > N. > > > > > > > > P.S. Steps taken : > > > > > > > > 1 - lvcreate -n domu.ubunto.lucid -L 4G vg1 > > > > 2 - mkfs.ext3 /dev/vg1/domu.ubunto.lucid > > > > 3 - wget http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/vmlinuz > > > > > > 4 - wget http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/initrd.gz > > > > > > 5 - cat lucid.xen > > > > name = "lucid" > > > > memory = 1024 > > > > disk = [''phy:/dev/vg1/domu.ubunto.lucid,xvda,w'' ] > > > > vif = [ ''bridge=eth0'' ] > > > > kernel = "/mnt/dom0/data/domu.setup/ubunto/lucid/vmlinuz" > > > > ramdisk = "/mnt/dom0/data/domu.setup/ubunto/lucid/initrd.gz" > > > > vcpus = 1 > > > > on_reboot = ''destroy'' > > > > on_crash = ''destroy'' > > > > > > > > 6 - xm create -c lucid.xen > > > > ... installation goes just fine ... > > > > 7 - cat test.xen > > > > name = "test" > > > > memory = 512 > > > > maxmem = 1024 > > > > bootloader = ''/usr/bin/pygrub'' > > > > disk = [''phy:/dev/vg1/domu.spyder.root,xvda,w'' ] > > > > vif = [ ''bridge=eth0'' ] > > > > vcpus = 1 > > > > on_poweroff = ''destroy'' > > > > on_reboot = ''restart'' > > > > on_crash = ''restart'' > > > > > > > > 8 - xm create -c test.xen > > > > Using config file "./test.xen". > > > > Error: Boot loader didn''t return any data! > > > > > > > > > > > > > > > > > > > > Boris Derzhavets wrote: > > > > > > I was able to start installer : > > > > > > > > root@ServerLnx:/home/boris/ubuntu# wget http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/vmlinuz > > > > > > --2010-05-13 12:36:14-- http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/vmlinuz > > > > > > Resolving archive.ubuntu.com... 91.189.92.167, 91.189.88.30, 91.189.88.31, ... > > > > Connecting to archive.ubuntu.com|91.189.92.167|:80... connected. > > > > HTTP request sent, awaiting response... 200 OK > > > > Length: 4037888 (3.9M) [text/plain] > > > > Saving to: `vmlinuz'' > > > > > > > > 100%[========================================================================>] 4,037,888 101K/s in 27s > > > > 2010-05-13 12:36:41 (144 KB/s) - `vmlinuz'' saved [4037888/4037888] > > > > > > > > root@ServerLnx:/home/boris/ubuntu# wget http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/initrd.gz > > > > > > --2010-05-13 12:37:02-- http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/initrd.gz > > > > > > Resolving archive.ubuntu.com... 91.189.92.166, 91.189.92.167, 91.189.88.30, ... > > > > Connecting to archive.ubuntu.com|91.189.92.166|:80... connected. > > > > HTTP request sent, awaiting response... 200 OK > > > > Length: 9678415 (9.2M) [application/x-gzip] > > > > Saving to: `initrd.gz'' > > > > > > > > 100%[========================================================================>] 9,678,415 200K/s in 60s > > > > 2010-05-13 12:38:03 (156 KB/s) - `initrd.gz'' saved [9678415/9678415] > > > > > > > > root@ServerLnx:/home/boris/ubuntu# cat ubuntu.cfg > > > > name="U10PV" > > > > memory=2048 > > > > disk = [''phy:/dev/sdb5,xvda,w'' ] > > > > vif = [ ''bridge=eth0'' ] > > > > # vfb = [ ''type=vnc,vncunused=1''] > > > > kernel = "/home/boris/ubuntu/vmlinuz" > > > > ramdisk = "/home/boris/ubuntu/initrd.gz" > > > > vcpus=2 > > > > on_reboot = ''restart'' > > > > on_crash = ''restart'' > > > > > > > > # xm create -c ubuntu.cfg > > > > > > > > and see several obvious disadvantages (vs HVM convertion) : > > > > > > > > 1. VFB doesn''t work > > > > 2. After selecting local mirror "Installing base system" is already running for 15 min > > > > at 2MB/sec ADSL connection. > > > > > > > > Boris. > > > > > > > > > > > > -----Inline Attachment Follows----- > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > > > > > > > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Thu, May 27, 2010 at 09:39:51PM -0700, Boris Derzhavets wrote:> You can run Ubuntu Lucid PV guest at 3.4.2, but not via "pygrub" > Gitco.de/repo doesn''t contain required 4.0 src.rpm . It''s Gunter''s policy i guess. > When he will make 4.0.1 he would probably provide it. > I would remove CentOS 5.4 as Dom0 base and build system on F13 (F12) > due to xen-4.0.0.-0.7.f12.src.rpm available at xensource. >Or then use CentOS 5.5 as dom0 and apply the el5 pygrub grub2 patch from: https://bugzilla.redhat.com/show_bug.cgi?id=577511 -- Pasi> wget http://pasik.reaktio.net/fedora/xen-4.0.0-0.7.fc12.src.rpm > > Boris. > > > --- On Thu, 5/27/10, Donny Brooks <dbrooks@mdah.state.ms.us> wrote: > > From: Donny Brooks <dbrooks@mdah.state.ms.us> > Subject: Re: [Xen-users] Install ubunto domU > To: "xen-users" <xen-users@lists.xensource.com> > Date: Thursday, May 27, 2010, 3:21 PM > > I read this and I gather I need to be running Xen 4.0 in order to run Ubuntu 10.04 as a pv domu... is that > correct? I am currently at 3.4.2 on a centos 5.4 dom0 but need to run some ubuntu domu''s very badly. Please > advise! > > -- > > Donny B. > > On Monday, May 17, 2010 10:39 PM CDT, Boris Derzhavets <[1]bderzhavets@yahoo.com> wrote: > > > > I tried to follow your steps (installing Lucid x86_64 PV domU on a > > CentOS 54 x86_64 dom0, running xen 3.4.2 from gitco) ... but was not > > successful. Something is still escaping me. > > > > Yes , you missing David''s patch. Personally , i could back port it only to Xen 4.0, > > even Xen 3.4.3 was not enough. Some other CSs from 4.0 are required for consistency and you don''t know > which ones. > > > > You are at 3.4.2 ! > > > > I believe gitco did Xen 4.0 rpms. Gitgo''s 4.0 src.rpm has to patched per David and rpms rebuilt. That ''s > in case you want "pygrub" to be bootloader for DomU . It''s comfortable, but not required. > > > > Boris. > > > > --- On Mon, 5/17/10, David Markey <[2]admin@dmarkey.com> wrote: > > > > From: David Markey <[3]admin@dmarkey.com> > > Subject: Re: [Xen-users] Install ubunto domU > > To: "Nuno L. Ferreira" <[4]nunolf@gmail.com> > > Cc: "Boris Derzhavets" <[5]bderzhavets@yahoo.com>, "xen-users" <[6]xen-users@lists.xensource.com> > > Date: Monday, May 17, 2010, 6:54 PM > > > > You need [7]http://lists.xensource.com/archives/html/xen-devel/2010-04/msg00748.html > > > > > > On 17 May 2010 23:24, Nuno L. Ferreira <[8]nunolf@gmail.com> wrote: > > > > Dear *, Boris > > > > > > > > I tried to follow your steps (installing Lucid x86_64 PV domU on a CentOS 54 x86_64 dom0, running xen > 3.4.2 from gitco) ... but was not successful. Something is still escaping me. > > > > Installation went just fine till the end after a "xm create -c lucid.xen" (see below). > > > > After installation (without any modifications to what was installed) I edited the xen config file > (test.xen, see below) to boot with pygrub instead. But I get the following error: > > > > Error: Boot loader didn''t return any data! > > > > > > > > I checked that the new domU does not have /usr/bin/pygrub, and this explains the error. > > > > So Boris, how did you boot your ubunto based domU after a netboot installation? > > > > I did not tried yet the debootstrap method also suggested ... first I want to know what I''m doing wrong > here. > > > > > > > > I''m a bit lost on setting up an ubunto domU, first time getting outside RedHat like OSes. So if there are > some good working links to blogs/tutorials on how to install ubunto domU''s on RedHat like dom0''s I''ll > appreciate. > > > > > > > > > > Cheers, > > > > N. > > > > > > > > P.S. Steps taken : > > > > > > > > 1 - lvcreate -n domu.ubunto.lucid -L 4G vg1 > > > > 2 - mkfs.ext3 /dev/vg1/domu.ubunto.lucid > > > > 3 - wget > [9]http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/vmlinuz > > > > > > 4 - wget > [10]http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/initrd.gz > > > > > > 5 - cat lucid.xen > > > > name = "lucid" > > > > memory = 1024 > > > > disk = [''phy:/dev/vg1/domu.ubunto.lucid,xvda,w'' ] > > > > vif = [ ''bridge=eth0'' ] > > > > kernel = "/mnt/dom0/data/domu.setup/ubunto/lucid/vmlinuz" > > > > ramdisk = "/mnt/dom0/data/domu.setup/ubunto/lucid/initrd.gz" > > > > vcpus = 1 > > > > on_reboot = ''destroy'' > > > > on_crash = ''destroy'' > > > > > > > > 6 - xm create -c lucid.xen > > > > ... installation goes just fine ... > > > > 7 - cat test.xen > > > > name = "test" > > > > memory = 512 > > > > maxmem = 1024 > > > > bootloader = ''/usr/bin/pygrub'' > > > > disk = [''phy:/dev/vg1/domu.spyder.root,xvda,w'' ] > > > > vif = [ ''bridge=eth0'' ] > > > > vcpus = 1 > > > > on_poweroff = ''destroy'' > > > > on_reboot = ''restart'' > > > > on_crash = ''restart'' > > > > > > > > 8 - xm create -c test.xen > > > > Using config file "./test.xen". > > > > Error: Boot loader didn''t return any data! > > > > > > > > > > > > > > > > > > > > Boris Derzhavets wrote: > > > > > > I was able to start installer : > > > > > > > > root@ServerLnx:/home/boris/ubuntu# wget > [11]http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/vmlinuz > > > > > > --2010-05-13 12:36:14-- > [12]http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/vmlinuz > > > > > > Resolving archive.ubuntu.com... 91.189.92.167, 91.189.88.30, 91.189.88.31, ... > > > > Connecting to archive.ubuntu.com|91.189.92.167|:80... connected. > > > > HTTP request sent, awaiting response... 200 OK > > > > Length: 4037888 (3.9M) [text/plain] > > > > Saving to: `vmlinuz'' > > > > > > > > 100%[========================================================================>] 4,037,888 101K/s in > 27s > > > > 2010-05-13 12:36:41 (144 KB/s) - `vmlinuz'' saved [4037888/4037888] > > > > > > > > root@ServerLnx:/home/boris/ubuntu# wget > [13]http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/initrd.gz > > > > > > --2010-05-13 12:37:02-- > [14]http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/initrd.gz > > > > > > Resolving archive.ubuntu.com... 91.189.92.166, 91.189.92.167, 91.189.88.30, ... > > > > Connecting to archive.ubuntu.com|91.189.92.166|:80... connected. > > > > HTTP request sent, awaiting response... 200 OK > > > > Length: 9678415 (9.2M) [application/x-gzip] > > > > Saving to: `initrd.gz'' > > > > > > > > 100%[========================================================================>] 9,678,415 200K/s in > 60s > > > > 2010-05-13 12:38:03 (156 KB/s) - `initrd.gz'' saved [9678415/9678415] > > > > > > > > root@ServerLnx:/home/boris/ubuntu# cat ubuntu.cfg > > > > name="U10PV" > > > > memory=2048 > > > > disk = [''phy:/dev/sdb5,xvda,w'' ] > > > > vif = [ ''bridge=eth0'' ] > > > > # vfb = [ ''type=vnc,vncunused=1''] > > > > kernel = "/home/boris/ubuntu/vmlinuz" > > > > ramdisk = "/home/boris/ubuntu/initrd.gz" > > > > vcpus=2 > > > > on_reboot = ''restart'' > > > > on_crash = ''restart'' > > > > > > > > # xm create -c ubuntu.cfg > > > > > > > > and see several obvious disadvantages (vs HVM convertion) : > > > > > > > > 1. VFB doesn''t work > > > > 2. After selecting local mirror "Installing base system" is already running for 15 min > > > > at 2MB/sec ADSL connection. > > > > > > > > Boris. > > > > > > > > > > > > -----Inline Attachment Follows----- > > > > _______________________________________________ > > Xen-users mailing list > > [15]Xen-users@lists.xensource.com > > [16]http://lists.xensource.com/xen-users > > > > > > > > _______________________________________________ > Xen-users mailing list > [17]Xen-users@lists.xensource.com > [18]http://lists.xensource.com/xen-users > > References > > Visible links > 1. file:///mc/compose?to=bderzhavets@yahoo.com > 2. file:///mc/compose?to=admin@dmarkey.com > 3. file:///mc/compose?to=admin@dmarkey.com > 4. file:///mc/compose?to=nunolf@gmail.com > 5. file:///mc/compose?to=bderzhavets@yahoo.com > 6. file:///mc/compose?to=xen-users@lists.xensource.com > 7. http://lists.xensource.com/archives/html/xen-devel/2010-04/msg00748.html > 8. file:///mc/compose?to=nunolf@gmail.com > 9. http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/vmlinuz > 10. http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/initrd.gz > 11. http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/vmlinuz > 12. http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/vmlinuz > 13. http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/initrd.gz > 14. http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/initrd.gz > 15. file:///mc/compose?to=Xen-users@lists.xensource.com > 16. http://lists.xensource.com/xen-users > 17. file:///mc/compose?to=Xen-users@lists.xensource.com > 18. http://lists.xensource.com/xen-users> _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Could someone please explain how the posts below relate to this link: http://www.agileweboperations.com/xen-debian-lenny-dom0-with-ubuntu-lucid-guest/ Is he installing the patch? On 28/05/10 12:02, Pasi Kärkkäinen wrote:> On Thu, May 27, 2010 at 09:39:51PM -0700, Boris Derzhavets wrote: > >> You can run Ubuntu Lucid PV guest at 3.4.2, but not via "pygrub" >> Gitco.de/repo doesn''t contain required 4.0 src.rpm . It''s Gunter''s policy i guess. >> When he will make 4.0.1 he would probably provide it. >> I would remove CentOS 5.4 as Dom0 base and build system on F13 (F12) >> due to xen-4.0.0.-0.7.f12.src.rpm available at xensource. >> >> > Or then use CentOS 5.5 as dom0 and apply the el5 pygrub grub2 patch from: > https://bugzilla.redhat.com/show_bug.cgi?id=577511 > > -- Pasi > > >> wget http://pasik.reaktio.net/fedora/xen-4.0.0-0.7.fc12.src.rpm >> >> Boris. >> >> >> --- On Thu, 5/27/10, Donny Brooks<dbrooks@mdah.state.ms.us> wrote: >> >> From: Donny Brooks<dbrooks@mdah.state.ms.us> >> Subject: Re: [Xen-users] Install ubunto domU >> To: "xen-users"<xen-users@lists.xensource.com> >> Date: Thursday, May 27, 2010, 3:21 PM >> >> I read this and I gather I need to be running Xen 4.0 in order to run Ubuntu 10.04 as a pv domu... is that >> correct? I am currently at 3.4.2 on a centos 5.4 dom0 but need to run some ubuntu domu''s very badly. Please >> advise! >> >> -- >> >> Donny B. >> >> On Monday, May 17, 2010 10:39 PM CDT, Boris Derzhavets<[1]bderzhavets@yahoo.com> wrote: >> >> > > I tried to follow your steps (installing Lucid x86_64 PV domU on a >> > CentOS 54 x86_64 dom0, running xen 3.4.2 from gitco) ... but was not >> > successful. Something is still escaping me. >> > >> > Yes , you missing David''s patch. Personally , i could back port it only to Xen 4.0, >> > even Xen 3.4.3 was not enough. Some other CSs from 4.0 are required for consistency and you don''t know >> which ones. >> > >> > You are at 3.4.2 ! >> > >> > I believe gitco did Xen 4.0 rpms. Gitgo''s 4.0 src.rpm has to patched per David and rpms rebuilt. That ''s >> in case you want "pygrub" to be bootloader for DomU . It''s comfortable, but not required. >> > >> > Boris. >> > >> > --- On Mon, 5/17/10, David Markey<[2]admin@dmarkey.com> wrote: >> > >> > From: David Markey<[3]admin@dmarkey.com> >> > Subject: Re: [Xen-users] Install ubunto domU >> > To: "Nuno L. Ferreira"<[4]nunolf@gmail.com> >> > Cc: "Boris Derzhavets"<[5]bderzhavets@yahoo.com>, "xen-users"<[6]xen-users@lists.xensource.com> >> > Date: Monday, May 17, 2010, 6:54 PM >> > >> > You need [7]http://lists.xensource.com/archives/html/xen-devel/2010-04/msg00748.html >> > >> > >> > On 17 May 2010 23:24, Nuno L. Ferreira<[8]nunolf@gmail.com> wrote: >> > >> > Dear *, Boris >> > >> > >> > >> > I tried to follow your steps (installing Lucid x86_64 PV domU on a CentOS 54 x86_64 dom0, running xen >> 3.4.2 from gitco) ... but was not successful. Something is still escaping me. >> > >> > Installation went just fine till the end after a "xm create -c lucid.xen" (see below). >> > >> > After installation (without any modifications to what was installed) I edited the xen config file >> (test.xen, see below) to boot with pygrub instead. But I get the following error: >> > >> > Error: Boot loader didn''t return any data! >> > >> > >> > >> > I checked that the new domU does not have /usr/bin/pygrub, and this explains the error. >> > >> > So Boris, how did you boot your ubunto based domU after a netboot installation? >> > >> > I did not tried yet the debootstrap method also suggested ... first I want to know what I''m doing wrong >> here. >> > >> > >> > >> > I''m a bit lost on setting up an ubunto domU, first time getting outside RedHat like OSes. So if there are >> some good working links to blogs/tutorials on how to install ubunto domU''s on RedHat like dom0''s I''ll >> appreciate. >> > >> > >> > >> > >> > Cheers, >> > >> > N. >> > >> > >> > >> > P.S. Steps taken : >> > >> > >> > >> > 1 - lvcreate -n domu.ubunto.lucid -L 4G vg1 >> > >> > 2 - mkfs.ext3 /dev/vg1/domu.ubunto.lucid >> > >> > 3 - wget >> [9]http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/vmlinuz >> > >> > >> > 4 - wget >> [10]http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/initrd.gz >> > >> > >> > 5 - cat lucid.xen >> > >> > name = "lucid" >> > >> > memory = 1024 >> > >> > disk = [''phy:/dev/vg1/domu.ubunto.lucid,xvda,w'' ] >> > >> > vif = [ ''bridge=eth0'' ] >> > >> > kernel = "/mnt/dom0/data/domu.setup/ubunto/lucid/vmlinuz" >> > >> > ramdisk = "/mnt/dom0/data/domu.setup/ubunto/lucid/initrd.gz" >> > >> > vcpus = 1 >> > >> > on_reboot = ''destroy'' >> > >> > on_crash = ''destroy'' >> > >> > >> > >> > 6 - xm create -c lucid.xen >> > >> > ... installation goes just fine ... >> > >> > 7 - cat test.xen >> > >> > name = "test" >> > >> > memory = 512 >> > >> > maxmem = 1024 >> > >> > bootloader = ''/usr/bin/pygrub'' >> > >> > disk = [''phy:/dev/vg1/domu.spyder.root,xvda,w'' ] >> > >> > vif = [ ''bridge=eth0'' ] >> > >> > vcpus = 1 >> > >> > on_poweroff = ''destroy'' >> > >> > on_reboot = ''restart'' >> > >> > on_crash = ''restart'' >> > >> > >> > >> > 8 - xm create -c test.xen >> > >> > Using config file "./test.xen". >> > >> > Error: Boot loader didn''t return any data! >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > Boris Derzhavets wrote: >> > >> > >> > I was able to start installer : >> > >> > >> > >> > root@ServerLnx:/home/boris/ubuntu# wget >> [11]http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/vmlinuz >> > >> > >> > --2010-05-13 12:36:14-- >> [12]http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/vmlinuz >> > >> > >> > Resolving archive.ubuntu.com... 91.189.92.167, 91.189.88.30, 91.189.88.31, ... >> > >> > Connecting to archive.ubuntu.com|91.189.92.167|:80... connected. >> > >> > HTTP request sent, awaiting response... 200 OK >> > >> > Length: 4037888 (3.9M) [text/plain] >> > >> > Saving to: `vmlinuz'' >> > >> > >> > >> > 100%[========================================================================>] 4,037,888 101K/s in >> 27s >> > >> > 2010-05-13 12:36:41 (144 KB/s) - `vmlinuz'' saved [4037888/4037888] >> > >> > >> > >> > root@ServerLnx:/home/boris/ubuntu# wget >> [13]http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/initrd.gz >> > >> > >> > --2010-05-13 12:37:02-- >> [14]http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/initrd.gz >> > >> > >> > Resolving archive.ubuntu.com... 91.189.92.166, 91.189.92.167, 91.189.88.30, ... >> > >> > Connecting to archive.ubuntu.com|91.189.92.166|:80... connected. >> > >> > HTTP request sent, awaiting response... 200 OK >> > >> > Length: 9678415 (9.2M) [application/x-gzip] >> > >> > Saving to: `initrd.gz'' >> > >> > >> > >> > 100%[========================================================================>] 9,678,415 200K/s in >> 60s >> > >> > 2010-05-13 12:38:03 (156 KB/s) - `initrd.gz'' saved [9678415/9678415] >> > >> > >> > >> > root@ServerLnx:/home/boris/ubuntu# cat ubuntu.cfg >> > >> > name="U10PV" >> > >> > memory=2048 >> > >> > disk = [''phy:/dev/sdb5,xvda,w'' ] >> > >> > vif = [ ''bridge=eth0'' ] >> > >> > # vfb = [ ''type=vnc,vncunused=1''] >> > >> > kernel = "/home/boris/ubuntu/vmlinuz" >> > >> > ramdisk = "/home/boris/ubuntu/initrd.gz" >> > >> > vcpus=2 >> > >> > on_reboot = ''restart'' >> > >> > on_crash = ''restart'' >> > >> > >> > >> > # xm create -c ubuntu.cfg >> > >> > >> > >> > and see several obvious disadvantages (vs HVM convertion) : >> > >> > >> > >> > 1. VFB doesn''t work >> > >> > 2. After selecting local mirror "Installing base system" is already running for 15 min >> > >> > at 2MB/sec ADSL connection. >> > >> > >> > >> > Boris. >> > >> > >> > >> > >> > >> > -----Inline Attachment Follows----- >> > >> > _______________________________________________ >> > Xen-users mailing list >> > [15]Xen-users@lists.xensource.com >> > [16]http://lists.xensource.com/xen-users >> > >> > >> > >> >> _______________________________________________ >> Xen-users mailing list >> [17]Xen-users@lists.xensource.com >> [18]http://lists.xensource.com/xen-users >> >> References >> >> Visible links >> 1. file:///mc/compose?to=bderzhavets@yahoo.com >> 2. file:///mc/compose?to=admin@dmarkey.com >> 3. file:///mc/compose?to=admin@dmarkey.com >> 4. file:///mc/compose?to=nunolf@gmail.com >> 5. file:///mc/compose?to=bderzhavets@yahoo.com >> 6. file:///mc/compose?to=xen-users@lists.xensource.com >> 7. http://lists.xensource.com/archives/html/xen-devel/2010-04/msg00748.html >> 8. file:///mc/compose?to=nunolf@gmail.com >> 9. http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/vmlinuz >> 10. http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/initrd.gz >> 11. http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/vmlinuz >> 12. http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/vmlinuz >> 13. http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/initrd.gz >> 14. http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/initrd.gz >> 15. file:///mc/compose?to=Xen-users@lists.xensource.com >> 16. http://lists.xensource.com/xen-users >> 17. file:///mc/compose?to=Xen-users@lists.xensource.com >> 18. http://lists.xensource.com/xen-users >> > >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users >> > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I tried to install CentOS via pygrub on Debian and I completely failed. On Fri, May 28, 2010 at 2:41 PM, Boris Derzhavets <bderzhavets@yahoo.com>wrote:> Not via "pygrub". It is pretty easy to install Lucid in PV DomU. Copy off > the disk > kernel and intrd to Dom0, as granny taught. > > Boris. > > > --- On *Fri, 5/28/10, Jonathan Tripathy <jonnyt@abpni.co.uk>* wrote: > > > From: Jonathan Tripathy <jonnyt@abpni.co.uk> > Subject: Re: [Xen-users] Install ubunto domU > To: "Boris Derzhavets" <bderzhavets@yahoo.com>, > xen-users@lists.xensource.com > Date: Friday, May 28, 2010, 5:02 AM > > > Is there no way to install Ubuntu 10.04 in the current release of Xen (What > ever comes with the latest CentOS) ? > > On 28/05/10 09:43, Boris Derzhavets wrote: > > > if you want to use Ubuntu 10.04, you''d best use Fedora 13 or 12? > Yes. > > http://www.linuxtoday.com/infrastructure/2010052502335OSSV > > --- On *Fri, 5/28/10, Jonathan Tripathy <jonnyt@abpni.co.uk><http://mc/compose?to=jonnyt@abpni.co.uk> > * wrote: > > > From: Jonathan Tripathy <jonnyt@abpni.co.uk><http://mc/compose?to=jonnyt@abpni.co.uk> > Subject: Re: [Xen-users] Install ubunto domU > To: "Boris Derzhavets" <bderzhavets@yahoo.com><http://mc/compose?to=bderzhavets@yahoo.com>, > Xen-users@lists.xensource.com<http://mc/compose?to=Xen-users@lists.xensource.com> > Date: Friday, May 28, 2010, 4:25 AM > > I''m very interested in this as well. > > What is pygrub? Are you saying that for the time being, if you want to use > Ubuntu 10.04, you''d best use Fedora 13 or 12? > > Thanks > > On 28/05/10 05:39, Boris Derzhavets wrote: > > You can run Ubuntu Lucid PV guest at 3.4.2, but not via "pygrub" > Gitco.de/repo doesn''t contain required 4.0 src.rpm . It''s Gunter''s policy i > guess. > When he will make 4.0.1 he would probably provide it. > I would remove CentOS 5.4 as Dom0 base and build system on F13 (F12) > due to xen-4.0.0.-0.7.f12.src.rpm available at xensource. > > wget http://pasik.reaktio.net/fedora/xen-4.0.0-0.7.fc12.src.rpm > > Boris. > > > --- On *Thu, 5/27/10, Donny Brooks <dbrooks@mdah.state.ms.us>* wrote: > > > From: Donny Brooks <dbrooks@mdah.state.ms.us> > Subject: Re: [Xen-users] Install ubunto domU > To: "xen-users" <xen-users@lists.xensource.com> > Date: Thursday, May 27, 2010, 3:21 PM > > I read this and I gather I need to be running Xen 4.0 in order to run > Ubuntu 10.04 as a pv domu... is that correct? I am currently at 3.4.2 on a > centos 5.4 dom0 but need to run some ubuntu domu''s very badly. Please > advise! > > > -- > > Donny B. > > On Monday, May 17, 2010 10:39 PM CDT, Boris Derzhavets < > bderzhavets@yahoo.com> wrote: > > > > I tried to follow your steps (installing Lucid x86_64 PV domU on a > > CentOS 54 x86_64 dom0, running xen 3.4.2 from gitco) ... but was not > > successful. Something is still escaping me. > > > > Yes , you missing David''s patch. Personally , i could back port it only > to Xen 4.0, > > even Xen 3.4.3 was not enough. Some other CSs from 4.0 are required for > consistency and you don''t know which ones. > > > > You are at 3.4.2 ! > > > > I believe gitco did Xen 4.0 rpms. Gitgo''s 4.0 src.rpm has to patched per > David and rpms rebuilt. That ''s in case you want "pygrub" to be bootloader > for DomU . It''s comfortable, but not required. > > > > Boris. > > > > --- On Mon, 5/17/10, David Markey <admin@dmarkey.com> wrote: > > > > From: David Markey <admin@dmarkey.com> > > Subject: Re: [Xen-users] Install ubunto domU > > To: "Nuno L. Ferreira" <nunolf@gmail.com> > > Cc: "Boris Derzhavets" <bderzhavets@yahoo.com>, "xen-users" < > xen-users@lists.xensource.com> > > Date: Monday, May 17, 2010, 6:54 PM > > > > You need > http://lists.xensource.com/archives/html/xen-devel/2010-04/msg00748.html > > > > > > On 17 May 2010 23:24, Nuno L. Ferreira <nunolf@gmail.com> wrote: > > > > Dear *, Boris > > > > > > > > I tried to follow your steps (installing Lucid x86_64 PV domU on a CentOS > 54 x86_64 dom0, running xen 3.4.2 from gitco) ... but was not successful. > Something is still escaping me. > > > > Installation went just fine till the end after a "xm create -c lucid.xen" > (see below). > > > > After installation (without any modifications to what was installed) I > edited the xen config file (test.xen, see below) to boot with pygrub > instead. But I get the following error: > > > > Error: Boot loader didn''t return any data! > > > > > > > > I checked that the new domU does not have /usr/bin/pygrub, and this > explains the error. > > > > So Boris, how did you boot your ubunto based domU after a netboot > installation? > > > > I did not tried yet the debootstrap method also suggested ... first I > want to know what I''m doing wrong here. > > > > > > > > I''m a bit lost on setting up an ubunto domU, first time getting outside > RedHat like OSes. So if there are some good working links to blogs/tutorials > on how to install ubunto domU''s on RedHat like dom0''s I''ll appreciate. > > > > > > > > > > Cheers, > > > > N. > > > > > > > > P.S. Steps taken : > > > > > > > > 1 - lvcreate -n domu.ubunto.lucid -L 4G vg1 > > > > 2 - mkfs.ext3 /dev/vg1/domu.ubunto.lucid > > > > 3 - wget > http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/vmlinuz > > > > > > 4 - wget > http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/initrd.gz > > > > > > 5 - cat lucid.xen > > > > name = "lucid" > > > > memory = 1024 > > > > disk = [''phy:/dev/vg1/domu.ubunto.lucid,xvda,w'' ] > > > > vif = [ ''bridge=eth0'' ] > > > > kernel = "/mnt/dom0/data/domu.setup/ubunto/lucid/vmlinuz" > > > > ramdisk = "/mnt/dom0/data/domu.setup/ubunto/lucid/initrd.gz" > > > > vcpus = 1 > > > > on_reboot = ''destroy'' > > > > on_crash = ''destroy'' > > > > > > > > 6 - xm create -c lucid.xen > > > > ... installation goes just fine ... > > > > 7 - cat test.xen > > > > name = "test" > > > > memory = 512 > > > > maxmem = 1024 > > > > bootloader = ''/usr/bin/pygrub'' > > > > disk = [''phy:/dev/vg1/domu.spyder.root,xvda,w'' ] > > > > vif = [ ''bridge=eth0'' ] > > > > vcpus = 1 > > > > on_poweroff = ''destroy'' > > > > on_reboot = ''restart'' > > > > on_crash = ''restart'' > > > > > > > > 8 - xm create -c test.xen > > > > Using config file "./test.xen". > > > > Error: Boot loader didn''t return any data! > > > > > > > > > > > > > > > > > > > > Boris Derzhavets wrote: > > > > > > I was able to start installer : > > > > > > > > root@ServerLnx:/home/boris/ubuntu# wget > http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/vmlinuz > > > > > > --2010-05-13 12:36:14-- > http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/vmlinuz > > > > > > Resolving archive.ubuntu.com... 91.189.92.167, 91.189.88.30, > 91.189.88.31, ... > > > > Connecting to archive.ubuntu.com|91.189.92.167|:80... connected. > > > > HTTP request sent, awaiting response... 200 OK > > > > Length: 4037888 (3.9M) [text/plain] > > > > Saving to: `vmlinuz'' > > > > > > > > > 100%[========================================================================>] > 4,037,888 101K/s in 27s > > > > 2010-05-13 12:36:41 (144 KB/s) - `vmlinuz'' saved [4037888/4037888] > > > > > > > > root@ServerLnx:/home/boris/ubuntu# wget > http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/initrd.gz > > > > > > --2010-05-13 12:37:02-- > http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/initrd.gz > > > > > > Resolving archive.ubuntu.com... 91.189.92.166, 91.189.92.167, > 91.189.88.30, ... > > > > Connecting to archive.ubuntu.com|91.189.92.166|:80... connected. > > > > HTTP request sent, awaiting response... 200 OK > > > > Length: 9678415 (9.2M) [application/x-gzip] > > > > Saving to: `initrd.gz'' > > > > > > > > > 100%[========================================================================>] > 9,678,415 200K/s in 60s > > > > 2010-05-13 12:38:03 (156 KB/s) - `initrd.gz'' saved [9678415/9678415] > > > > > > > > root@ServerLnx:/home/boris/ubuntu# cat ubuntu.cfg > > > > name="U10PV" > > > > memory=2048 > > > > disk = [''phy:/dev/sdb5,xvda,w'' ] > > > > vif = [ ''bridge=eth0'' ] > > > > # vfb = [ ''type=vnc,vncunused=1''] > > > > kernel = "/home/boris/ubuntu/vmlinuz" > > > > ramdisk = "/home/boris/ubuntu/initrd.gz" > > > > vcpus=2 > > > > on_reboot = ''restart'' > > > > on_crash = ''restart'' > > > > > > > > # xm create -c ubuntu.cfg > > > > > > > > and see several obvious disadvantages (vs HVM convertion) : > > > > > > > > 1. VFB doesn''t work > > > > 2. After selecting local mirror "Installing base system" is already > running for 15 min > > > > at 2MB/sec ADSL connection. > > > > > > > > Boris. > > > > > > > > > > > > -----Inline Attachment Follows----- > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > > > > > > > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > > > -----Inline Attachment Follows----- > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > > > > -----Inline Attachment Follows----- > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com<http://mc/compose?to=Xen-users@lists.xensource.com> > http://lists.xensource.com/xen-users > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >-- Tapas _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I am upgrading my xen dom0 to Centos 5.5 and trying that way as stated by Pasi here:>Or then use CentOS 5.5 as dom0 and apply the el5 pygrub grub2 patch from: >https://bugzilla.redhat.com/show_bug.cgi?id=577511 > >-- PasiBut, crazy question... how do I apply that "patch"? Sorry if I sound dumb, just never done that. -- Donny B. On Friday, May 28, 2010 10:03 AM CDT, Tapas Mishra <mightydreams@gmail.com> wrote:> I tried to install CentOS via pygrub on Debian and I completely failed. > > On Fri, May 28, 2010 at 2:41 PM, Boris Derzhavets <bderzhavets@yahoo.com>wrote: > > > Not via "pygrub". It is pretty easy to install Lucid in PV DomU. Copy off > > the disk > > kernel and intrd to Dom0, as granny taught. > > > > Boris. > > > > > > --- On *Fri, 5/28/10, Jonathan Tripathy <jonnyt@abpni.co.uk>* wrote: > > > > > > From: Jonathan Tripathy <jonnyt@abpni.co.uk> > > Subject: Re: [Xen-users] Install ubunto domU > > To: "Boris Derzhavets" <bderzhavets@yahoo.com>, > > xen-users@lists.xensource.com > > Date: Friday, May 28, 2010, 5:02 AM > > > > > > Is there no way to install Ubuntu 10.04 in the current release of Xen (What > > ever comes with the latest CentOS) ? > > > > On 28/05/10 09:43, Boris Derzhavets wrote: > > > > > if you want to use Ubuntu 10.04, you''d best use Fedora 13 or 12? > > Yes. > > > > http://www.linuxtoday.com/infrastructure/2010052502335OSSV > > > > --- On *Fri, 5/28/10, Jonathan Tripathy <jonnyt@abpni.co.uk><http://mc/compose?to=jonnyt@abpni.co.uk> > > * wrote: > > > > > > From: Jonathan Tripathy <jonnyt@abpni.co.uk><http://mc/compose?to=jonnyt@abpni.co.uk> > > Subject: Re: [Xen-users] Install ubunto domU > > To: "Boris Derzhavets" <bderzhavets@yahoo.com><http://mc/compose?to=bderzhavets@yahoo.com>, > > Xen-users@lists.xensource.com<http://mc/compose?to=Xen-users@lists.xensource.com> > > Date: Friday, May 28, 2010, 4:25 AM > > > > I''m very interested in this as well. > > > > What is pygrub? Are you saying that for the time being, if you want to use > > Ubuntu 10.04, you''d best use Fedora 13 or 12? > > > > Thanks > > > > On 28/05/10 05:39, Boris Derzhavets wrote: > > > > You can run Ubuntu Lucid PV guest at 3.4.2, but not via "pygrub" > > Gitco.de/repo doesn''t contain required 4.0 src.rpm . It''s Gunter''s policy i > > guess. > > When he will make 4.0.1 he would probably provide it. > > I would remove CentOS 5.4 as Dom0 base and build system on F13 (F12) > > due to xen-4.0.0.-0.7.f12.src.rpm available at xensource. > > > > wget http://pasik.reaktio.net/fedora/xen-4.0.0-0.7.fc12.src.rpm > > > > Boris. > > > > > > --- On *Thu, 5/27/10, Donny Brooks <dbrooks@mdah.state.ms.us>* wrote: > > > > > > From: Donny Brooks <dbrooks@mdah.state.ms.us> > > Subject: Re: [Xen-users] Install ubunto domU > > To: "xen-users" <xen-users@lists.xensource.com> > > Date: Thursday, May 27, 2010, 3:21 PM > > > > I read this and I gather I need to be running Xen 4.0 in order to run > > Ubuntu 10.04 as a pv domu... is that correct? I am currently at 3.4.2 on a > > centos 5.4 dom0 but need to run some ubuntu domu''s very badly. Please > > advise! > > > > > > -- > > > > Donny B. > > > > On Monday, May 17, 2010 10:39 PM CDT, Boris Derzhavets < > > bderzhavets@yahoo.com> wrote: > > > > > > I tried to follow your steps (installing Lucid x86_64 PV domU on a > > > CentOS 54 x86_64 dom0, running xen 3.4.2 from gitco) ... but was not > > > successful. Something is still escaping me. > > > > > > Yes , you missing David''s patch. Personally , i could back port it only > > to Xen 4.0, > > > even Xen 3.4.3 was not enough. Some other CSs from 4.0 are required for > > consistency and you don''t know which ones. > > > > > > You are at 3.4.2 ! > > > > > > I believe gitco did Xen 4.0 rpms. Gitgo''s 4.0 src.rpm has to patched per > > David and rpms rebuilt. That ''s in case you want "pygrub" to be bootloader > > for DomU . It''s comfortable, but not required. > > > > > > Boris. > > > > > > --- On Mon, 5/17/10, David Markey <admin@dmarkey.com> wrote: > > > > > > From: David Markey <admin@dmarkey.com> > > > Subject: Re: [Xen-users] Install ubunto domU > > > To: "Nuno L. Ferreira" <nunolf@gmail.com> > > > Cc: "Boris Derzhavets" <bderzhavets@yahoo.com>, "xen-users" < > > xen-users@lists.xensource.com> > > > Date: Monday, May 17, 2010, 6:54 PM > > > > > > You need > > http://lists.xensource.com/archives/html/xen-devel/2010-04/msg00748.html > > > > > > > > > On 17 May 2010 23:24, Nuno L. Ferreira <nunolf@gmail.com> wrote: > > > > > > Dear *, Boris > > > > > > > > > > > > I tried to follow your steps (installing Lucid x86_64 PV domU on a CentOS > > 54 x86_64 dom0, running xen 3.4.2 from gitco) ... but was not successful. > > Something is still escaping me. > > > > > > Installation went just fine till the end after a "xm create -c lucid.xen" > > (see below). > > > > > > After installation (without any modifications to what was installed) I > > edited the xen config file (test.xen, see below) to boot with pygrub > > instead. But I get the following error: > > > > > > Error: Boot loader didn''t return any data! > > > > > > > > > > > > I checked that the new domU does not have /usr/bin/pygrub, and this > > explains the error. > > > > > > So Boris, how did you boot your ubunto based domU after a netboot > > installation? > > > > > > I did not tried yet the debootstrap method also suggested ... first I > > want to know what I''m doing wrong here. > > > > > > > > > > > > I''m a bit lost on setting up an ubunto domU, first time getting outside > > RedHat like OSes. So if there are some good working links to blogs/tutorials > > on how to install ubunto domU''s on RedHat like dom0''s I''ll appreciate. > > > > > > > > > > > > > > > Cheers, > > > > > > N. > > > > > > > > > > > > P.S. Steps taken : > > > > > > > > > > > > 1 - lvcreate -n domu.ubunto.lucid -L 4G vg1 > > > > > > 2 - mkfs.ext3 /dev/vg1/domu.ubunto.lucid > > > > > > 3 - wget > > http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/vmlinuz > > > > > > > > > 4 - wget > > http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/initrd.gz > > > > > > > > > 5 - cat lucid.xen > > > > > > name = "lucid" > > > > > > memory = 1024 > > > > > > disk = [''phy:/dev/vg1/domu.ubunto.lucid,xvda,w'' ] > > > > > > vif = [ ''bridge=eth0'' ] > > > > > > kernel = "/mnt/dom0/data/domu.setup/ubunto/lucid/vmlinuz" > > > > > > ramdisk = "/mnt/dom0/data/domu.setup/ubunto/lucid/initrd.gz" > > > > > > vcpus = 1 > > > > > > on_reboot = ''destroy'' > > > > > > on_crash = ''destroy'' > > > > > > > > > > > > 6 - xm create -c lucid.xen > > > > > > ... installation goes just fine ... > > > > > > 7 - cat test.xen > > > > > > name = "test" > > > > > > memory = 512 > > > > > > maxmem = 1024 > > > > > > bootloader = ''/usr/bin/pygrub'' > > > > > > disk = [''phy:/dev/vg1/domu.spyder.root,xvda,w'' ] > > > > > > vif = [ ''bridge=eth0'' ] > > > > > > vcpus = 1 > > > > > > on_poweroff = ''destroy'' > > > > > > on_reboot = ''restart'' > > > > > > on_crash = ''restart'' > > > > > > > > > > > > 8 - xm create -c test.xen > > > > > > Using config file "./test.xen". > > > > > > Error: Boot loader didn''t return any data! > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Boris Derzhavets wrote: > > > > > > > > > I was able to start installer : > > > > > > > > > > > > root@ServerLnx:/home/boris/ubuntu# wget > > http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/vmlinuz > > > > > > > > > --2010-05-13 12:36:14-- > > http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/vmlinuz > > > > > > > > > Resolving archive.ubuntu.com... 91.189.92.167, 91.189.88.30, > > 91.189.88.31, ... > > > > > > Connecting to archive.ubuntu.com|91.189.92.167|:80... connected. > > > > > > HTTP request sent, awaiting response... 200 OK > > > > > > Length: 4037888 (3.9M) [text/plain] > > > > > > Saving to: `vmlinuz'' > > > > > > > > > > > > > > 100%[========================================================================>] > > 4,037,888 101K/s in 27s > > > > > > 2010-05-13 12:36:41 (144 KB/s) - `vmlinuz'' saved [4037888/4037888] > > > > > > > > > > > > root@ServerLnx:/home/boris/ubuntu# wget > > http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/initrd.gz > > > > > > > > > --2010-05-13 12:37:02-- > > http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/initrd.gz > > > > > > > > > Resolving archive.ubuntu.com... 91.189.92.166, 91.189.92.167, > > 91.189.88.30, ... > > > > > > Connecting to archive.ubuntu.com|91.189.92.166|:80... connected. > > > > > > HTTP request sent, awaiting response... 200 OK > > > > > > Length: 9678415 (9.2M) [application/x-gzip] > > > > > > Saving to: `initrd.gz'' > > > > > > > > > > > > > > 100%[========================================================================>] > > 9,678,415 200K/s in 60s > > > > > > 2010-05-13 12:38:03 (156 KB/s) - `initrd.gz'' saved [9678415/9678415] > > > > > > > > > > > > root@ServerLnx:/home/boris/ubuntu# cat ubuntu.cfg > > > > > > name="U10PV" > > > > > > memory=2048 > > > > > > disk = [''phy:/dev/sdb5,xvda,w'' ] > > > > > > vif = [ ''bridge=eth0'' ] > > > > > > # vfb = [ ''type=vnc,vncunused=1''] > > > > > > kernel = "/home/boris/ubuntu/vmlinuz" > > > > > > ramdisk = "/home/boris/ubuntu/initrd.gz" > > > > > > vcpus=2 > > > > > > on_reboot = ''restart'' > > > > > > on_crash = ''restart'' > > > > > > > > > > > > # xm create -c ubuntu.cfg > > > > > > > > > > > > and see several obvious disadvantages (vs HVM convertion) : > > > > > > > > > > > > 1. VFB doesn''t work > > > > > > 2. After selecting local mirror "Installing base system" is already > > running for 15 min > > > > > > at 2MB/sec ADSL connection. > > > > > > > > > > > > Boris. > > > > > > > > > > > > > > > > > > -----Inline Attachment Follows----- > > > > > > _______________________________________________ > > > Xen-users mailing list > > > Xen-users@lists.xensource.com > > > http://lists.xensource.com/xen-users > > > > > > > > > > > > > > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > > > > > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > > > > > > -----Inline Attachment Follows----- > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > > > > > > > > -----Inline Attachment Follows----- > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com<http://mc/compose?to=Xen-users@lists.xensource.com> > > http://lists.xensource.com/xen-users > > > > > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > > > > > > -- > Tapas_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Fri, May 28, 2010 at 10:13:01AM -0500, Donny Brooks wrote:> I am upgrading my xen dom0 to Centos 5.5 and trying that way as stated by Pasi here: > > >Or then use CentOS 5.5 as dom0 and apply the el5 pygrub grub2 patch from: > >https://bugzilla.redhat.com/show_bug.cgi?id=577511 > > > >-- Pasi > > But, crazy question... how do I apply that "patch"? Sorry if I sound dumb, just never done that. >Well.. if you want to apply it to a running system you need to extract the pieces of the patches related to different files and then apply them manually. I did that: Patch for /usr/bin/pygrub: http://pasik.reaktio.net/xen/patches/el5-pygrub-grub2-support-2010-05-27-pygrub.patch Patch for /usr/lib64/python2.4/site-packages/grub/GrubConf.py: http://pasik.reaktio.net/xen/patches/el5-pygrub-grub2-support-2010-05-27-grubconf.patch Patch for /usr/lib64/python2.4/site-packages/grub/LiloConf.py: http://pasik.reaktio.net/xen/patches/el5-pygrub-grub2-support-2010-05-27-liloconf.patch Example to apply the pygrub patch: cd /usr/bin cp -a pygrub pygrub.orig.backup patch -p4 < /path/to/el5-pygrub-grub2-support-2010-05-27-pygrub.patch Similar method works for the other two files. Hopefully that helps. -- Pasi> Donny B. > > On Friday, May 28, 2010 10:03 AM CDT, Tapas Mishra <mightydreams@gmail.com> wrote: > > > I tried to install CentOS via pygrub on Debian and I completely failed. > > > > On Fri, May 28, 2010 at 2:41 PM, Boris Derzhavets <bderzhavets@yahoo.com>wrote: > > > > > Not via "pygrub". It is pretty easy to install Lucid in PV DomU. Copy off > > > the disk > > > kernel and intrd to Dom0, as granny taught. > > > > > > Boris. > > > > > > > > > --- On *Fri, 5/28/10, Jonathan Tripathy <jonnyt@abpni.co.uk>* wrote: > > > > > > > > > From: Jonathan Tripathy <jonnyt@abpni.co.uk> > > > Subject: Re: [Xen-users] Install ubunto domU > > > To: "Boris Derzhavets" <bderzhavets@yahoo.com>, > > > xen-users@lists.xensource.com > > > Date: Friday, May 28, 2010, 5:02 AM > > > > > > > > > Is there no way to install Ubuntu 10.04 in the current release of Xen (What > > > ever comes with the latest CentOS) ? > > > > > > On 28/05/10 09:43, Boris Derzhavets wrote: > > > > > > > if you want to use Ubuntu 10.04, you''d best use Fedora 13 or 12? > > > Yes. > > > > > > http://www.linuxtoday.com/infrastructure/2010052502335OSSV > > > > > > --- On *Fri, 5/28/10, Jonathan Tripathy <jonnyt@abpni.co.uk><http://mc/compose?to=jonnyt@abpni.co.uk> > > > * wrote: > > > > > > > > > From: Jonathan Tripathy <jonnyt@abpni.co.uk><http://mc/compose?to=jonnyt@abpni.co.uk> > > > Subject: Re: [Xen-users] Install ubunto domU > > > To: "Boris Derzhavets" <bderzhavets@yahoo.com><http://mc/compose?to=bderzhavets@yahoo.com>, > > > Xen-users@lists.xensource.com<http://mc/compose?to=Xen-users@lists.xensource.com> > > > Date: Friday, May 28, 2010, 4:25 AM > > > > > > I''m very interested in this as well. > > > > > > What is pygrub? Are you saying that for the time being, if you want to use > > > Ubuntu 10.04, you''d best use Fedora 13 or 12? > > > > > > Thanks > > > > > > On 28/05/10 05:39, Boris Derzhavets wrote: > > > > > > You can run Ubuntu Lucid PV guest at 3.4.2, but not via "pygrub" > > > Gitco.de/repo doesn''t contain required 4.0 src.rpm . It''s Gunter''s policy i > > > guess. > > > When he will make 4.0.1 he would probably provide it. > > > I would remove CentOS 5.4 as Dom0 base and build system on F13 (F12) > > > due to xen-4.0.0.-0.7.f12.src.rpm available at xensource. > > > > > > wget http://pasik.reaktio.net/fedora/xen-4.0.0-0.7.fc12.src.rpm > > > > > > Boris. > > > > > > > > > --- On *Thu, 5/27/10, Donny Brooks <dbrooks@mdah.state.ms.us>* wrote: > > > > > > > > > From: Donny Brooks <dbrooks@mdah.state.ms.us> > > > Subject: Re: [Xen-users] Install ubunto domU > > > To: "xen-users" <xen-users@lists.xensource.com> > > > Date: Thursday, May 27, 2010, 3:21 PM > > > > > > I read this and I gather I need to be running Xen 4.0 in order to run > > > Ubuntu 10.04 as a pv domu... is that correct? I am currently at 3.4.2 on a > > > centos 5.4 dom0 but need to run some ubuntu domu''s very badly. Please > > > advise! > > > > > > > > > -- > > > > > > Donny B. > > > > > > On Monday, May 17, 2010 10:39 PM CDT, Boris Derzhavets < > > > bderzhavets@yahoo.com> wrote: > > > > > > > > I tried to follow your steps (installing Lucid x86_64 PV domU on a > > > > CentOS 54 x86_64 dom0, running xen 3.4.2 from gitco) ... but was not > > > > successful. Something is still escaping me. > > > > > > > > Yes , you missing David''s patch. Personally , i could back port it only > > > to Xen 4.0, > > > > even Xen 3.4.3 was not enough. Some other CSs from 4.0 are required for > > > consistency and you don''t know which ones. > > > > > > > > You are at 3.4.2 ! > > > > > > > > I believe gitco did Xen 4.0 rpms. Gitgo''s 4.0 src.rpm has to patched per > > > David and rpms rebuilt. That ''s in case you want "pygrub" to be bootloader > > > for DomU . It''s comfortable, but not required. > > > > > > > > Boris. > > > > > > > > --- On Mon, 5/17/10, David Markey <admin@dmarkey.com> wrote: > > > > > > > > From: David Markey <admin@dmarkey.com> > > > > Subject: Re: [Xen-users] Install ubunto domU > > > > To: "Nuno L. Ferreira" <nunolf@gmail.com> > > > > Cc: "Boris Derzhavets" <bderzhavets@yahoo.com>, "xen-users" < > > > xen-users@lists.xensource.com> > > > > Date: Monday, May 17, 2010, 6:54 PM > > > > > > > > You need > > > http://lists.xensource.com/archives/html/xen-devel/2010-04/msg00748.html > > > > > > > > > > > > On 17 May 2010 23:24, Nuno L. Ferreira <nunolf@gmail.com> wrote: > > > > > > > > Dear *, Boris > > > > > > > > > > > > > > > > I tried to follow your steps (installing Lucid x86_64 PV domU on a CentOS > > > 54 x86_64 dom0, running xen 3.4.2 from gitco) ... but was not successful. > > > Something is still escaping me. > > > > > > > > Installation went just fine till the end after a "xm create -c lucid.xen" > > > (see below). > > > > > > > > After installation (without any modifications to what was installed) I > > > edited the xen config file (test.xen, see below) to boot with pygrub > > > instead. But I get the following error: > > > > > > > > Error: Boot loader didn''t return any data! > > > > > > > > > > > > > > > > I checked that the new domU does not have /usr/bin/pygrub, and this > > > explains the error. > > > > > > > > So Boris, how did you boot your ubunto based domU after a netboot > > > installation? > > > > > > > > I did not tried yet the debootstrap method also suggested ... first I > > > want to know what I''m doing wrong here. > > > > > > > > > > > > > > > > I''m a bit lost on setting up an ubunto domU, first time getting outside > > > RedHat like OSes. So if there are some good working links to blogs/tutorials > > > on how to install ubunto domU''s on RedHat like dom0''s I''ll appreciate. > > > > > > > > > > > > > > > > > > > > Cheers, > > > > > > > > N. > > > > > > > > > > > > > > > > P.S. Steps taken : > > > > > > > > > > > > > > > > 1 - lvcreate -n domu.ubunto.lucid -L 4G vg1 > > > > > > > > 2 - mkfs.ext3 /dev/vg1/domu.ubunto.lucid > > > > > > > > 3 - wget > > > http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/vmlinuz > > > > > > > > > > > > 4 - wget > > > http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/initrd.gz > > > > > > > > > > > > 5 - cat lucid.xen > > > > > > > > name = "lucid" > > > > > > > > memory = 1024 > > > > > > > > disk = [''phy:/dev/vg1/domu.ubunto.lucid,xvda,w'' ] > > > > > > > > vif = [ ''bridge=eth0'' ] > > > > > > > > kernel = "/mnt/dom0/data/domu.setup/ubunto/lucid/vmlinuz" > > > > > > > > ramdisk = "/mnt/dom0/data/domu.setup/ubunto/lucid/initrd.gz" > > > > > > > > vcpus = 1 > > > > > > > > on_reboot = ''destroy'' > > > > > > > > on_crash = ''destroy'' > > > > > > > > > > > > > > > > 6 - xm create -c lucid.xen > > > > > > > > ... installation goes just fine ... > > > > > > > > 7 - cat test.xen > > > > > > > > name = "test" > > > > > > > > memory = 512 > > > > > > > > maxmem = 1024 > > > > > > > > bootloader = ''/usr/bin/pygrub'' > > > > > > > > disk = [''phy:/dev/vg1/domu.spyder.root,xvda,w'' ] > > > > > > > > vif = [ ''bridge=eth0'' ] > > > > > > > > vcpus = 1 > > > > > > > > on_poweroff = ''destroy'' > > > > > > > > on_reboot = ''restart'' > > > > > > > > on_crash = ''restart'' > > > > > > > > > > > > > > > > 8 - xm create -c test.xen > > > > > > > > Using config file "./test.xen". > > > > > > > > Error: Boot loader didn''t return any data! > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Boris Derzhavets wrote: > > > > > > > > > > > > I was able to start installer : > > > > > > > > > > > > > > > > root@ServerLnx:/home/boris/ubuntu# wget > > > http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/vmlinuz > > > > > > > > > > > > --2010-05-13 12:36:14-- > > > http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/vmlinuz > > > > > > > > > > > > Resolving archive.ubuntu.com... 91.189.92.167, 91.189.88.30, > > > 91.189.88.31, ... > > > > > > > > Connecting to archive.ubuntu.com|91.189.92.167|:80... connected. > > > > > > > > HTTP request sent, awaiting response... 200 OK > > > > > > > > Length: 4037888 (3.9M) [text/plain] > > > > > > > > Saving to: `vmlinuz'' > > > > > > > > > > > > > > > > > > > 100%[========================================================================>] > > > 4,037,888 101K/s in 27s > > > > > > > > 2010-05-13 12:36:41 (144 KB/s) - `vmlinuz'' saved [4037888/4037888] > > > > > > > > > > > > > > > > root@ServerLnx:/home/boris/ubuntu# wget > > > http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/initrd.gz > > > > > > > > > > > > --2010-05-13 12:37:02-- > > > http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/initrd.gz > > > > > > > > > > > > Resolving archive.ubuntu.com... 91.189.92.166, 91.189.92.167, > > > 91.189.88.30, ... > > > > > > > > Connecting to archive.ubuntu.com|91.189.92.166|:80... connected. > > > > > > > > HTTP request sent, awaiting response... 200 OK > > > > > > > > Length: 9678415 (9.2M) [application/x-gzip] > > > > > > > > Saving to: `initrd.gz'' > > > > > > > > > > > > > > > > > > > 100%[========================================================================>] > > > 9,678,415 200K/s in 60s > > > > > > > > 2010-05-13 12:38:03 (156 KB/s) - `initrd.gz'' saved [9678415/9678415] > > > > > > > > > > > > > > > > root@ServerLnx:/home/boris/ubuntu# cat ubuntu.cfg > > > > > > > > name="U10PV" > > > > > > > > memory=2048 > > > > > > > > disk = [''phy:/dev/sdb5,xvda,w'' ] > > > > > > > > vif = [ ''bridge=eth0'' ] > > > > > > > > # vfb = [ ''type=vnc,vncunused=1''] > > > > > > > > kernel = "/home/boris/ubuntu/vmlinuz" > > > > > > > > ramdisk = "/home/boris/ubuntu/initrd.gz" > > > > > > > > vcpus=2 > > > > > > > > on_reboot = ''restart'' > > > > > > > > on_crash = ''restart'' > > > > > > > > > > > > > > > > # xm create -c ubuntu.cfg > > > > > > > > > > > > > > > > and see several obvious disadvantages (vs HVM convertion) : > > > > > > > > > > > > > > > > 1. VFB doesn''t work > > > > > > > > 2. After selecting local mirror "Installing base system" is already > > > running for 15 min > > > > > > > > at 2MB/sec ADSL connection. > > > > > > > > > > > > > > > > Boris. > > > > > > > > > > > > > > > > > > > > > > > > -----Inline Attachment Follows----- > > > > > > > > _______________________________________________ > > > > Xen-users mailing list > > > > Xen-users@lists.xensource.com > > > > http://lists.xensource.com/xen-users > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > Xen-users mailing list > > > Xen-users@lists.xensource.com > > > http://lists.xensource.com/xen-users > > > > > > > > > > > > _______________________________________________ > > > Xen-users mailing list > > > Xen-users@lists.xensource.com > > > http://lists.xensource.com/xen-users > > > > > > > > > -----Inline Attachment Follows----- > > > > > > _______________________________________________ > > > Xen-users mailing list > > > Xen-users@lists.xensource.com > > > http://lists.xensource.com/xen-users > > > > > > > > > > > > -----Inline Attachment Follows----- > > > > > > _______________________________________________ > > > Xen-users mailing list > > > Xen-users@lists.xensource.com<http://mc/compose?to=Xen-users@lists.xensource.com> > > > http://lists.xensource.com/xen-users > > > > > > > > > > > > _______________________________________________ > > > Xen-users mailing list > > > Xen-users@lists.xensource.com > > > http://lists.xensource.com/xen-users > > > > > > > > > > > -- > > Tapas > > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
For some reason the patch wants to fail on a few hunks. Although pygrub is not necessary, I do have one question... is the "kernel" and "ramdisk" options in the config file to load a kernel and ramdisk image from the dom0 filesystem still usable in xen 3.4.2? I use them on all my domu''s on my ubuntu8.04 running xen 3.2 at home. I just figured this would be the easiest way to load ubuntu 10.04 on my centos 5.5 dom0 here at work. Any thoughts? -- Donny B. On Saturday, May 29, 2010 11:22 AM CDT, Pasi Kärkkäinen <pasik@iki.fi> wrote:> On Fri, May 28, 2010 at 10:13:01AM -0500, Donny Brooks wrote: > > I am upgrading my xen dom0 to Centos 5.5 and trying that way as stated by Pasi here: > > > > >Or then use CentOS 5.5 as dom0 and apply the el5 pygrub grub2 patch from: > > >https://bugzilla.redhat.com/show_bug.cgi?id=577511 > > > > > >-- Pasi > > > > But, crazy question... how do I apply that "patch"? Sorry if I sound dumb, just never done that. > > > > Well.. if you want to apply it to a running system you need to extract the pieces of the patches > related to different files and then apply them manually. > > I did that: > Patch for /usr/bin/pygrub: http://pasik.reaktio.net/xen/patches/el5-pygrub-grub2-support-2010-05-27-pygrub.patch > Patch for /usr/lib64/python2.4/site-packages/grub/GrubConf.py: http://pasik.reaktio.net/xen/patches/el5-pygrub-grub2-support-2010-05-27-grubconf.patch > Patch for /usr/lib64/python2.4/site-packages/grub/LiloConf.py: http://pasik.reaktio.net/xen/patches/el5-pygrub-grub2-support-2010-05-27-liloconf.patch > > Example to apply the pygrub patch: > > cd /usr/bin > cp -a pygrub pygrub.orig.backup > patch -p4 < /path/to/el5-pygrub-grub2-support-2010-05-27-pygrub.patch > > Similar method works for the other two files. Hopefully that helps. > > -- Pasi > > > > Donny B. > > > > On Friday, May 28, 2010 10:03 AM CDT, Tapas Mishra <mightydreams@gmail.com> wrote: > > > > > I tried to install CentOS via pygrub on Debian and I completely failed. > > > > > > On Fri, May 28, 2010 at 2:41 PM, Boris Derzhavets <bderzhavets@yahoo.com>wrote: > > > > > > > Not via "pygrub". It is pretty easy to install Lucid in PV DomU. Copy off > > > > the disk > > > > kernel and intrd to Dom0, as granny taught. > > > > > > > > Boris. > > > > > > > > > > > > --- On *Fri, 5/28/10, Jonathan Tripathy <jonnyt@abpni.co.uk>* wrote: > > > > > > > > > > > > From: Jonathan Tripathy <jonnyt@abpni.co.uk> > > > > Subject: Re: [Xen-users] Install ubunto domU > > > > To: "Boris Derzhavets" <bderzhavets@yahoo.com>, > > > > xen-users@lists.xensource.com > > > > Date: Friday, May 28, 2010, 5:02 AM > > > > > > > > > > > > Is there no way to install Ubuntu 10.04 in the current release of Xen (What > > > > ever comes with the latest CentOS) ? > > > > > > > > On 28/05/10 09:43, Boris Derzhavets wrote: > > > > > > > > > if you want to use Ubuntu 10.04, you''d best use Fedora 13 or 12? > > > > Yes. > > > > > > > > http://www.linuxtoday.com/infrastructure/2010052502335OSSV > > > > > > > > --- On *Fri, 5/28/10, Jonathan Tripathy <jonnyt@abpni.co.uk><http://mc/compose?to=jonnyt@abpni.co.uk> > > > > * wrote: > > > > > > > > > > > > From: Jonathan Tripathy <jonnyt@abpni.co.uk><http://mc/compose?to=jonnyt@abpni.co.uk> > > > > Subject: Re: [Xen-users] Install ubunto domU > > > > To: "Boris Derzhavets" <bderzhavets@yahoo.com><http://mc/compose?to=bderzhavets@yahoo.com>, > > > > Xen-users@lists.xensource.com<http://mc/compose?to=Xen-users@lists.xensource.com> > > > > Date: Friday, May 28, 2010, 4:25 AM > > > > > > > > I''m very interested in this as well. > > > > > > > > What is pygrub? Are you saying that for the time being, if you want to use > > > > Ubuntu 10.04, you''d best use Fedora 13 or 12? > > > > > > > > Thanks > > > > > > > > On 28/05/10 05:39, Boris Derzhavets wrote: > > > > > > > > You can run Ubuntu Lucid PV guest at 3.4.2, but not via "pygrub" > > > > Gitco.de/repo doesn''t contain required 4.0 src.rpm . It''s Gunter''s policy i > > > > guess. > > > > When he will make 4.0.1 he would probably provide it. > > > > I would remove CentOS 5.4 as Dom0 base and build system on F13 (F12) > > > > due to xen-4.0.0.-0.7.f12.src.rpm available at xensource. > > > > > > > > wget http://pasik.reaktio.net/fedora/xen-4.0.0-0.7.fc12.src.rpm > > > > > > > > Boris. > > > > > > > > > > > > --- On *Thu, 5/27/10, Donny Brooks <dbrooks@mdah.state.ms.us>* wrote: > > > > > > > > > > > > From: Donny Brooks <dbrooks@mdah.state.ms.us> > > > > Subject: Re: [Xen-users] Install ubunto domU > > > > To: "xen-users" <xen-users@lists.xensource.com> > > > > Date: Thursday, May 27, 2010, 3:21 PM > > > > > > > > I read this and I gather I need to be running Xen 4.0 in order to run > > > > Ubuntu 10.04 as a pv domu... is that correct? I am currently at 3.4.2 on a > > > > centos 5.4 dom0 but need to run some ubuntu domu''s very badly. Please > > > > advise! > > > > > > > > > > > > -- > > > > > > > > Donny B. > > > > > > > > On Monday, May 17, 2010 10:39 PM CDT, Boris Derzhavets < > > > > bderzhavets@yahoo.com> wrote: > > > > > > > > > > I tried to follow your steps (installing Lucid x86_64 PV domU on a > > > > > CentOS 54 x86_64 dom0, running xen 3.4.2 from gitco) ... but was not > > > > > successful. Something is still escaping me. > > > > > > > > > > Yes , you missing David''s patch. Personally , i could back port it only > > > > to Xen 4.0, > > > > > even Xen 3.4.3 was not enough. Some other CSs from 4.0 are required for > > > > consistency and you don''t know which ones. > > > > > > > > > > You are at 3.4.2 ! > > > > > > > > > > I believe gitco did Xen 4.0 rpms. Gitgo''s 4.0 src.rpm has to patched per > > > > David and rpms rebuilt. That ''s in case you want "pygrub" to be bootloader > > > > for DomU . It''s comfortable, but not required. > > > > > > > > > > Boris. > > > > > > > > > > --- On Mon, 5/17/10, David Markey <admin@dmarkey.com> wrote: > > > > > > > > > > From: David Markey <admin@dmarkey.com> > > > > > Subject: Re: [Xen-users] Install ubunto domU > > > > > To: "Nuno L. Ferreira" <nunolf@gmail.com> > > > > > Cc: "Boris Derzhavets" <bderzhavets@yahoo.com>, "xen-users" < > > > > xen-users@lists.xensource.com> > > > > > Date: Monday, May 17, 2010, 6:54 PM > > > > > > > > > > You need > > > > http://lists.xensource.com/archives/html/xen-devel/2010-04/msg00748.html > > > > > > > > > > > > > > > On 17 May 2010 23:24, Nuno L. Ferreira <nunolf@gmail.com> wrote: > > > > > > > > > > Dear *, Boris > > > > > > > > > > > > > > > > > > > > I tried to follow your steps (installing Lucid x86_64 PV domU on a CentOS > > > > 54 x86_64 dom0, running xen 3.4.2 from gitco) ... but was not successful. > > > > Something is still escaping me. > > > > > > > > > > Installation went just fine till the end after a "xm create -c lucid.xen" > > > > (see below). > > > > > > > > > > After installation (without any modifications to what was installed) I > > > > edited the xen config file (test.xen, see below) to boot with pygrub > > > > instead. But I get the following error: > > > > > > > > > > Error: Boot loader didn''t return any data! > > > > > > > > > > > > > > > > > > > > I checked that the new domU does not have /usr/bin/pygrub, and this > > > > explains the error. > > > > > > > > > > So Boris, how did you boot your ubunto based domU after a netboot > > > > installation? > > > > > > > > > > I did not tried yet the debootstrap method also suggested ... first I > > > > want to know what I''m doing wrong here. > > > > > > > > > > > > > > > > > > > > I''m a bit lost on setting up an ubunto domU, first time getting outside > > > > RedHat like OSes. So if there are some good working links to blogs/tutorials > > > > on how to install ubunto domU''s on RedHat like dom0''s I''ll appreciate. > > > > > > > > > > > > > > > > > > > > > > > > > Cheers, > > > > > > > > > > N. > > > > > > > > > > > > > > > > > > > > P.S. Steps taken : > > > > > > > > > > > > > > > > > > > > 1 - lvcreate -n domu.ubunto.lucid -L 4G vg1 > > > > > > > > > > 2 - mkfs.ext3 /dev/vg1/domu.ubunto.lucid > > > > > > > > > > 3 - wget > > > > http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/vmlinuz > > > > > > > > > > > > > > > 4 - wget > > > > http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/initrd.gz > > > > > > > > > > > > > > > 5 - cat lucid.xen > > > > > > > > > > name = "lucid" > > > > > > > > > > memory = 1024 > > > > > > > > > > disk = [''phy:/dev/vg1/domu.ubunto.lucid,xvda,w'' ] > > > > > > > > > > vif = [ ''bridge=eth0'' ] > > > > > > > > > > kernel = "/mnt/dom0/data/domu.setup/ubunto/lucid/vmlinuz" > > > > > > > > > > ramdisk = "/mnt/dom0/data/domu.setup/ubunto/lucid/initrd.gz" > > > > > > > > > > vcpus = 1 > > > > > > > > > > on_reboot = ''destroy'' > > > > > > > > > > on_crash = ''destroy'' > > > > > > > > > > > > > > > > > > > > 6 - xm create -c lucid.xen > > > > > > > > > > ... installation goes just fine ... > > > > > > > > > > 7 - cat test.xen > > > > > > > > > > name = "test" > > > > > > > > > > memory = 512 > > > > > > > > > > maxmem = 1024 > > > > > > > > > > bootloader = ''/usr/bin/pygrub'' > > > > > > > > > > disk = [''phy:/dev/vg1/domu.spyder.root,xvda,w'' ] > > > > > > > > > > vif = [ ''bridge=eth0'' ] > > > > > > > > > > vcpus = 1 > > > > > > > > > > on_poweroff = ''destroy'' > > > > > > > > > > on_reboot = ''restart'' > > > > > > > > > > on_crash = ''restart'' > > > > > > > > > > > > > > > > > > > > 8 - xm create -c test.xen > > > > > > > > > > Using config file "./test.xen". > > > > > > > > > > Error: Boot loader didn''t return any data! > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Boris Derzhavets wrote: > > > > > > > > > > > > > > > I was able to start installer : > > > > > > > > > > > > > > > > > > > > root@ServerLnx:/home/boris/ubuntu# wget > > > > http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/vmlinuz > > > > > > > > > > > > > > > --2010-05-13 12:36:14-- > > > > http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/vmlinuz > > > > > > > > > > > > > > > Resolving archive.ubuntu.com... 91.189.92.167, 91.189.88.30, > > > > 91.189.88.31, ... > > > > > > > > > > Connecting to archive.ubuntu.com|91.189.92.167|:80... connected. > > > > > > > > > > HTTP request sent, awaiting response... 200 OK > > > > > > > > > > Length: 4037888 (3.9M) [text/plain] > > > > > > > > > > Saving to: `vmlinuz'' > > > > > > > > > > > > > > > > > > > > > > > > 100%[========================================================================>] > > > > 4,037,888 101K/s in 27s > > > > > > > > > > 2010-05-13 12:36:41 (144 KB/s) - `vmlinuz'' saved [4037888/4037888] > > > > > > > > > > > > > > > > > > > > root@ServerLnx:/home/boris/ubuntu# wget > > > > http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/initrd.gz > > > > > > > > > > > > > > > --2010-05-13 12:37:02-- > > > > http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/initrd.gz > > > > > > > > > > > > > > > Resolving archive.ubuntu.com... 91.189.92.166, 91.189.92.167, > > > > 91.189.88.30, ... > > > > > > > > > > Connecting to archive.ubuntu.com|91.189.92.166|:80... connected. > > > > > > > > > > HTTP request sent, awaiting response... 200 OK > > > > > > > > > > Length: 9678415 (9.2M) [application/x-gzip] > > > > > > > > > > Saving to: `initrd.gz'' > > > > > > > > > > > > > > > > > > > > > > > > 100%[========================================================================>] > > > > 9,678,415 200K/s in 60s > > > > > > > > > > 2010-05-13 12:38:03 (156 KB/s) - `initrd.gz'' saved [9678415/9678415] > > > > > > > > > > > > > > > > > > > > root@ServerLnx:/home/boris/ubuntu# cat ubuntu.cfg > > > > > > > > > > name="U10PV" > > > > > > > > > > memory=2048 > > > > > > > > > > disk = [''phy:/dev/sdb5,xvda,w'' ] > > > > > > > > > > vif = [ ''bridge=eth0'' ] > > > > > > > > > > # vfb = [ ''type=vnc,vncunused=1''] > > > > > > > > > > kernel = "/home/boris/ubuntu/vmlinuz" > > > > > > > > > > ramdisk = "/home/boris/ubuntu/initrd.gz" > > > > > > > > > > vcpus=2 > > > > > > > > > > on_reboot = ''restart'' > > > > > > > > > > on_crash = ''restart'' > > > > > > > > > > > > > > > > > > > > # xm create -c ubuntu.cfg > > > > > > > > > > > > > > > > > > > > and see several obvious disadvantages (vs HVM convertion) : > > > > > > > > > > > > > > > > > > > > 1. VFB doesn''t work > > > > > > > > > > 2. After selecting local mirror "Installing base system" is already > > > > running for 15 min > > > > > > > > > > at 2MB/sec ADSL connection. > > > > > > > > > > > > > > > > > > > > Boris. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -----Inline Attachment Follows----- > > > > > > > > > > _______________________________________________ > > > > > Xen-users mailing list > > > > > Xen-users@lists.xensource.com > > > > > http://lists.xensource.com/xen-users > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > Xen-users mailing list > > > > Xen-users@lists.xensource.com > > > > http://lists.xensource.com/xen-users > > > > > > > > > > > > > > > > _______________________________________________ > > > > Xen-users mailing list > > > > Xen-users@lists.xensource.com > > > > http://lists.xensource.com/xen-users > > > > > > > > > > > > -----Inline Attachment Follows----- > > > > > > > > _______________________________________________ > > > > Xen-users mailing list > > > > Xen-users@lists.xensource.com > > > > http://lists.xensource.com/xen-users > > > > > > > > > > > > > > > > -----Inline Attachment Follows----- > > > > > > > > _______________________________________________ > > > > Xen-users mailing list > > > > Xen-users@lists.xensource.com<http://mc/compose?to=Xen-users@lists.xensource.com> > > > > http://lists.xensource.com/xen-users > > > > > > > > > > > > > > > > _______________________________________________ > > > > Xen-users mailing list > > > > Xen-users@lists.xensource.com > > > > http://lists.xensource.com/xen-users > > > > > > > > > > > > > > > > -- > > > Tapas > > > > > > > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users