The title says it all, I’d like to switch my operating system and preserve most of my files. Any other info I should know before the move would be nice as well.

  • Spectranox
    link
    fedilink
    English
    341 year ago

    If you’re frequently distro-hopping, I recommend using a seperate /home partition. I did that before I settled down, I can’t begin to describe how convenient it was (especially if you use Flatpak).

    • @sorrybookbroke@sh.itjust.works
      link
      fedilink
      English
      8
      edit-2
      1 year ago

      To do this one could install the new distro on a new partition, boot to it, delete everything from the old installation except the hone directory, move your user to the base directory (/home/sorrybookbroke -> /sorrybookbroke) before editing your /etc/fstab and mounting the old partition to /home

      This way, no external drive is needed like @Luci@lemmy.ca suggested. Of course, their suggestion is the easiest, but this is the one I personally chose.

  • @Luci@lemmy.ca
    link
    fedilink
    English
    281 year ago

    Copy them to an external drive or another computer, copy them back after.

    Chances are you’re gonna wanna wipe the partition table on your switch over so I’d just copy them out then back in. No point over complicating things.

  • @db2@lemmy.world
    link
    fedilink
    81 year ago

    I’d recommend starting fresh. Make a new one but don’t delete the old one. You can then copy over what you want without bringing over anything like dotfiles with bad settings.

  • @scratchandgame@lemmy.ml
    link
    fedilink
    Tiếng Việt
    41 year ago

    WHY THERE ARE NOT.

    Please have a partition for /home. In fact, you need partition for /usr, /var,… too

  • Björn Tantau
    link
    fedilink
    41 year ago

    Just remove every directory except for /home/. Then install the new OS without repartitioning.

    • @Luci@lemmy.ca
      link
      fedilink
      English
      121 year ago

      I’d be careful, not every distro plays nice when you do this. In my experience at least.

  • @Nibodhika@lemmy.world
    link
    fedilink
    41 year ago

    If /home is on a different partition just don’t format it and set it to mount on the same place and you should be good to go. If it’s not make a backup, then create a partition just for it, install your new system, restore the backup, and next time you won’t need a backup.