Tips for shell based partitioning during install

Ben Woods woodsb02 at
Wed May 3 20:46:59 UTC 2017

On Wed, 3 May 2017 at 2:31 am, Peter Pauly <ppauly at> wrote:

> I'm using the option in the installer where you go out to a shell prompt
> during the partitioning step in the installer on FreeBSD 11-Release and
> booted off of the CD. All is going well until I get to this step:
> zpool create zroot raidz2 /dev/gpt/disk0 /dev/gpt/disk1 /dev/gpt/disk3 ...
> etc.
> cannot mount '/zroot': failed to create mountpoint
> The instructions when going out to the shell say I have to mount the
> filesystem under /mnt but /mnt is read-only.
> I tried to use the Guided Auto (ZFS) but it doesn't work with more than 10
> drives.
> What am I doing wrong?

Hi Peter,

When I do manual zfs partitioning during installs, i follow the commands
used by the actual bsdinstall scripts (the ones that would have been
executed if I used the auto mode).

A copy of them can be viewed online here:

Essentially the zpool create command needs to have:

zpool create -o altroot=/mnt -O compress=lz4 -O atime=off -m none -f zroot
raidz2 /dev/gpt/disk0 ...


> --

From: Benjamin Woods
woodsb02 at

More information about the freebsd-questions mailing list