LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 04-17-2009, 05:23 AM   #1
renuaseri
Member
 
Registered: Mar 2009
Posts: 39

Rep: Reputation: 15
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.....
 
Old 04-18-2009, 03:34 PM   #2
English
LQ Newbie
 
Registered: Feb 2004
Posts: 8

Rep: Reputation: 0
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with xen virtual machine marzban123 Linux - Software 1 04-26-2009 08:35 AM
Virtual Machine Manager (Xen) in in Fedora 7 samthakur Linux - Software 0 11-15-2007 11:05 AM
Installing a xen virtual machine from CD media. ChrisScott Linux - General 0 05-01-2007 10:55 AM
DSL for virtual machine under Xen? Peufelon DamnSmallLinux 1 11-07-2006 05:48 PM
problems with xen virtual machine klinux89 Linux - Kernel 1 10-06-2006 07:47 AM


All times are GMT -5. The time now is 07:54 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration