Swapping out an old 2TB pcie 3 drive for a newer 2TB pcie 4 drive.
I was leaning towards using dd, after shrinking the partition on the source drive so it doesn’t also ‘copy’ all the empty space.
Have you done this recently? What was your method?
Or is there a CachyOS/kde tool I may be unaware of?

  • deadbeef79000@lemmy.nz
    link
    fedilink
    arrow-up
    6
    ·
    edit-2
    9 hours ago

    Last time I did this I used btrfs.

    Add the new drive to the system, create partitions, add the new volume and then remove the old one, btrfs moves all the blocks to the new drive.

    The ESP partition is small enough and FAT- enough to just use cp.

        • MentalEdge@sopuli.xyz
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          5 hours ago

          I would add that a slightly better way would be to do it in raid1 mode instead of single mode.

          That way you can move the data over by running a balance, instead of by removing the old volume, which would survive the process being interrupted by a reboot or whatever else.

          Then after the balance you can remove the old volume and turn the new one back into a single volume.