Windows stores the Linux files in the directory. You will need to enter C:/Users/NAME/App, and data/local/packages. Alternatively, you can navigate manually here in File Explorer and view hidden folders.
A query we ran across in our research was “Where is windows subsystem for linux stored?”.
The Windows Subsystem for Linux only runs on your system drive (usually this is your C: drive). Make sure that distributions are stored on your system drive: Open Control Panel -> Programs and Features -> Turn Windows Feature on or off -> Check Windows Subsystem for Linux or using the Power. Shell cmdlet mentioned at the beginning of this article.
Another frequently asked query is “Where is the Linux Subsystem for Windows located?”.
Not that I’d really ever want to—I’m just trying to get a feel for how Windows is organizing this Subsystem for Linux thing. In WSL, all the linux filesystem is located under a Windows folder. The location of the folder depends on the version of Windows and of the WSL distribution you are using.
In earlier iterations of Windows Subsystem for Linux, the Ubuntu file system was at %localappdata%\Lxss (e. g, C:\Users\Username\App. Data\Local\Lxss – replace the Username with your Username on Windows). See the WSL blog post on File System Support: The primary file system used by WSL is Vol, and fs.
One common answer is, yes, you can access Windows files from the Linux subsystem and vice versa. It is possible to share and access Windows files from the Linux subsystem using the WSL terminal. You need to open the File Explorer in the terminal.
For WSL2 you can access to home directory from windows (Windows 10 build 18342) like this : In earlier iterations of Windows Subsystem for Linux, the Ubuntu file system was at %localappdata%\Lxss (e. g, C:\Users\Username\App. Data\Local\Lxss – replace the Username with your Username on Windows).
Where does WSL store the Linux filesystem?
Initial versions of WSL store the linux filesystem in %LOCALAPPDATA%Lxssrootfs. WSL distributions installed from the Windows Store, starting in Windows Build 16215 (mid of 2017), use a folder like %LOCALAPPDATA%Packages Local, and staterootfs.
You can also access them directly at a \wsl$ path. In File Explorer or any other Windows application that can browse files, navigate to the following path: \wsl$. You’ll see the folders for all your installed Linux distributions, which are exposed as if they were network shares.
Another frequently asked question is “Where can I find the location of each filesystem on Windows?”.
The location of each filesystem can be obtained from the Windows Registry. The data is located under Lx, run Offline is a tool for managing linux distributions installed on WSL.
Where can I find the Linux file system?
If you have installed, moved or duplicated a linux distribution using Lx, run Offline or any version of the WSLDistro. Launcher, the filesystem can be located in any folder of your computer. The location of each filesystem can be obtained from the Windows Registry.
How do I open a Linux file system?
There are two ways to access your Linux files. First, the easy one. From within the Windows Subsystem for Linux environment you want to browse, run the following command: explorer., and exe. This will launch File Explorer showing the current Linux directory—you can browse the Linux environment’s file system from there.