|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] xen tools
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-----
|
From cricket scores to your friends. Try the Yahoo! India Homepage!_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|