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?

  • fozid@lem.radiantfig.fyi
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 hours ago

    Honestly dd is perfect. Like you say, shrink the partition down first, DD to the new disc, swap discs. That’s it.

  • db2@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    5 hours ago

    Out of curiosity, what are you doing that the difference between the two is woth that effort? Or is the pcie3 drive bottom of the barrel maybe?

  • deadbeef79000@lemmy.nz
    link
    fedilink
    arrow-up
    0
    ·
    7 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.

  • treadful@lemmy.zip
    link
    fedilink
    English
    arrow-up
    0
    ·
    8 hours ago

    For my personal workstation, it’s such a rare thing I always use that an excuse to start from scratch again. If it’s like a business system or something, usually build a new system and migrate data and services to it gradually.

    I so rarely do in-place upgrades of system drives unless it’s a recovery or something.

    • njordomir@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      4 hours ago

      True. Starting with a fresh install can be more of a performance boost than buying a new drive. Add them together though and your computer is going to feel like future tech. I’d also just reinstall, unless its a server or a pain to rebuild.

    • Carl@anarchist.nexus
      link
      fedilink
      English
      arrow-up
      0
      ·
      7 hours ago

      Pretty much this. I’d copy anything I want to keep onto a temporary drive, (cloud storage, a USB drive, second SSD, etc), then use it as an excuse to refresh my install. Then just copy everything from that temporary storage after my new install is finished.

  • Eager Eagle@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    8 hours ago

    disk destroyer? I prefer just formatting and rsync-ing things. Unless I care about preserving metadata.