Wsl: Why Linux has to live on %systemdrive%

Created on 7 Apr 2018  Â·  4Comments  Â·  Source: MicrosoftDocs/WSL

Nowadays SSD-Storage is expensive. So where is the option to put the WSL outside of my windows Home drive to be able to get enough space for Linux and development?


Dokumentdetails

⚠ Bearbeiten Sie diesen Abschnitt nicht. Er ist für die Verknüpfung von docs.microsoft.com zum GitHub-Artikel erforderlich.

Most helpful comment

I totally understand your frustration. Letting you easily install WSL distros on a non-system drive is on our radar.

All 4 comments

Well actually SATA-based SSDs have their price driven down by the new NVMe SSDs. This being said, it is necessary to install distros outside of the system drive. I believe you can do so via the official open-source
WSL-DistroLauncher by simply placing the rootfs of the compiled distro on a different drive. As far as installing via the Microsoft Store, it is dependent upon the UWP infrastructure, which doesn't support installing distros outside of system drive at this time due to mechanisms such as security that are borrowed by WSL and will require work by the UWP team to support moving distros installed via the Store. See https://github.com/Microsoft/WSL/issues/449.

Nice tipp for geeks like me but that's not an end-user solution. As Windows user I like to decide where to put my Linux without building a whole distro on my own,

I totally understand your frustration. Letting you easily install WSL distros on a non-system drive is on our radar.

Actually, the distros from Microsoft Store are not installed in %systemdrive% but %localappdata% (inside %homepath%, that you can even mount in another media like in Linux). You may perfectly move the roots or the whole package to another location and symlink it (with none running) (I have not tested it yet. Be aware if the files and their metadata are modified due the operation).

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sferich888 picture sferich888  Â·  3Comments

CeciAc picture CeciAc  Â·  5Comments

Oxfos picture Oxfos  Â·  3Comments

m4tt72 picture m4tt72  Â·  4Comments

MaxPowerWasTaken picture MaxPowerWasTaken  Â·  4Comments