-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Description
Windows Version
10.0.22631.4169
WSL Version
2.2.4.0
Are you using WSL 1 or WSL 2?
- WSL 2
- WSL 1
Kernel Version
Linux version 5.15.153.1-microsoft-standard-WSL2 (root@941d701f84f1) (gcc (GCC) 11.2.0, GNU ld (GNU Binutils) 2.37) #1 SMP Fri Mar 29 23:14:13 UTC 2024
Distro Version
Ubuntu 24.04 LTS
Other Software
No response
Repro Steps
In admin PowerShell:
wmic diskdrive list brief
Caption DeviceID Model Partitions Size
Samsung SSD 990 PRO 2TB \.\PHYSICALDRIVE0 Samsung SSD 990 PRO 2TB 1 2000396321280
Intel Raid 0 Volume \.\PHYSICALDRIVE1 Intel Raid 0 Volume 5 1024211865600
PC611 NVMe SK hynix 512GB \.\PHYSICALDRIVE2 PC611 NVMe SK hynix 512GB 1 512105932800
wsl --mount \.\PHYSICALDRIVE0 [--partition 1] [-t ext4] [--bare] # [...] = options also tried.
(Note bug in preview only displaying \ where there is \\ in original.)
Expected Behavior
The SSD should mount without error.
Actual Behavior
Output:
The parameter is incorrect.
Error code: Wsl/Service/AttachDisk/HCS/E_INVALIDARG
Diagnostic Logs
No response