11.2 cannot boot with root on ZFS
Matthias Fechner
idefix at fechner.net
Tue Oct 2 06:33:35 UTC 2018
Am 06.08.2018 um 21:10 schrieb doug:
> I have an amd64 ZFS install from the USB file taking all the defaults.
> Here's what my disk looks like:
>
> => 40 1953525088 ada1 GPT (932G)
> 40 409600 1 efi (200M)
> 409640 1024 2 freebsd-boot (512K)
> 410664 984 - free - (492K)
> 411648 4194304 3 freebsd-swap (2.0G)
> 4605952 1948917760 4 freebsd-zfs (929G)
> 1953523712 1416 - free - (708K)
>
> mount_msdosfs /dev/ada1p1 /mnt
> cd /mnt/efi/boot/
> ls -l
> total 385
> -rwxr-xr-x 1 root wheel 393216 Apr 16 10:12 BOOTx64.efi
> -rwxr-xr-x 1 root wheel 12 Apr 16 10:12 startup.nsh
>
> cat startup.nsh
> BOOTx64.efi
I played around and I found a solution, that maybe helps someone else too:
I installed now a virtual machine with MFSBSD and upgraded it using
freebsd-update.
Upgrade was successfully done, I copied the boot folder to the PC the
upgrade is failing, modified the loader.conf and reboot is fine now.
It seems that freebsd-update damaged each time the boot folder while
doing the upgrade which causes it to fail on rebooting the new kernel.
Gruß
Matthias
--
"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
More information about the freebsd-questions
mailing list