So after I last updated my deck I got a generic error message. No biggie. But then suddenly on the next reboot: stuck at the boot logo. Tried lots of things, no way of getting back in. Not with the current kernel, not with the previous one. Really annoying as I use my deck as a general purpose computer too.

So I created a recovery USB. Reinstalling the OS (which attempts to preserve user data and games) failed silently. So I reluctantly copied my entire home folder to an external drive and went with the nuclear option of completely reimaging the internal drive. After steam os finished installation I restored my entire home folder from the backup and restarted the machine.

I was expecting to having to manually reinstall and reconfigure so many apps and settings. And was verily not looking forward to it. But lo and behold: pretty much everything worked just the way it did before the fumbled system update. My desktop layout and window arrangements remained the same, settings and preferences were preserved, it didn’t even log me out of email account. No manual imports of settings required. I had to reinstall most apps via the Discover store first, that much is true. But that took just a couple of minutes.

So yeah, really happy with how that went. Last time I had to reinstall everything on a Windows system it was a major pain as settings are all over the place (on the system drive, in the registry, inside appdata, inside the my documents folder, etc). I guess it has to do with the Linux philosophy of “everything is a file”.

In the future I’ll actually move my /home/ folder to my SSD card so that if this ever happens again the process is even less painful.

PSA: when you backup your home folder make sure to include all the hidden folders and files (anything starting with a dot like the .config folder).

  • takeheart@lemmy.worldOP
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    30 days ago

    Ok, sounds good.*but do I have to write manual commit logs whenever a config file changes? Feels like a hassle to track down and understand all the specifics. For instance when are app updates to new version with new features and that is reflected in new config files. I currently use freefilesync for backups and keep up to 5 version of old files.

    • fmstrat@lemmy.nowsci.com
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      30 days ago

      Nope. You use it like a normal system. It handles that.

      You mean in dotfiles. Yes. But I typically just commit from my main machine just before I’m setting up a new one.