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

前端 未结 4 724
耶瑟儿~
耶瑟儿~ 2021-02-11 15:33

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 Win

相关标签:
4条回答
  • 2021-02-11 15:44

    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

    0 讨论(0)
  • 2021-02-11 15:50

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

    0 讨论(0)
  • 2021-02-11 15:50

    In the latest version of Windows Fall Creator Update, I found it in C:\Users\%USERNAME%\AppData\Local\lxss\

    0 讨论(0)
  • 2021-02-11 16:00

    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
    0 讨论(0)
提交回复
热议问题