lenny:~# echo "loop max_loop=255" >> /etc/modules
lenny:~# apt-get install xen-hypervisor-3.2-1-amd64 linux-image-2.6.26-1-xen-amd64 xen-tools libc6-xen bridge-utils lsb-release
lenny:~# update-grub
lenny:~# reboot
--------- Boot with "Xen 3.2-1-amd64 / Debian GNU/Linux, kernel 2.6.26-1-xen-amd64" ---------
lenny:~# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 5.0 (lenny)
Release: 5.0
Codename: lenny
lenny:~# uname -a
Linux lenny 2.6.26-1-xen-amd64 #1 SMP Sat Jan 10 20:39:26 UTC 2009 x86_64 GNU/Linux
lenny:~# xen-create-image -dir /home/xen --dist etch --debootstrap --fs reiserfs --accounts --kernel /boot/vmlinuz-2.6.26-1-xen-amd64 --initrd /boot/initrd.img-2.6.26-1-amd64 --hostname etch1 --dhcp --mirror http://free.nchc.org.tw/debian
lenny:~# vi /etc/xen/xend-config.sxp
lenny:~# /etc/init.d/xend restart
lenny:~# xm create etch1.cfg
lenny:~# xm list
Name ID Mem VCPUs State Time(s)
Domain-0 0 357 1 r----- 106.4
etch1 3 128 1 -b---- 8.7
lenny:~# netstat -nap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:5901 0.0.0.0:* LISTEN 2682/qemu-dm