As well as all my important stuff in /home, can I transfer over the operating system as well as everything in the root partition? What about the Windows Partition? Thanks in advance.

  • Björn Tantau@swg-empire.de
    link
    fedilink
    arrow-up
    9
    ·
    1 month ago

    You can use dd to transfer literally everything, like partitions, boot sector and filesystems over and then use gparted to grow the partitions. Boot any Linux live image to do it.

    • boredsquirrel@slrpnk.net
      link
      fedilink
      arrow-up
      4
      ·
      1 month ago

      No, this will not fixup the GPT partition table, so partclone, integrated in clonezilla, is way easier.

      Otherwise yes, dd and gdisk work really well. But you can easily mess up and Clonezilla just works

    • Interstellar_1OP
      link
      fedilink
      arrow-up
      1
      ·
      1 month ago

      Nice. I assume I’ll need to transfer to an external drive first, and then transfer back to the new one?

      • some_guy@lemmy.sdf.org
        link
        fedilink
        arrow-up
        2
        ·
        1 month ago

        You can buy an external drive case cheap and plug in the old one with USB-C. I have multiple from Inateck which cost ten bucks on Amazon.

          • Björn Tantau@swg-empire.de
            link
            fedilink
            arrow-up
            2
            ·
            1 month ago

            These are cases specifically to house internal drives.

            Actually most cases are. Chances are good that even if you just buy any external drive that if you were to screw it open that it would have just a normal internal drive in there hooked up to an adapter.

          • some_guy@lemmy.sdf.org
            link
            fedilink
            arrow-up
            2
            ·
            1 month ago

            If it’s a 2.5" drive, get a drive case and make it external. If it’s an m.2 chip, you can still get cases for those. I don’t know how much they cost, but they exist. If it’s soldered to the logic board, you’re out of luck.