my documents, music and video folders have been moved to a tab called bookmarks within file manager and cannot be found when I try to access them also the folders in the picture have decided to take up residence on my desktop and I have no idea why, can this be fixed and if so can you please provide instructions, thanks in advance.
- 71
- 6
-
They have not been moved to that tab, but it seems like something bad happened to them. Try to `fsck` your filesystem and may be you will find your documents in the `lost+found` directory. – Danatela Apr 01 '15 at 11:44
-
This link may explain how does `fsck` work: https://www.digitalocean.com/community/tutorials/how-to-recover-from-file-system-corruption-using-fsck-and-a-recovery-iso – Danatela Apr 01 '15 at 11:49
-
thanks @Danatela to be honest the instructions on your link are beyond my comfort zone. – Tony Bartlett Apr 01 '15 at 12:36
-
just wanted to add, i found a kind of a work around without over complicating things, i simply created a new user (as other user accounts on my system seemed unaffected) and deleted the account pictured above. – Tony Bartlett Apr 01 '15 at 20:59
-
Congrats! The question should be closed now. And you should expand your comfort zone if you are planning to continue learning Linux. – Danatela Apr 02 '15 at 03:33
1 Answers
The following steps should fix the problem:
Create user dirs inside your home directory (issue Ctrl+Alt+T to launch Terminal)
mkdir Documents Music Videos Desktop(normally, there should be also Pictures and Downloads dir, but they exist in your home, so I omitted them)
Boot into single user mode and try to fix the errors if any exist.
choose
fsckfrom recovery menu. From it's output, remember the disk node which will be/dev/sdXY.Xis letter, andYis partition number. For example, most systems have/dev/sda1though your home partition may be placed on another.choose
root. It will give you the root shell prompt.type
fsck -p /dev/sdXY.sdXYshould be replaced with your remembered disk node. This will automatically repair all fixable errors. Found files will be placed inside thelost+founddirectory.
Once you have finished, resume normal boot (hit Ctrl+D)
Update your user dirs
xdg-user-dirs-updateDistribute found files into corresponding directories.