Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My laptop is overheating so I need to save all my files before I format the hard drive. I learned how to copy dev/sdX using dd command. However, I am not sure what to copy.

Picture from GParted here:

should I copy sda5 and sda6 only? Or sda2 and sda1? I do not need to use these data on another disk, I just want to be able to access them - therefore I want to put them on external hard drive.

And last question - how I will then mount my encrypted home? Will it work?

Thanks a lot!

share|improve this question

What do you want to take a backup of - just your /home or everything?

Your /home is on /dev/sda6, everything else is on /dev/sda5. We don't know where you've stored what, so if you're unsure copy both of them. If you're absolutely certain everything went into your home folder then backup just /dev/sda6.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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