LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   install xen virtual machine (https://www.linuxquestions.org/questions/linux-newbie-8/install-xen-virtual-machine-719802/)

renuaseri 04-17-2009 05:23 AM

install xen virtual machine
 
hello sir,
i want to install xen for local virtual machine. my system configuration is.......

OS----ubuntu 8.04
kernel--2.6.24-23 generic


i have used these step:
--apt-get install ubuntu-xen server
--reboot
--i edit /etc/xen/xend-config.sxp.and add (network-script network-bridge) right above the (vif-script vif-bridge) line.
--i add loop max_loop=64 in /etc/modules
--i edit /etc/xen-tools/xen-tools.conf by these changes


dir = /home/xen
[...]
dist = gutsy # Default distribution to install.
[...]
gateway = 192.168.1.1
netmask = 255.255.255.0
broadcast = 192.168.0.255
[...]
passwd = 1
[...]
mirror = http://archive.ubuntu.com/ubuntu/
[...]


---after that create my first guest domain, xen1.example.com,by this command.......


xen-create-image --hostname=xen1.example.com --size=2Gb --swap=256Mb --ide \
--ip=192.168.1.2 --netmask=255.255.255.0 --gateway=192.168.1.1 --force \
--dir=/home/xen --memory=64Mb --arch=i386 --kernel=/boot/vmlinuz-2.6.24-23-xen \
--initrd=/boot/initrd.img-2.6.24-23-xen --debootstrap --dist=gutsy \
--mirror=http://archive.ubuntu.com/ubuntu/ --passwd

after it shows this output:

Unknown option: debootstrap

General Information
--------------------
Hostname : xen1.example.com
Distribution : gutsy
Fileystem Type : ext3

Size Information
----------------
Image size : 2Gb
Swap size : 256Mb
Image type : sparse
Memory size : 64Mb
Kernel path : /boot/vmlinuz-2.6.22-14-xen
Initrd path : /boot/initrd.img-2.6.22-14-xen

Networking Information
----------------------
IP Address 1 : 192.168.0.101
Netmask : 255.255.255.0
Broadcast : 192.168.0.255
Gateway : 192.168.0.1


Creating swap image: /home/xen/domains/xen1.example.com/swap.img
Done

Creating disk image: /home/xen/domains/xen1.example.com/disk.img
Done

Creating ext3 filesystem on /home/xen/domains/xen1.example.com/disk.img
Done
Installation method: debootstrap

after these line system takes lot of time and finally aborted


so plz help me .........
thank you.....

English 04-18-2009 03:34 PM

Hi there. Is there any particular reason you have chosen XEN?

VMWare also offer a free virtualisation product that allows you to create virtual machines. It is called VMWare Server. You do have to register however on their website to obtain a license, however it is completely free to use.

It comes with a nice GUI and is fairly straightforward to use.

I know that in the past, XEN was more difficult to configure, but since being purchased by Citrix, perhaps they have simplified the interface.


All times are GMT -5. The time now is 10:18 PM.