Problem while upgrading to 15.1-RELEASE with zfs boot

Hi everyone

I have had a strange problem while upgrading to 15.1-RELEASE
The system would still stick to boot 15.0p9, even after all the upgrade procedures went fine.

# freebsd-update -r 15.1-RELEASE upgrade
# freebsd-update install
# reboot
# freebsd-update install
...

I have a zoo of freebsd machines,
It worked like a charme on the other ones (zfs/ffs/amd64/aarch64)
But on this machine, it did fail.

The upgrade process looked like it did work without flaws,
but after reboot it did again boot into 15.0p9

That machine runs on zfs root,
It was cleanly installed from 15.0/zfs just two months ago,
updated through 15.0p9 without any problems.

I have beadm installed,
Maybe I deleted the default bootfs in a cleanup script?
I will now research this.

I hope, that I am the only one to encounter this problem.
This might be specific to my setup
(while my setup is intentionally really bare bones from scratch)

I then tried to activate one of the recent boot environments (from the upgrade)
# beadm activate ...
# reboot
which put the machine in limbo

It boots with a lot of weird messages.
What the is zfs: can not read MOS?

It comes up to the login prompt,
but I can not even log in as root.

Let's select another boot environment in the boot menu.
This did not work for me.
Even the boot menu display to select another boot environment was broken.
It did only show the current boot environment,
and the display of the options was broken.

Maybe something got really broke on this machine?
Or maybe I did something completely wrong?
Or maybe it's a bug.

I will now try to get these boots to get up running.
This is why we have zfs: nothing get's lost!

I will now boot the machine to single user mode.
And then set zfs to boot from an older boot environment.

I think, this procedure should then be added to the handbook.
- How to mount zfs r/w from single user mode
- How to remount /usr/local from zfs in single user mode
- How to list and set the boot environment from single user mode

Or maybe, we need a new chapter in the handbook
how to survive ... with zfs
 
Back
Top