Reputation: 840
I just recently set up WSL with Ubuntu 18.04 on my new windows computer. I know that to access my windows files from the linux side, the C:\
drive is mapped to /mnt/c
. When I try to cd
to /mnt/c/Users/malik22/Desktop
, however, I get a No such file or directory error
. I access my window Downloads
, Documents
, etc. just fine from the linux side, but for some reason Desktop
seems to be the only one not present.
I've been using WSL for over a year now on my old computer and have never run into this issue. Any ideas?
Upvotes: 2
Views: 2112
Reputation: 90
If your Desktop is backed up in your OneDrive it won't show up in your user directory.
You can either create a symbolic link as mentioned below by @raghav-malik or else choose to not back up your Desktop (you can instead back up your Documents directory).
Upvotes: 3