How can I mount a removable USB drive in WSL?

cn flag

So I've gone through this tutorial and have gotten USBIPD up and running on Windows 11 and the Ubuntu WSL container. Now, how can I mount a USB Mass Storage Device in WSL so that File Explorer can see and access it? The USB is formatted as ext4. Thanks!

de flag

I believe that guide is for other kinds of USB devices like SD cards. For mounting disks, including external USB disks I think you want this guide. Refer to the section "Mounting DrvFs". The following example uses the Windows D: drive.

$ sudo mkdir /mnt/d
$ sudo mount -t drvfs D: /mnt/d

I've never used it for ext4 but see no reason why it wouldn't work.

I sit in a Tesla and translated this thread with Ai:


Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.