Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. WSL can't properly mount USB drives

WSL can't properly mount USB drives

Scheduled Pinned Locked Moved The Lounge
designlinuxworkspacecomgraphics
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    honey the codewitch
    wrote on last edited by
    #1

    I go to mount my USB SD reader under WSL, and it gives me an error. It's an unformatted disk and I intend to use the gdisk tools - specifically sgdisk to partition it. I need to put files in very particular locations on the SD card. WSL freaks out on me during the wsl --mount \\.\PHYSICALDRIVE2 --bare I start digging around, and come to find out there's a way to do it if you can figure out how to add iSCSI modules to the linux kernel. It's not easy, because Microsoft uses a custom kernel for it. So here's me, with a hypervisor system already, installing VMWare player and Debian 12 just so I can copy a few files. But in order to get my workflow in order I'll need to set up this dev environment in the new VM. All of this because WSL is half baked in areas. Not pleased, Microsoft.

    Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix

    R 1 Reply Last reply
    0
    • H honey the codewitch

      I go to mount my USB SD reader under WSL, and it gives me an error. It's an unformatted disk and I intend to use the gdisk tools - specifically sgdisk to partition it. I need to put files in very particular locations on the SD card. WSL freaks out on me during the wsl --mount \\.\PHYSICALDRIVE2 --bare I start digging around, and come to find out there's a way to do it if you can figure out how to add iSCSI modules to the linux kernel. It's not easy, because Microsoft uses a custom kernel for it. So here's me, with a hypervisor system already, installing VMWare player and Debian 12 just so I can copy a few files. But in order to get my workflow in order I'll need to set up this dev environment in the new VM. All of this because WSL is half baked in areas. Not pleased, Microsoft.

      Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix

      R Offline
      R Offline
      RickZeeland
      wrote on last edited by
      #2

      Same problem when trying to use USB devices with Hyper-V, we tried to use an "EV Token" USB dongle for signing purposes but that is not possible with Hyper-V. There seem to be some 3rd-party solutions however.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups