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.

Status

TODO

Warnings

Setup

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

http://www.fsmware.com/xenofreebsd/7.0/download/

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:

wget http://www.selenic.com/mercurial/release/mercurial-1.0.2.tar.gz

Build & install mercurial:

python setup.py config; python setup.py build; python setup.py install

Fetch xen sources:

hg clone http://xenbits.xensource.com/xen-3.2-testing.hg

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-2.6.18.8-xen.img 2.6.18.8-xen

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

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

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

Updates

For questions about FreeBSD on xen and next steps please contact Kip Macy - he can be reached at kmacy at freebsd.org. There is also a dedicated mailing list: http://lists.freebsd.org/mailman/listinfo/freebsd-xen

Kip Macy is currently working on a RELENG_7 backport.

This entry is referenced by the BSD Research blog.


CategoryHistorical

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