-
Notifications
You must be signed in to change notification settings - Fork 841
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error code: Wsl/Service/AttachDisk/0x8007000f #10189
Comments
/dupe #9290 |
Hi! We've identified this issue as a duplicate of another one that already exists in this repository. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report! |
I follow the instructions according to https://github.com/microsoft/WSL/issues/9290, but there is error message after executing the command "modprobe". Here is the message. ┌──(sherman㉿LAPTOP-FPRQU4NE)-[~] ┌──(sherman㉿LAPTOP-FPRQU4NE)-[~] ┌──(sherman㉿LAPTOP-FPRQU4NE)-[~] To solve the problem, I create the softlink directory /lib/modules/5.15.90.1-microsoft-standard-WSL2 and execute the command "modprobe" again. There is another error message. Pls refer to the following information for detail. Would you pls help me solve this problem? Thanks! ┌──(sherman㉿LAPTOP-FPRQU4NE)-[/lib/modules] ┌──(sherman㉿LAPTOP-FPRQU4NE)-[/lib/modules] ┌──(sherman㉿LAPTOP-FPRQU4NE)-[/lib/modules] |
Windows Version
Microsoft Windows [Version 10.0.22621.1702]
WSL Version
1.2.5.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.90.1
Distro Version
kali-linux 2023.2
Other Software
No response
Repro Steps
My laptop is Surface Laptop 4 (11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz 2.42 GHz).
After inserting USB storage, the disk is identified by the following command.
PS C:\WINDOWS\system32> GET-WMIOBJECT -query "SELECT * FROM Win32_DiskDrive"
Partitions : 1
DeviceID : \.\PHYSICALDRIVE1
Model : Kingston DataTraveler 3.0 USB Device
Size :
Caption : Kingston DataTraveler 3.0 USB Device
Partitions : 3
DeviceID : \.\PHYSICALDRIVE0
Model : SDBPTPZ-512G-1124-WDC
Size : 512105932800
Caption : SDBPTPZ-512G-1124-WDC
However, the error messages prompt when mounting the partition in WSL 2.
PS C:\WINDOWS\system32> wsl --mount \.\PHYSICALDRIVE1 --bare
The system cannot find the drive specified.
Error code: Wsl/Service/AttachDisk/0x8007000f
Expected Behavior
Mount the USB storage successfully.
Actual Behavior
The system cannot find the drive specified.
Error code: Wsl/Service/AttachDisk/0x8007000f
Diagnostic Logs
No response
The text was updated successfully, but these errors were encountered: