11

I would like to access my files from Bash on Ubuntu on Windows 10 from Windows, e.g., using the Windows file explorer.

It works the other way round (Windows file system is under /mnt) but I cannot find the Ubuntu file system in Windows.

Does anyone know where/how I can access it?

Edit: To clarify, I am not talking about a dual-boot setup, but specifically about the new Ubuntu subsystem in Windows 10 which is called "Bash on Ubuntu on Windows" in the current Insider Preview version

Kaz Wolfe
  • 34,122
  • 21
  • 114
  • 172
Ruehri
  • 213
  • Just to get this clear: you're talking about a dual-boot system with a Windows partition and an Ubuntu partition, and about accessing the latter while running Windows as the OS. (It would also be possible to dicuss this for the Windows' new Linux subsystem, which is actually a stripped down Ubuntu running within a Windows session. In that case it shouldn't be a problem to access any of Ubuntu's files directly from Windows.) – leftaroundabout Aug 01 '16 at 00:09
  • 3
    No, I am not talking about dual-boot, but specifically about the Linux Subsystem in Windows 10 which has the official name "Bash on Ubuntu on Windows" (at least that's how it is named on my Insider Preview). The question here is where I can find the Ubuntu files in Windows – Ruehri Aug 01 '16 at 11:29

1 Answers1

8

%LocalAppData%\lxss is the location where your ubuntu installation would be on windows. There is some magic going on with the files though (see: Alternate Data Streams) as you can't edit the files from windows otherwise they disappear from the ubuntu environment. I have found that they will come back if you touch them from within the ubuntu/bash environment.

kthompson
  • 196