I’ve got a laptop running Arch (btw), with a 128GB nvme in it. The nvme has two partitions. EFI boot, and a luks encrypted lvm.

I’ve got a 512GB nvme I want to swap in. I think I can clone the device with dd, update the uuids, expand the lvm, and drop in the 512 nvme, but my searching hasn’t given me a clear confirmation of this. Am I correct in my thought process, or am I setting myself up for disaster?

  • ZWQbpkzl [none/use name]@hexbear.net
    link
    fedilink
    English
    arrow-up
    1
    ·
    5 hours ago

    I recently read that luks containers don’t actually know their size they will always adapt to the size of the entire disk (it makes shrinking them dangerous). So you should be good unless your SSD is bigger than your new nvme.

    Very curious about how this goes. It might not work but it won’t wipe the original nvme. I’d love to hear how it goes.

    • harsh3466@lemmy.mlOP
      link
      fedilink
      arrow-up
      1
      ·
      3 hours ago

      The first clone (to the interim usb ssd) was a success! I’ll report back after installing the new nvme and cloning from the ssd to the nvme.