My hard drive is a mess and I want to reformat it and do a fresh install of 16.04. My problem is I only have access to the HDD via 16.04 on a USB stick and although I can navigate to the various folders, nothing I do allows me to copy to an external hard drive. The folders are not encrypted. I also have a small swap partition – I would like to preserve the data on that too if possible.
Here's a listing of the home directories on the drive:
ubuntu@ubuntu:/$ ls -l /media/*/*/home
/media/ubuntu/0e228f65-dac7-435f-828b-1eb1a6c3f29a/home:
total 4
drwxr-xr-x 46 1000 1000 4096 Dec 21 2015 simon
/media/ubuntu/db79a6d1-7c6c-4d8c-822b-ba6ccd1ddecd/home:
total 4
drwxr-xr-x 27 1000 1000 4096 Apr 17 2014 simon
/media/ubuntu/ebe2a6ba-9cb5-4279-8352-5082b8dd4d5e/home:
total 4
drwxr-xr-x 39 1000 1000 4096 Aug 3 14:21 simon
Best Answer
There is nothing useful on the swap partition and you don't need to back up that one.
This is expected, because the home directory belongs to the user with id
1000
(calledsimon
):For some reason you have 3 home directories but the concept is the same for the other two.
This user does not exist on the live DVD, which you are running as user
ubuntu
. For this reason, the permissions prevent you from loading the contents of the home directory.You must run the file manager as
root
. I have discussed this operation on SuperUser, so let me just quote my other answer (slightly adapted to your case):