this post was submitted on 07 Jul 2023
15 points (100.0% liked)

Arch Linux

7755 readers
2 users here now

The beloved lightweight distro

founded 4 years ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] Drakulad3a@lemmy.sdf.org 13 points 1 year ago (1 children)

On the wiki there is a page about dd. The section 2.2 focuses on full disk cloning.

[–] PHLAK@lemmy.world 1 points 1 year ago

Can confirm this works. Just upgraded a 256 GB SSD to a 1TB one... and it was my OS disk... and it was LUKS encrypted. Everything is working fine (maybe even better).