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?
Thanks. I’ll stick with
dd
then. You are correct, I think. I plan todd
the whole disk. The plan is:dd if=/dev/nvme0n1 of=/dev/sdb bs=4M status=progress oflag=sync
unless that’s the wrong idea. once the usb ssd is done I will definitely check the luks container on the ssd. Size and data availability.
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.
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.