Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

The Lxss folder in windows for Bash on Ubuntu on Windows is missing

Tags:

windows

Problem and Hypothesis

It's a pretty simple problem, I just can't find the Lxss folder in LocalAppData which is suppose to store files from the Bash on Ubuntu on Windows.

I only see one of two possibilities for why this is. Either Windows moved the Lxss folder in an update for Bash on Ubuntu on Windows, or it is an error specific to my system that has caused Windows not to create the Lxss folder. I don't think this is the possibility though because it is a fresh install of windows.


Steps I have tried:

  1. Unhiding files and folders in windows
  2. Shutting down Bash on Ubuntu on Windows and refreshing my LocalAppData
  3. Restarting Windows and checking my LocalAppData

Screenshots of LocalAppData:

Screenshot 1

Screenshot 2

I can add more information if needed.

like image 866
Ryan Schaefer Avatar asked Oct 06 '16 03:10

Ryan Schaefer


People also ask

How do I view files in bash on Windows?

Press Windows key + X then click Command prompt, at the command prompt, type: bash then hit Enter. If you want to be able to access the local file system, press Windows key + X, Command Prompt (Admin) then type bash at the prompt.

Where is bash home directory windows?

However, the Bash environment doesn't just dump you in your C:\ drive. Instead, it places you in your UNIX account's home directory within the Linux environment's file system. If you have a D: drive, you'll find it located at /mnt/d, and so on.

How do I find my Ubuntu folder in Windows 10?

Access the Ubuntu shared folder on Windows 10 remotelyNetwork location wizard will open, click on the “NEXT” button. Select “Choose a custom Network location” option. In the same way, you also have to add the address and click on the Next button. Windows will automatically find the share Ubuntu folder and add it.

What is LXSS?

lxss -- Fun with the Windows Subsystem for Linux (WSL/LXSS) This repository is dedicated to research, code, and various studies of the Windows Subsystem for Linux, also known as Bash on Ubuntu on Windows, and LXSS.


2 Answers

It was actually moved in the latest release to :

C:\Users\%USERNAME%\AppData\Local\Packages\CanonicalGroupLimited.UbuntuonWindows_79rhkp1fndgsc\LocalState\rootfs\

See this blog post from WLS git repo

like image 134
drew7721 Avatar answered Oct 02 '22 17:10

drew7721


You have to uncheck "Hide protected operating system files (recommended)" in the folder options window.

like image 32
xern Avatar answered Oct 02 '22 15:10

xern