2009/6/12 marco di sano <marcodis...@gmail.com>:

> bootloader = '/usr/lib/xen-3.0.3-1/bin/pygrub'

I haven't tried it under 3.0.3.

> disk =
> ['phy:/dev/VolGroup00/FreeBsdRoot,sda3,w','phy:/dev/VolGroup00/FreeBsdSwap,sda3,w']

It tries extracting a config and kernel image from the first disk, just FYI.

>  File "/usr/lib/xen-3.0.3-1/bin/pygrub", line 338, in read_config
>    raise RuntimeError, "Unable to read filesystem"

pygrub uses a bunch of C library things in a filesystem library to
read the file(s) from the disk image. It also reads the partition
table via magic byte offsets and direct reads from python code. It is
all a bit evil :)

I'm not sure whether 3.0.3 came with the pygrub modules to read UFS.
It doesn't do this from kernel space - it does this in 100% userland
code. It may be possible to backport the UFS module for pygrub if

> Someone can tell me the correct way to use the frebsd image and boot it?
> Is there something to change in my configuration file?

You may need to extract the kernel image + command line options and
boot the kernel using the non-pygrub method. Sorry.

freebsd-xen@freebsd.org mailing list
To unsubscribe, send any mail to "freebsd-xen-unsubscr...@freebsd.org"

Reply via email to