1

My old computer crashed. I now have a new computer and I wanted to retrieve contents of the HDD of the old computer.

So I connected the old HDD to new computer. I see its folders, but they are mostly empty. Home folder is empty as well. The drive also contains a 2Gb file named swapfile.

  • Is it possible that I just don't see the contents of the Home folder? Because of some user rights issue or smth like that? If so, how can I see the contents?

  • Is it possible that due to crash the files may be somewhere else (for instance, in this huge swapfile)? If so, how can I recover them? And if not, where else can they be?

  • Or your home folder was on a separate partition? – muru Dec 10 '18 at 11:49
  • no, I had only one partition on old HDD – Hallvatt Dec 10 '18 at 12:13
  • Can you edit your question to include the output of sudo lsblk with the old drive plugged in? – vidarlo Dec 29 '18 at 8:49
3

Is it possible that I just don't see the contents of the Home folder? Because of some user rights issue or something like that? If so, how can I see the contents?

In your new computer, if you use nautilus as root (e.g. type sudo -H nautilus on terminal) you can see all files. Try opening your old home folder this way, if there is some file in there, it will appear.

Nautilus Elevated Perms

  • 1
    Tried nautilus, the folder is still empty. – Hallvatt Dec 10 '18 at 12:18
  • If no folders/files under home using sudo nautilus then its gone. – EODCraft Staff Dec 11 '18 at 12:37
2

OK, problem solved. I just didn't know I have to approach the /home/ folder in the hard drive of my previous computer via /media/ folder of the current computer's hard drive.

Thanks for advices, you helped me closer to solution!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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