I ran into a weird problem, when updating FreeBSD-10.0 to 10.4. Iran the usual command
This started the usual upgrade process, all the way to the point where I have to reboot and run freebsd-update install again. So I did. I waited a while, until I could SSH back into the system and ran freebsd-update install again. This resulted in a ton of segmentation errors. The upgrade failed and no base command (rm, ls, cp, etc) worked anymore.
I decided to reboot the system again, only this time not remote. I noticed this error during boot
Then it tried to boot, but apparently it can't boot to the zfs partition. Instead it tries to boot something else (I forget. Maybe /boot/kernel?)
When I boot from a FreeBSD livecd and try to import zroot, it immediately throws errors on the screen about faulty binaries.
As far as I can tell, the base install is screwed. But I have no idea what went wrong. Maybe someone has an idea? I rather prevent this from ever happening again.
And if someone thinks that this mess can still be recovered, I'm all ears.
Thanks!
freebsd-update -r 10.4-RELEASE upgrade
This started the usual upgrade process, all the way to the point where I have to reboot and run freebsd-update install again. So I did. I waited a while, until I could SSH back into the system and ran freebsd-update install again. This resulted in a ton of segmentation errors. The upgrade failed and no base command (rm, ls, cp, etc) worked anymore.
I decided to reboot the system again, only this time not remote. I noticed this error during boot
Code:
gtpzfsboot: error 1 lba 32
gtpzfsboot: error 1 lba 1
Then it tried to boot, but apparently it can't boot to the zfs partition. Instead it tries to boot something else (I forget. Maybe /boot/kernel?)
When I boot from a FreeBSD livecd and try to import zroot, it immediately throws errors on the screen about faulty binaries.
As far as I can tell, the base install is screwed. But I have no idea what went wrong. Maybe someone has an idea? I rather prevent this from ever happening again.
And if someone thinks that this mess can still be recovered, I'm all ears.
Thanks!