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] xen tools

To: xen-users@xxxxxxxxxxxxxxxxxxx, Ahmad Hassan <ahmad.hassan@xxxxxxxxx>
Subject: Re: [Xen-users] xen tools
From: Fasiha Ashraf <feehapk@xxxxxxxxxxx>
Date: Thu, 5 Nov 2009 14:32:33 +0530 (IST)
Cc:
Delivery-date: Thu, 05 Nov 2009 01:03:27 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.in; s=s1024; t=1257411754; bh=8qOWJop5whqfIU1A2xkM1v7X6bpTccnQVgWeEJ2pv38=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=47urF2uVxNh9l+lCsDu1Qtdeia/dlkBAdD2FdmeRbBgnU8ULP011F2F2op+BxmpGlSLCQVV11GMXZ6u0HrlH9hIznaROxjusy34vJ3zoIB1ZV1iTN+YOqqltHP1JZtdSTVpEppxYmBHItQVTH3kdvFseXEi2tde5aQxxVW8qPNU=
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.in; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=zlMLMVd7ZaMMPAccncWLL//QNCOjMv3mj6kXBgJaGlgoeWkAle5IJh7i3BD4B01nwGT7U0+5ciPsas8bcHs8eWPjqKOoU/C4N+iVMVesrRaefMTjerNPQcw0c0ppKMKVKJ588Lu1++ub7y56zccOHAdeArtFpfnaVsRGj7GRi3E=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <d47704fc0911040858x18f6635eq5fbb228e6b05ac0a@xxxxxxxxxxxxxx>
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
you can create vms using pre-built image. that's the most simple and quick way of doing this. Use the related debian commands in the following sequence to create guests

Bring up local Apache Server to create HTTP installation source.

# chkconfig httpd on
# service httpd start
# mount -o loop f11.iso /var/www/html/f11
# wget http://192.168.1.36/f11/images/pxeboot/vmlinuz
# wget http://192.168.1.36/f11/images/pxeboot/initrd.img

The following command creates a 20 GB disk image file for you to use as virtual harddisk for your guest operating system. This operation will take some time to execute.
Run as root:

# dd if=/dev/zero of=/path/to/guest-os-hdd.img bs=1024k seek=20000 count=0

Then you use the following disk directive in your guest os configuration:
disk = [ 'file:/path/to/guest-os-hdd.img,hda,w']


Create installation profile:-

name="F11PV"
memory=2048
disk =
[ 'file:/path/to/guest-os-hdd.img,hda,w']
vif = [ 'bridge=eth0' ]
vfb = [ 'type=vnc,vncunused=1']
kernel = "/home/boris/fedora/vmlinuz"
ramdisk = "/home/boris/fedora/initrd.img"
vcpus=2



# xm create f11.install
# vncviewer localhost:0


Fasiha Ashraf

--- On Wed, 4/11/09, Ahmad Hassan <ahmad.hassan@xxxxxxxxx> wrote:

From: Ahmad Hassan <ahmad.hassan@xxxxxxxxx>
Subject: [Xen-users] xen tools
To: xen-users@xxxxxxxxxxxxxxxxxxx
Date: Wednesday, 4 November, 2009, 9:58 PM

Hi All,

I installed xen 3.4.1 from source along with linux 2.6.31.4. But xen-create-image command is not available. Why is that so? In this case, how should I create guest VM's and install guest operating system.

Thanks.

--
Best Regards, Hassan


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

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


From cricket scores to your friends. Try the Yahoo! India Homepage!
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>