Xen on Debian installation notes

Packages

Install the following packages:

  sudo
  make
  gcc
  less
  libc6
  libc6-dev
  bzip2
  patch
  zlib

And for Xen:

  iproute
  python2.3-dev  
  bridge-utils

Unpack Xen source, edit the makefile and add the line:

  KERNELS ?= linux-2.6-xen0 linux-2.6-xenU 

Comment out the existing KERNELS line. As root, type make and when it's done, change to the dist directory and run the install script. Add the following lines to /boot/grub/menu.lst:

  title           Xen
  root            (hd0,0)
  kernel          /boot/xen-3.0.gz
  module          /boot/vmlinuz-2.6.16-xen0 root=/dev/md0 ro console=tty0
  savedefault
  boot

This should be done twice, once for each RAID-1 disk. Reboot.

Links

http://www.fedoraforum.org/forum/showthread.php?t=2921&page=5
http://www200.pair.com/mecham/raid/raid1-page3.html