WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Install ubunto domU

To: admin@xxxxxxxxxxx
Subject: Re: [Xen-users] Install ubunto domU
From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
Date: Thu, 13 May 2010 02:03:31 -0700 (PDT)
Cc: "Nuno L. Ferreira" <nunolf@xxxxxxxxx>, xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 13 May 2010 02:05:08 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1273741411; bh=G5tFBzw7dTpjhZ6uIExu+C2ngt9WoNsU2IpHGzJj7q4=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=oWUXR6TnuT+je47rN7Q1GeUKoetDkfSyM9fk27jFPF7SmsgFZvVi6dhVijfguW8oDVGL18IOauTjZoAbbsec0SJnhna0xN7PMBd69EfBCYE0sCOawCpIuq4QsL5REJfPDaPBdIyAjAhtkXdazhV4rX114emXy4XrV+RBvBns6yM=
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=gnwIRp1czdAUB46dT+Xrrxlb2GZtzFM1mNh3Fht9FAHtawBm1JVsHft1pWV/h66+3q/m+jVP/ptjA95cMYch0NrnMFiWOVcVpvZtdHlGw7wLckf/TUEt3uEPRJNRYPcq529uAGYqJ0Qc2IGFXE7gGZO6NPt8ni9yo1DCadeWYMM=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <337874.6234.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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



# 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@xxxxxxxxx> wrote:

From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
Subject: Re: [Xen-users] Install ubunto domU
To: admin@xxxxxxxxxxx
Cc: "Nuno L. Ferreira" <nunolf@xxxxxxxxx>, "xen-users" <xen-users@xxxxxxxxxxxxxxxxxxx>
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@xxxxxxxxxxx> wrote:

From: David Markey <admin@xxxxxxxxxxx>
Subject: Re: [Xen-users] Install ubunto domU
To: "Boris Derzhavets" <bderzhavets@xxxxxxxxx>
Cc: "xen-users" <xen-users@xxxxxxxxxxxxxxxxxxx>, "Nuno L. Ferreira" <nunolf@xxxxxxxxx>
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@xxxxxxxxx> 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@xxxxxxxxx> wrote:

From: Nuno L. Ferreira <nunolf@xxxxxxxxx>
Subject: [Xen-users] Install ubunto domU
To: "xen-users" <xen-users@xxxxxxxxxxxxxxxxxxx>
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@xxxxx
W: http://nmr.chem.uu.nl
==============================================


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


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



-----Inline Attachment Follows-----

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

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