I've been experimenting with a FreeBSD 8.1 build, booting with a root in
zfs, but I've found a problem with the kernel: using the generic kernel
works fine, but this particular server needs ipsec enabled, and the
kernel I built with ipsec support for some reason can't mount the zfs
I'm assuming you're booting from a UFS /boot? Otherwise you'd need to
build the required modules into the kernel.
Right -- I did create a UFS /boot partition in gpart.
When building a custom kernel, _always_ start from a GENERIC kernel
from the release you're using. There have been changes
I'm assuming you're booting from a UFS /boot? Otherwise you'd need to
build the required modules into the kernel.
Sorry -- not booting from a UFS /boot, just loader bootstrap code on a
freebsd-boot partition.
--
Joshua A. Coats
Unix Systems Administrator
Network and Infrastructure, RSSP-IT
As further clarification, I can boot kernel.old (i.e., GENERIC) with the
gptzfsloader, but the custom kernel won't boot;
The full config for the custom kernel is:
include GENERIC
ident RCBSD_ZFS_REL8
# Enabling IPSec (see SysAdmin.IPSec in TWiki)
options
Turns out the problem is that my copy of /usr/src got clobbered by a
download of the 7.3 release's copy. Replacing that properly fixed the
problem.
--
Joshua A. Coats
Unix Systems Administrator
Network and Infrastructure, RSSP-IT
University of California, Berkeley
pgp9uS20agNF4.pgp