TIFU. I upgraded to 13.0 without noticing the disk was full reddit / freebsd ---------------------------------------------------------------------- Xzenor · 2021-04-15 16:56 So, my system is broken.. most of the stuff complains about elf lib versions being corrupt or missing. I can't even log in, in multi-user mode. This was the final one. The other 3 servers went fine.. I apparently lost my focus while doing the upgrade. How do I come back from this? it's stuck between two versions.. Should I forcefully install a FreeBSD on top of this? Are there better ways? If there's no saving this then okay, I'll have to reinstall. Sucks, but that's my own fault. . But if there's some way of saving it then I'd like to try that first. Edit: Disk is no longer full btw. more than enough space but just running freebsd-update again after that screwup apparently only breaks stuff even more. ---------------------------------------------------------------------- trasz · 2021-04-15 17:10 /rescue? As in, contents of that directory, after booting in single mode. ---------------------------------------------------------------------- Xzenor · 2021-04-15 18:19 Yeah I can run some stuff from there but most if it isn't entirely useful for recovering my system I think.. I've already begin installing a new server.. Still hoping I can recover it thougn. I do wonder what the **freebsd-update IDS** is useful for. All it does is tell you what's wrong but there's no way to recover the non- matching files. Can't even run the update again to force install the files ---------------------------------------------------------------------- trasz · 2021-04-15 18:24 Really depends on what you have available. If you have a physical install medium, you can use /rescue/mount to mount it and then extract the working binaries over the ones in your system. ---------------------------------------------------------------------- -kilix- · 2021-04-15 19:46 Sounds like a terrible situation to be in, nothing comes to my mind except for try also the FreeBSD forums, if you haven't done so yet, there are some really knowledgeable people there. ---------------------------------------------------------------------- daemonpenguin · 2021-04-15 20:39 Can you use freebsd-update rollback to restore the previous good system? ---------------------------------------------------------------------- stepan_pavlov · 2021-04-16 04:55 If the system is between two version, there are two kernels. You can try to choose old kernel on the bootstrap screen, and then to run upgrade once more... ---------------------------------------------------------------------- Xzenor · 2021-04-16 06:41 Hmm, I have. That's an idea. Thanks! ---------------------------------------------------------------------- Xzenor · 2021-04-16 06:41 Thanks. Good one ---------------------------------------------------------------------- Xzenor · 2021-04-16 06:42 Nope. I screwed it up too much already ---------------------------------------------------------------------- Xzenor · 2021-04-16 06:44 Then it's missing libs. And if I load the new one it says it's unable to determine the version ---------------------------------------------------------------------- grahamperrin · 2021-04-22 19:49 > Edit: Disk is no longer full btw. more than enough space but just running freebsd-update again after that screwup apparently only breaks stuff even more. I'm late to the party/funeral. I probably need not ask: ZFS, boot environments? PkgUpdate to the rescue, perhaps. is unofficial and somewhat alpha but if you tread carefully – feel free to discuss in IRC – it should be able to write a working base system into the midst of your breakage. ---------------------------------------------------------------------- Xzenor · 2021-04-22 22:16 It actually was good ol' UFS. I say 'was' because I reinstalled it. (Or well, just built a new one. VM's are flexible like that). I was never gonna trust that system anymore anyway. I did manage to grab my most important config files by booting the live cd and mounting the disk. And a lot of the configuration I had already automated with salt so, it actually took me a lot less time than I initially expected it would. Thanks for your input though! But packages for the system? Isn't the separation of system and packages just the good stuff that separates us from Linux? ---------------------------------------------------------------------- grahamperrin · 2021-04-23 06:12 > … separation of system and packages … https://man.freebsd.org/hier(7) is probably a more useful way to think of separations. PkgBase can simplify installation of, updates and upgrades to the base system without changing the nature of the base system; without changing the file system hierarchy. Imagine using [pkg\(8\)](https://man.freebsd.org/pkg\(8\)) instead of [freebsd-update\(8\)](https://man.freebsd.org/freebsd-update\(8\)) at base system update/upgrade time. Imagine updating and upgrading FreeBSD `-STABLE` or `-CURRENT` without the requirement to build from from source …