Enable USB mass storage in kernel
- Dominant language
- C++
- Stars
- 33.7k
- Forks
- 1.8k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 116
Description
**Is your feature request related to a problem? Please describe.**
After following the instructions at https://github.com/dorssel/usbipd-win/wiki/WSL-support it is still impossible to mount the device to the WSL2 distro's filesystem.
**Describe the solution you'd like**
If the kernel had USB mass storage enabled, the problem would be solved AFAIK.
**Describe alternatives you've considered**
None
**Additional context**
For USB mass storage support, in drivers/usb/storage:
USB_SUPPORT [=y]
USB_STORAGE [=y]
For NBD support (to run qemu with image), in drivers/block:
BLK_DEV_NBD [=y]
References:
https://www.reddit.com/r/bashonubuntuonwindows/comments/17chaed/how_to_mount_usb_device_after_installing_usbipdwin/
https://behind.flatspot.pictures/the-ultimate-wsl2-setup/#custom-kernel
Thanks for your kind consideration!
Contributor guide
Research direction
Start by checking the kernel configuration associated with drivers/usb/storage and drivers/block, focusing on USB_SUPPORT, USB_STORAGE, and BLK_DEV_NBD. Compare the current configuration with the requested settings and review the linked WSL and custom-kernel references. Done means the relevant support is enabled and the reported USB device can be mounted from the WSL2 filesystem.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, linux
- Domain
- operating-systems
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100