Somehow I messed up an upgrade from 11.1-RELEASE to 11.2-RELEASE.
I can only boot into an old 11.0 kernel in single user mode.
It is quite obvious that there is a mixture of different versions involved, and I can’t boot into the newest kernel. Some startup scripts are damaged and I can’t start /etc/rc.d/zfs
I'm not able to run make buildworld from a 11.1-RELEASE source tree. The first error was a missing include/__undef_min_max which I had to copy manyally:
Now I'm getting new errors like
and
As some vital files and directories are on a zfs drive, there is a lot of stuff I can’t recover if I have to start from a clean install. My backups of the home/zfs partition are outdated, and I only have partial backups of the rest of the system.
I asked more or less the same question on the mailing list
http://freebsd.1045724.x6.nabble.co...e-buildworld-from-11-0-RELEASE-td6268323.html and got a reply about the same kind of troubles with no directions.
Can anyone suggest a solution or part of one?
Thank you very much in advance
I can only boot into an old 11.0 kernel in single user mode.
uname -a:
FreeBSD 11.0-RELEASE-p8 FreeBSD 11.0-RELEASE-p8 #0: Wed Feb 22 06:12:04 UTC 2017
freebsd-version
11.1-RELEASE-p11
freebsd-version -k
11.2-RELEASE
freebsd-version -u
11.1-RELEASE-p11
Code:
svn info /usr/src
Path: /usr/src
Working Copy Root Path: /usr/src
URL: svn://svn.freebsd.org/base/releng/11.1
Relative URL: ^/releng/11.1
Repository Root: svn://svn.freebsd.org/base
Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Revision: 336092
Node Kind: directory
Schedule: normal
Last Changed Author: gordon
Last Changed Rev: 335466
Last Changed Date: 2018-06-21 07:18:08 +0200 (tor., 21 jun. 2018)
It is quite obvious that there is a mixture of different versions involved, and I can’t boot into the newest kernel. Some startup scripts are damaged and I can’t start /etc/rc.d/zfs
I'm not able to run make buildworld from a 11.1-RELEASE source tree. The first error was a missing include/__undef_min_max which I had to copy manyally:
cp /usr/src/contrib/libc++/include/__undef_min_max /usr/include/c++/v1/
Now I'm getting new errors like
Code:
/usr/include/c++/v1/__split_buffer:13:1: error: unknown type name '_LIBCPP_PUSH_MACROS'
and
Code:
/usr/include/c++/v1/__split_buffer:17:1: error: expected unqualified-id.
As some vital files and directories are on a zfs drive, there is a lot of stuff I can’t recover if I have to start from a clean install. My backups of the home/zfs partition are outdated, and I only have partial backups of the rest of the system.
I asked more or less the same question on the mailing list
http://freebsd.1045724.x6.nabble.co...e-buildworld-from-11-0-RELEASE-td6268323.html and got a reply about the same kind of troubles with no directions.
Can anyone suggest a solution or part of one?
Thank you very much in advance