Install Xen3 from Binaries
- A base install of Debian Sarge is required.
mkdir -p /root/xen cd /root/xen export http_proxy=“http://staff-proxy.ul.ie:8080” wget http://bits.xensource.com/Xen/latest/xen-3.0.2-install-x86_32.tgz tar -pzxf xen-3.0.2-install-x86_32.tgz cd xen-3.0.2-install/ ./install.sh
Debian Sarge still lacks some of the essential tools to make an initial ramdisk to boot up dom0. mkinitrd (debian stable) wont work and only creates devfs. mkinitramfs is needed - and its in debian testing. Installing from binaries requires you to build and add in a module containining info from your current setup containing SATA drivers etc. → depmod -a 2.6.16-xen mkinitramfs -o /boot/initrd.img-2.6.16-2-xen-686 2.6.16-xen I didnt get it working using mkinitrd - so bye bye to binaries. It just didnt like booting from md0 or sda1.
mkinitrd will only make devfs - which xen doesn't like. udev is used as an alternative to devfs. However only mkinitramfs will make udev initd and its only in debian testing - so backports is the easiest solution. This mkinitramfs is pulled down with the “apt-get install linux-image-2.6.16-2-xen-686” package once Backports are added in.