Can't boot on ZFS -- /boot/zfsloader not found

Jeremie Le Hen jlh at freebsd.org
Wed Jan 11 22:58:26 UTC 2017


(Sorry I had to copy-paste this email from the archives to a new
thread, because I'm not subscribed to -stable at . Would you mind cc:ing
me next time please?)

> As your not at the boot loader stage yet for keyboard enabling legacy
> USB keyboard / mouse support in BIOS may help.

That worked, thanks for the tip.


> If you see issues with keyboard after the kernel takes over setting
> hint.ehci.0.disabled=1 may help.
>
> If your installing 11.x then the guides boot partition size is out of
> date and you should use 512K for your freebsd-boot partition.

Oh, really?  I'll update it once I'll have figure it all out.  That's
weird though because /boot/gptzfsboot is less than 90 KB.


> For the GPT version (I've never used MBR one) what actual error do you get?

When I just start up the NUC, I get:
"""
\Can't find /boot/zfsloader

FreeBSD/x86 boot
Default: zroot:/boot/kernel/kernel
boot:
\
Can't find /boot/kernel/kernel
"""

I though it was the first stage boot loader, but it may be the second stage.

-jlh

>
> On 11/01/2017 19:22, Jeremie Le Hen wrote:
> > Hi,
> >
> > I'm in the process of transferring my home server to an Intel NUC. I've zfs
> > send/receive'd the whole pool to the new drive and first followed
> > [ZfsOnGpt] but it fails in the first stage boot loader. The USB keyboard
> > doesn't seem to be recognized so I can't really debug anything.
> >
> > Then I tried both [ZfsInMbrSlice]
> > but it complains that it can't find /boot/zfsloader. Again USB keyboard
> > doesn't work.
> >
> > Both times I've been very careful to install the bootcodes at the right
> > place.
> >
> > 1. Any idea why the USB keyboard doesn't work?
> > 2. Any idea what can be wrong in the setups I tried? How can I debug this?
> >
> > [ZfsOnGpt] https://wiki.freebsd.org/RootOnZFS/GPTZFSBoot
> > [ZfsInMbrSlice] https://wiki.freebsd.org/RootOnZFS/ZFSBootPartition
> >
> > -jlh
> > _______________________________________________
> > freebsd-stable at freebsd.org mailing list
> > https://lists.freebsd.org/mailman/listinfo/freebsd-stable
> > To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"


-- 
Jeremie Le Hen
jlh at FreeBSD.org


More information about the freebsd-stable mailing list