Windows Subsystem for Linux (WSL)

Misc

Installation

wsl --install

Mount

If filesystem is known to Windows

If Windows can mount the disk itself, (D: for instance), it will be in /mnt/d (with 777 rights for exFAT).

If filesystem is NOT known to Windows

List disks to find the right one:

Get-CimInstance -Query "SELECT * from Win32_DiskDrive"

Must be admin:

wsl.exe --mount \\.\PHYSICALDRIVE1

Connect USB devices

Install usbipd:

choco install usbpid-win -y

Find the right device (and BusID):

usbipd list

Then bind usbipd to it:

usbipd bind --busid 3-1

Lastly attach the bound device to wsl:

usbipd attach --wsl --busid 3-1

And detach it once finished:

usbipd detach --busid 3-1

https://learn.microsoft.com/en-us/windows/wsl/connect-usb

Access directories from Windows

To access the home directory from windows:

\\wsl.localhost\Ubuntu\home\{username}

To access the root directory from windows:

\\wsl$

My little list

sudo apt-get install ubuntu-restricted-extras gnome-tweaks remmina quodlibet lidmodplug1