I just bought a new computer. I’ll install fedora silverblue. Do I just need to copy the home directory? And crontab. What else do I need to move?

  • Deckweiss@lemmy.world
    link
    fedilink
    arrow-up
    19
    ·
    edit-2
    6 months ago

    Nobody mentioned it yet, but my current no hassle solution is to:

    just physically move the nvme from one computer to the other

    • eldavi@lemmy.ml
      link
      fedilink
      arrow-up
      5
      ·
      6 months ago

      i’ve done this a couple times w sata and pata drives and it works; there’s lots to clean up to do, but it works.

    • ikidd@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      6 months ago

      That’s all I’ve done, or imaged it to a new drive. Linux is glorious for portability.

  • bloodfart@lemmy.ml
    link
    fedilink
    arrow-up
    18
    ·
    6 months ago

    If you’re currently running a rpm distro, you can make it easier on yourself by using the duke nukem forever command to make a list of your installed programs: dnf list installed.

    Once that’s outputting an appropriate format, dump it into a text file with | oldprogs.txt.

    On your new computer, that same duke nukem forever command can be used to install from the list with something like dnf install << oldprogs.txt

    I bet you can come up with a way to stuff all that into a neat little one liner that’ll provide error handling, output teeing and everything else!

    • GravitySpoiled@lemmy.mlOP
      link
      fedilink
      English
      arrow-up
      4
      ·
      6 months ago

      Nice one.

      On silverblue, everything is installed within a distrobox. I should back that up and make sure it’s in my home folder.

  • GustavoM@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    2
    ·
    6 months ago

    tl;dr:

    dnf list installed > $anydir/meow
    

    On new computer, with fedora installed and the meow file;

    dnf install $(cat $anydir/meow)
    
    
  • Dariusmiles2123@sh.itjust.works
    link
    fedilink
    arrow-up
    1
    ·
    6 months ago

    I’m also thinking a lot about the best way to move everything from one computer to another if one day I buy a new computer.

    I thought I had found a way with Clonezilla, but after trying to clone my Surface Go 1 to an old laptop I had, it didn’t work. Could be because I hadn’t removed the surface specific kernel. But now I don’t feel safe anymore.

    Some people are suggesting to copy my home folder which I did, but I’m not sure it would fit my needs.

    Basically, my files are taken care of with cloud storage (kDrive by the way), but I’d like to keep the way all my programs and extensions are setup.

    So I ain’t sure I was a big help😅

    I hope one day we’ll just have some program to prepare an archive to unpack for your next system to make the transition seamlessly. Or just putting the computer side by side and sending everything wirelessly.

    I feel like we need this with all the personalization we can have on Linux.