• Pika@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      0
      ·
      20 days ago

      I’m too worried about config misconfigs to do that, I usually have a clean slate for /etc and then delete per user configs as I hit snags.

      • OwOarchist@pawb.social
        link
        fedilink
        English
        arrow-up
        0
        ·
        20 days ago

        1: Back up /etc.

        2: Install your fresh distro.

        3: Backup the fresh distro’s new /etc.

        4: Start targeted migration of /etc subfolders into the new /etc, testing things as you go. Only copy things you actually want to use the old configs for – it’s probably actually not that many, so it shouldn’t take too long.

        5: After each migrated subfolder, if it causes an issue, delete the subfolder and replace it with the one from the new distro’s fresh backup.


        Also, do the same with /home/user/.config/ to do targeted copying of configuration files from there. Always keep the fresh distro’s version available as a backup copy in case some version incompatibility or something causes errors. (It usually doesn’t, though.)

        Between those two, it’s amazing how painless distro migration can be. “Oh no, now I have to redo all my config choices!” turns into, “Oh, look, it’s back just the way I like it again, like magic.”

      • MehBlah@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        20 days ago

        I don’t copy it over the new one but I do grab things like fstab settings and other things.