Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Aug 2018 12:01:50 +0200
From:      Matthias Fechner <>
Subject:   Re: 11.2 cannot boot with root on ZFS
Message-ID:  <>
In-Reply-To: <>
References:  <> <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Hi Kyle,

sry that it took longer, but I had a harddisk failure and it took some
time to resilver the pool to a new disc.

Am 16.07.2018 um 19:45 schrieb Kyle Evans:
> To be clear- the kernel can't find the zfs pool, or one of the earlier
> stages? Giving the pool manually meaning at a mountroot prompt, or
> somewhere else?

I'm not sure what the problem is.
If I update the kernel from 11.1 to 11.2 with freebsd-update and reboot,
it could be a kernel panic with an immediate reboot.
It is that fast, that it is impossible to see anything on the screen, so
I cannot give you a clear error message for this.

If I try then to boot the old kernel in the bootloader with:
load /boot/kernel.working/kernel

it is not able to mount the zroot pool.

To fix this, I need to boot mfsbsd from an USB stick and do:
zpool import -o altroot=3D/mnt zroot
cd /mnt
tar xjvf boot_111_working.tar.bz2
cd /
zpool export zroot

> This is for specifically for aarch64, but you've not specifically
> mentioned it- you're on aarch64, right?
you are right, I'm on a normal amd64 platform.

> I think we'll need a little more information about where and
> specifically how it's failing for you to determine that. Others have
> reported successful upgrades from 11.1 to 11.2 with root-on-ZFS
> setups.

is it maybe the way the disc are partitioned?

I have an empty EFI partition on the harddisk (to have later space for EF=
gpart show ada0
=3D>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 40=C2=A0 5860533088=C2=A0 =
ada0=C2=A0 GPT=C2=A0 (2.7T)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 40=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0 262144=C2=A0=C2=A0=C2=A0=C2=A0 1=C2=A0 efi=C2=A0 (128M)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 262184=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0 512=C2=A0=C2=A0=C2=A0=C2=A0 2=C2=A0 freebsd-boot=C2=A0 (256K=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 262696=C2=A0 5860270424=C2=A0=C2=A0=C2=A0=C2=
=A0 3=C2=A0 freebsd-zfs=C2=A0 (2.7T)
=C2=A0 5860533120=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0 8=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 - free -=C2=A0 (4.0K)

The bootloader is correctly installed using:

gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 2 ada0



"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook

Want to link to this message? Use this URL: <>