This page is replaced by Xen

Old FreeBSD/Xen port wiki page

The port will only run as a guest (ie. domU) right now, on i386/PAE platforms.





To help get one started a small file-backed disk and some sample configuration files can be found at:

Steps I used for installing Xen 3.2 on a recent CentOS:

Install zlib-devel, gcc, libX11-devel, openssl-devel, ncurses-devel, bridge-utils, python-devel.

Install git if it's not already included in the Dom0 install; it's needed by the Xen build.

Fetch mercurial:


Build & install mercurial:

python config; python build; python install

Fetch xen sources:

hg clone

Build and install the xen kernel, modules, and tools:

cd xen-3.3-testing.hg ; make world && make install

Create new initrd:

mkinitrd /boot/initrd-

Update /boot/grub/grub.conf (menu.lst on some systems). A sample entry might look like this:

title Xen (
        root (hd0,1)
        kernel /boot/xen-3.3.gz console=com1 com1=115200,8n1
        module /boot/vmlinuz- ro root=/dev/sda2 rhgb console=tty console=ttyS0,115200
        module /boot/initrd-

NOTE: Don't use this example verbatim without reviewing the "root" parameters


For questions about FreeBSD on xen and next steps please contact Kip Macy - he can be reached at kmacy at There is also a dedicated mailing list:

Kip Macy is currently working on a RELENG_7 backport.

This entry is referenced by the BSD Research blog.


FreeBSD/XenOld (last edited 2019-09-07T08:40:53+0000 by LorenzoSalvadore)