This is a short note of my latest xen installation.
Setup Debian Etch (testing) as usual
This is Xen installation procedure
update-grub
apt-get install xen-hypervisor-3.0-i386 xen-utils-3.0 iproute bridge-utils libc6-xen xen-tools
apt-get install libc6-xen #for etch
wget http://bits.xensource.com/Xen/latest/xen-3.0.2-install-x86_32.tgz
tar -xvzf xen-3.0.2-install-x86_32.tgz
cd xen-3.0.2-2-install/
sh ./install.sh
nano /boot/grub/menu.lsttitle Xen 3.0 / XenLinux 2.6
kernel /boot/xen-3.0.gz console=vga
module /boot/vmlinuz-2.6-xen root=/dev/hda1 ro console=tty0mv /lib/tls /lib/tls.disabled #for sargeCreate a virtual machine
xen-create-image --hostname=vm01 --dir=/home/xen --size=2Gb --swap=128Mb --memory=32Mb --ip=192.168.0.200 --gateway=192.168.0.1 --netmask=255.255.255.0I had to edit /etc/xen/vm01.cfg and change the following lines from
kernel = '/boot/vmlinuz-2.6.16-1-xen-686'
ramdisk = '/boot/initrd.img-2.6.16-1-xen-686'kernel = '/boot/vmlinuz-2.6.16-xen'
#ramdisk = '/boot/initrd.img-2.6.16-1-xen-686'Start the virtual machine
xm create vm01.cfg -cLogin as root whithout password.
set the paswword
passwd rootYou may now setup and update the system as usual
/usr/sbin/base-config
aptitude update
aptitude upgradeor logout and relogin via ssh to do the setup.
Post new comment