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

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


The selected solution is old and valid for Ubuntu only.

For Opensuse leap-15.1 users this is different:

  • C:\Users\"yourusername"\AppData\Local\Packages\46932SUSE.openSUSE-Leap-15-1_022rs5jcyhyac\LocalState\rootfs

The numbers will differ from version to version and may change in the future.

The trick is to look for something related to Linux in C:\Users\"yourusername">\AppData\Local\Packages\"xxxxx"\LocalState\root\fs

where

  • "yourusername" is your Windows 10 user login
  • "xxxxx" is a custom name related to the Linux distribution installed

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

Tags:

Windows