A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://devblogs.microsoft.com/commandline/access-linux-filesystems-in-windows-and-wsl-2 below:

Website Navigation


Access Linux filesystems in Windows and WSL 2

That's great, thanks Craig!

I'm testing the feature out as we speak...

Okay, I ran into an issues and will detail why and how I fixed it:

The code above is missing any reference to the --partition flag, although I now see it's in the image. I'm leaving this here for others, should they run into the same issue and or until the code above has been clarified.

I get an error and am told:

<code>

Which I narrow down to the the following (I typed wsl to enter the default SubSystem, then ran dmesg ):

<code>

Which I searched for and then realized I needed the...

That’s great, thanks Craig!

I’m testing the feature out as we speak…

Okay, I ran into an issues and will detail why and how I fixed it:

The code above is missing any reference to the –partition flag, although I now see it’s in the image. I’m leaving this here for others, should they run into the same issue and or until the code above has been clarified.

I get an error and am told:

The disk \\.\PHYSICALDRIVE3 was attached from WSL2, but failed to mount (error code: -1). For more details, run 'dmesg' inside WSL2.

Which I narrow down to the the following (I typed wsl to enter the default SubSystem, then ran dmesg ):

[  894.810659]  sde: sde1
[  894.811445] EXT4-fs (sde): VFS: Can't find ext4 filesystem
[  894.811493] ERROR: Mount:2564: mount(/dev/sde, /share/PHYSICALDRIVE3, ext4, 0x0, ) failed

Which I searched for and then realized I needed the partition flag, thanks to this SV answer:

https://serverfault.com/a/618533

Anyway, it appears I’ve had a successful mount running the following:

wsl --mount \\.\PHYSICALDRIVE3 --partition 1

Note for others: change \\.\PHYSICALDRIVE3 and –partition 1 to your drive and partition number, of course.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.3