![]() ![]() If you run into any issues, or have feedback for our team please file an issue on our Github, and if you have general questions about WSL you can find all of our team members that are on Twitter on this twitter list. At this time, it’s not possible to attach a single partition. To specify a filesystem, or for more advanced scenarios, check out Mount a disk in WSL 2.Īlso please note that this feature comes with the limitation that only physical disks can be attached to WSL 2. Once mounted, it’s also possible to access these disks through the Windows explorer by navigating to \wsl$ and then to the mount folder.īy default, wsl -mount attempts to mount the disk as ext4. Below is an example of mounting a specific partition of a given hard disk into WSL and browsing its files. Usually under the \\.\\\.\PHYSICALDRIVE* format. The disks paths are available under the ‘DeviceID’ columns. To unmount and detach the disk from WSL 2, run wsl -unmount To list the available disks in Windows, run: wmic diskdrive list brief As a rule, it is automatically identified as Intel for MBR partitions or EFI GPT for the GPT table. Then select the type of the partition table on the drive. Find the drive, which file system is identified as RAW and select Proceed. To mount a disk, open a PowerShell window with administrator privileges and run: wsl -mount Download the archive, unpack it and run the testdiskwin.exe file in the No Log mode. So, if you’re dual booting with Windows
0 Comments
Leave a Reply. |