Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Jul 2009 20:55:52 -0500
From:      Scot Hetzel <swhetzel@gmail.com>
To:        Olivier SMEDTS <olivier@gid0.org>
Cc:        freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: [SOLVED]Re: How to create ZFS on Root using MBR slices?
Message-ID:  <790a9fff0907111855md9de566n62926c0037606514@mail.gmail.com>
In-Reply-To: <367b2c980907111603t74766651gf52310d38dc48dd2@mail.gmail.com>
References:  <790a9fff0907101159w495b644dge4a4bd81de0bda9b@mail.gmail.com> <20090710211809.GA84773@crodrigues.org> <790a9fff0907101911y7143ed4bnbb050d78ebc21558@mail.gmail.com> <790a9fff0907110606t61da8ebbufa5575d12d949ca@mail.gmail.com> <367b2c980907111603t74766651gf52310d38dc48dd2@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?790a9fff0907111855md9de566n62926c0037606514>