Hello,
in order to do the following steps
there are some Prerequisites
You will need to be on Windows 11 Build 22000 or later, or be running the Microsoft Store version of WSL.
Identify the disk - To list the available disks in Windows, run:
PowerShell
Copy
GET-CimInstance -query "SELECT * from Win32_DiskDrive"
The disks paths are available under the 'DeviceID' columns. Usually under the \.\PHYSICALDRIVE* format.
Mount the disk - Using PowerShell, you can mount the disk using the Disk path discovered above, run:
PowerShell
Copy
wsl --mount <DiskPath>
Mount the selected partitions
Once you have identified the partitions you want to mount, run this command on each partition:
PowerShell
Copy
wsl --mount <DiskPath> --partition <PartitionNumber> --type <Filesystem>
https://learn.microsoft.com/en-us/windows/wsl/wsl2-mount-disk
And see if it helps,
Thank you
--If the reply is helpful, please Upvote and Accept as answer--