Archive for June, 2008

FreeBSD 7(DomU) on XEN 3.

Monday, June 16th, 2008

I have compiled a FreeBSD-current XEN kernel(386/PAE) from the sources on cvsup10, I have also built an image which is a pristine image of FreeBSD which has been customised for the XEN kernel, uncompressed the filesystem layout is as follows:

pristine# df -m
Filesystem 1M-blocks Used Avail Capacity Mounted on
/dev/xbd833s1a 421 36 350 9% /
devfs 0 0 0 100% /dev
/dev/xbd833s1e 383 0 352 0% /tmp
/dev/xbd833s1f 6059 1917 3657 34% /usr
/dev/xbd833s1d 726 7 660 1% /var
procfs 0 0 0 100% /proc

The root password is “password”

This is not a stable kernel in the slightest, there is a known bug which segfaults the kernel, do not use for anything but experimentation.

This is an example XEN configuration:

name = ‘freebsd’
memory = ‘256′
vif = [ 'bridge=br0' ]
disk = [ 'file:/path/to/freebsd7.pristine,hdb1,w' ]
on_shutdown = ‘destroy’
on_reboot = ‘restart’
on_crash = ‘destroy’
kernel = ‘/path/to/kernel’
extra = “,vfs.root.mountfrom=ufs:/dev/xbd833s1a”
extra += “,kern.hz=250″

Kernel: here
Filesystem: here


Copyright © 2018 All Rights Reserved.
No computers were harmed in the 0.315 seconds it took to produce this page.

dmarkey.com