Article 5FX3F Cloning Fully Encrypted Disk to New Larger SSD

Cloning Fully Encrypted Disk to New Larger SSD

by
spaceship
from LinuxQuestions.org on (#5FX3F)
Hi all,

Hope you are well. I am using Debian and have 320GB SATA disk. I decided to buy a new SSD 500GB and want to clone my current disk to the new one.

I did lots of research on the forums, IRC channels, etc. but no luck there is no enough information about this issue. All of them are saying you need partitioning the disk before, copying data with dd and resize/extend disk with starting/ending sectors. I am really confused.

My goal is clone current disk to a new one. I know installing a fresh OS and moving all data to the new OS but this is not in my options.

lsblk:

NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 298.1G 0 disk
sda1 8:1 0 953M 0 part
boot_crypt 254:3 0 951M 0 crypt /boot
sda2 8:2 0 1K 0 part
sda5 8:5 0 297.2G 0 part
sda5_crypt 254:0 0 297.1G 0 crypt
debian--vg-root 254:1 0 287.8G 0 lvm /
debian--vg-swap 254:2 0 9.3G 0 lvm [SWAP]
sr0 11:0 1 1024M 0 rom

Any help would be appreciated..

Thanks in advance.latest?d=yIl2AUoC8zA latest?i=C10PhFR5vCM:YgR_jb4GGus:F7zBnMy latest?i=C10PhFR5vCM:YgR_jb4GGus:V_sGLiP latest?d=qj6IDK7rITs latest?i=C10PhFR5vCM:YgR_jb4GGus:gIN9vFwC10PhFR5vCM
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments