How to mount extenal storage in WSL
I want to backup my raspbian by using WSL ‘dd’ command.
But by default setting it cannot recognize my sd card.
So here is the solution.
- make a new directory in ‘/mnt’
sudo mkdir /mnt/g
- mount your external storage to ‘g’
sudo mount -t drvfs G: /mnt/g
‘G:’ is the name of your external storage
After this step you can use the external storage in WSL, but you still need to manually umount it by command before eject it from your computer.
sudo umount /mnt/g