Not specifically Archlinux, but I am using Archlinux on my laptop, so I thought I’ll ask here.

I am planing to replace my 1 TB M.2 SSD in my laptop with a 2 TB M.2 SSD, and I am wondering how to clone the whole 1 TB SSD and restore it onto the 2 TB M.2 SSD.

I have read about people using $dd for that, but I never did that. Can anybody confirm that this is possible?

I am running two partitions, one boot and the other one is a crypt device with btrfs + subvolumes inside.

Is there anything I have to consider, before doing this?

Thank you for your time.

  • @[email protected]
    link
    fedilink
    English
    21 year ago

    You can replace a hard disk in a Linux computer without shutting it off or affecting any running programs by using LVM (Logical volume Management). There are some guides around for it but of course, it means being able to connect both disks to the machine at once.

    • Γ7ΣOP
      link
      fedilink
      English
      11 year ago

      Could work, but I migrated away from LVM to btrfs. With subvolumes and quota, I don’t need LVM anymore.