[SOLVED]Re: How to create ZFS on Root using MBR slices?

Scot Hetzel swhetzel at gmail.com
Sun Jul 12 01:55:53 UTC 2009


> Can you successfuly boot this ZFS-Only FreeBSD on MBR slices ?
>
Yes, my system has successfully booted from the ZFS-Only Root
filesystem as outlined in
http://wiki.freebsd.org/ZFSOnRootWithZFSboot.  I did have to set
exec=on for the /var/tmp directory, otherwise it wouldn't let pkg_add
run the +INSTALL scripts from the package staging area in /var/tmp.

> I tried the zfsboot trick few months ago and it didn't work for me.
> And it still doesn't work, I'm stuck at the loader with no prompt. I
> tried both with a BSD partition (freebsd-zfs type) and without,
> directly on the MBR slice.
>

Did it get stuck at the Boot Manager menu (F1 - Win, F2 - FreeBSD,
...) or did it show that it was running /boot/loader?

If it was running /boot/loader, you need to make sure that
LOADER_ZFS_SUPPORT (add it to src.conf) was used to build /boot/loader
 and installed on your system.

Also make sure that /boot/zfs/zpool.cache was copied to your ZFS zpool
(i.e zroot/boot/zfs/).

Scot


More information about the freebsd-current mailing list