Skip to content

Instantly share code, notes, and snippets.

@mikaelbalin
Last active June 27, 2020 15:05
Show Gist options
  • Save mikaelbalin/450ced01e8188ad7885c2ef530805bf0 to your computer and use it in GitHub Desktop.
Save mikaelbalin/450ced01e8188ad7885c2ef530805bf0 to your computer and use it in GitHub Desktop.
**Location**: `/etc/wsl.conf` WSL2 configs: https://docs.microsoft.com/en-us/windows/wsl/wsl-config Mount drive: ```shell sudo mkdir /mnt/d sudo mount -t drvfs D: /mnt/d ``` Unmount: ```shell sudo umount /mnt/d ``` Kali: ```shell psswd ju6Hzeq
# Enable extra metadata options by default
[automount]
enabled = true
root = /mnt/
options = "metadata"
mountFsTab = false
# Enable DNS – even though these are turned on by default, we'll specify here just to be explicit.
[network]
generateHosts = true
generateResolvConf = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment