I'll explain on this web page how to have a proper installation and a working configuration of a [xen] system.
Install the needed package[]
# apt-get install xen-linux-system-2.6.18-5-xen-686 # apt-get install libc6-xen # apt-get install bridge-utils # apt-get install xen-hypervisor-3.0.3-1-i386 # apt-get install xen-utils-3.0.3-1
Reboot to the new kernel[]
and you now need to reboot to the new xen kernel to be able to do some virtualization. So, let's do that.
# reboot;
Configure virtual networking[]
To get [xen] working, I always edit a file, to use only bridge network as it seems easier. At this moment, I still didn't try any other kind of network for [xen]. I advice it to you, as it make things easy. Let's first stop the xen daemon process :
# xend stop
Then, edit the file :
/etc/xen/xend-config.sxp
and change one line. You would probably have this line :
(network-script network-dummy)
let's change it to :
(network-script network-bridge)
Then simply start the xen daemon again, like that he will be aware of the new settings :
# xend start
You can now start a vm.