Xen

  • 情報源

http://xenbits.xensource.com/
http://forums.xensource.com/index.jspa
http://lists.xensource.com/

自分でBuildする場合、FC6やopenSUSE102ではうまくいかない場合が多いです。
今のところ無用なトラブルを避けるなら、FC5が無難な感じです。

  • 準備

Xenのバージョン管理は Mercurial なので導入しておく
# yum install mercurial

見つからない場合は
http://rpmfind.net/linux/rpm2html/search.php?query=mercurial

あとfirmwareのBuildにはdev86が必要なので追加しておく
# yum install dev86

  • 自分でSourceをBuild(tgzから)

$ tar xvfz xen-3.0.4_1-src.tar.gz
$ cd xen-3.0.4_1-src
$ make world
# make install
# mkinitrd /boot/initrd-2.6.16.33-xen.img 2.6.16.33-xen

edit grub.conf

# reboot

  • 自分でUnstableをBuild (Mercurialから)

http://xenbits.xensource.com/xen-unstable.hg

$ hg clone http://xenbits.xensource.com/xen-unstable.hg
$ cd xen-unstable.hg
$ make world
$ make install

FC5&FC6
# /sbin/mkinitrd /boot/initrd-2.6.18-xen.img 2.6.18-xen

openSUSE
# /sbin/mkinitrd -i /boot/initrd-2.6.18-xen -k vmlinuz-2.6.18-xen

以降は、
$ hg incoming で更新確認
$ hg pull で落として
$ hg update で更新

make tools
make install-tools

make xen
make install-xen

Changesetは
http://xenbits.xensource.com/xen-unstable.hg
http://xenbits.xensource.com/staging/xen-unstable.hg