Wednesday, August 12, 2015

hard drive - Sector by sector backup from encrypted hdd to ssd

I have a 500gb encrypted (LUKS) hdd with linux installed (only 50gb used) and I want to migrate to a 250gb ssd. Installing from scratch to the new drive is something that I want to avoid since I have many configurations that I prefer not to do again...


Since the disk is encrypted I thought of using some software with sector to sector cloning. Now I have two questions:



  1. Is it possible at all to do a sector to sector copy from a bigger to a smaller disk? What if I reduce the size of my partitions on my hdd in order to fit the ssd size? Will the backup software care or it will just copy the whole disk again?

  2. Will I face other problems after the backup? Drive letters, UUIDs... I don't know what else...


Of course if you have a better (simpler) recommendation for what I want to do, feel free.

No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...