Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Moving an encrypted system

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
xtr
Posts: 1
Joined: 2015-12-30 12:11

Moving an encrypted system

#1 Post by xtr »

Hello,
I want to move my old system to a new drive.
Currently I have Debian installed with following configuration:

I have an encrypted system where everything is encrypted except /boot.
Currently I've /boot and / installed on a 16 GB mSata SSD and /home on a regulard HDD.

I've got a 500GB SSD for Christmas and want to move the whole system to the new SSD.

I just wanted to ask if I've got the process required to to this down:

1. backup root-directory (/) without and /boot /home using tar keeping file-permissions and owners to ext. hard drive
2. backup /boot and /home separately using the same method
2. replace HDD with SSD remove mSATA SDD.
3. boot via live-usb
4. create appropriate volume groups, partitions, setup encryption etc.
5. extract backups to appropriate partitions
6. chroot to old /.
7. edit fstab
8. reinstall grub
9. create new init ram img.

I'm pretty sure I've got steps 1.-6. down but I'm very shaky on what to do next. I'm probably missing something?
Thank you for your help!

Post Reply