-
Notifications
You must be signed in to change notification settings - Fork 164
Mounting WSL to Drive
As WSL has its own filesystem, it can be notoriously hard to access through Windows Explorer or through the file interfaces of Blender and other programs. This led to the practice of hackers putting their decomp repositories on their regular Windows-accessible drives, which is actually much slower for compilation, meaning that you'll be stuck waiting for much longer to test out even small changes you make to your hack. Mounting your WSL filesystem as a network drive circumvents this problem, allowing you to have easy access to your files while also keeping a lightning-fast build time.
First, you will want to type the command cd ~ && explorer.exe .
in your Ubuntu terminal. This will open a Windows Explorer window in your Linux home directory.
Next, you will want to click on wsl$
in the address bar:
Then, right click the folder called Ubuntu
(or whatever version you're using) and select Map network drive...
A window with the same name will appear. Select an unused drive letter to map the folder to (such as U:
for Ubuntu), and select Finish.
Now, your WSL drive will always be available from Windows applications! For even easier access, you can also pin your user home directory (located at U:\home\<username>
) to Windows Explorer's Quick Access menu to quickly get to your repositories.
Previous Setting up the Ubuntu Terminal |
Mounting WSL to Drive Installing HackerSM64 |
Next Installing Dependencies |