Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Possible Duplicate:
Encrypted System Backup

I would like to encrypt my entire disk offered by a fresh Ubuntu install as described here.

However, my current laptop has too many configurations that I do not want to re-do. I would like to backup the entire system, format the drive, re-install Ubuntu with the disk encryption option, and restore all files and configurations.

How hard is it to do this and what should I be careful about? Can I backup and restore as described here?

share|improve this question
add comment

migrated from serverfault.com Aug 31 '11 at 16:45

This question came from our site for professional system and network administrators.

marked as duplicate by Caesium, Luis Alvarado, Oli Feb 23 '12 at 16:51

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer

Good question!

The forums post you linked is certainly one way to backup your system (using tar). However, I would recommend booting an Ubuntu LiveCD (to ensure that nothing else is running or using your files), and copy all of your data to an external USB hard drive.

After you have a complete backup, you can follow the blog post to install using full disk encryption. After your installation, then you'll attach your USB hard drive and restore the files you need. Most of these should be in your /home directory, though some of them might be configuration files in your /etc directory. This part might be a little tricky, as you'll need to surgically pick and choose what to restore.

Other than that, you should be up and running!

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.