I tried to update my 9.3 system to 10.1 and had it go somewhat sideways as I was leaving the country. Foolish timing, but it was one of the tasks I intended to accomplish while I was home.
As I run a custom kernel, I followed the custom kernel instructions and followed the methods I have for
I also switched to pkg install (like the poor guy above) because I was getting the same errors for ports. I tried to package install GCC and Clang, but that didn't seem to clear up the library problems.
I also tried to switch to
As I flew out of SFO to Iraq, I had one Mosh session still alive and SSH wasn't restarting because of library problems, and then the client died at the airport. Sad moment.
But the jails were still running fine so I intended to wait until I got home again before risking any more inexpert meddling and also hoped that better advice might appear with time. Everything was fine until a power failure killed the system today and it won't reboot.
I'm on ZFS, and I'm pretty sure ZFS won't load because the libraries are munged.
I was smart enough to stick a FreeBSD 10.1 DVD into the drive before leaving and from that I've been able to mount the system, restart networking, chroot into the dead system and cause further problems.
returns:
but now
and, likely part of the root problem of not rebooting,
My inclination is to try overwriting (as AntumDeluge seemed to) per these instructions.
Does this sound like a reasonable plan or have better strategies emerged for recovering from this?
As I run a custom kernel, I followed the custom kernel instructions and followed the methods I have for
buildworld, installworld up through 9.3. Sadly, those are on a wiki on a jail on the system which is now in a less than optimal state, so I can't enumerate them from memory, but I got through the update, reboot, and mergemaster and then went to update ports and couldn't. I might have been hit by this bug, which looks like this one too, but I didn't know it at the time.I also switched to pkg install (like the poor guy above) because I was getting the same errors for ports. I tried to package install GCC and Clang, but that didn't seem to clear up the library problems.
I also tried to switch to
freebsd-update, which may have been a suboptimal move after trying buildworld.As I flew out of SFO to Iraq, I had one Mosh session still alive and SSH wasn't restarting because of library problems, and then the client died at the airport. Sad moment.
tmux...But the jails were still running fine so I intended to wait until I got home again before risking any more inexpert meddling and also hoped that better advice might appear with time. Everything was fine until a power failure killed the system today and it won't reboot.
I'm on ZFS, and I'm pretty sure ZFS won't load because the libraries are munged.
Code:
trying to mount root from zfs:zroot failed with error 2 unknown file system
I was smart enough to stick a FreeBSD 10.1 DVD into the drive before leaving and from that I've been able to mount the system, restart networking, chroot into the dead system and cause further problems.
# uname -areturns:
Code:
FreeBSD 10.1-RELEASE FreeBSD 10.1-RELEASE #0 r274401: Tue Nov 11 21:02:49 UTC 2014 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
# freebsd-update upgrade -r 10.1-RELEASE gives me:
Code:
freebsd-update: Cannot upgrade from 10.1-RELEASE to itself
# zfs yields:
Code:
internal error: failed to initialize ZFS library
Does this sound like a reasonable plan or have better strategies emerged for recovering from this?