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. Finally, a use for my old 3TB HDD

Finally, a use for my old 3TB HDD

Scheduled Pinned Locked Moved The Lounge
designcomgraphicslinuxiot
17 Posts 6 Posters 7 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 honey the codewitch

    I have an HDD disconnected but bolted into my computer chassis. I got rid of it because it slowed things down and I have 6TB of NVMe anyway Turns out, you cannot copy your freshly compiled WSL linux kernel to a filesystem unless it's ext4 It has symbolic links which rules out FAT, and illegal characters in filenames (NTFS). So get this: To enable WSL to see your ext4 formatted SD card you must 1. Have an ext4 partition on non-removable storage, so that WSL can see it. Enter my HDD. 2. Recompile the WSL Linux kernel enabling SCSI over TCP 3. Install the kernel 4. Convince windows to talk SCSI over TCP 5. Wave a dead chicken over the whole thing. Finally, you can mount an SD properly in WSL. Why microsoft didn't enable it by default just floors me.

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

    J Offline
    J Offline
    Jacquers
    wrote on last edited by
    #7

    You might be able to mount the sd card with a drive letter so it looks like a normal drive?

    H 1 Reply Last reply
    0
    • J Jacquers

      You might be able to mount the sd card with a drive letter so it looks like a normal drive?

      H Offline
      H Offline
      honey the codewitch
      wrote on last edited by
      #8

      can't mount drives like that unless they are formatted, FAT32 or NTFS

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

      J 1 Reply Last reply
      0
      • H honey the codewitch

        can't mount drives like that unless they are formatted, FAT32 or NTFS

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

        J Offline
        J Offline
        Jacquers
        wrote on last edited by
        #9

        Try this? [How to Access and Read EXT4 Partition and Data on Windows 11/10 [2024 Updated]](https://www.easeus.com/partition-master/access-ext4-partition.html#:~:text=Go to Tools > Service Management,drive letters in Windows Explorer.)

        H 1 Reply Last reply
        0
        • J Jacquers

          Try this? [How to Access and Read EXT4 Partition and Data on Windows 11/10 [2024 Updated]](https://www.easeus.com/partition-master/access-ext4-partition.html#:~:text=Go to Tools > Service Management,drive letters in Windows Explorer.)

          H Offline
          H Offline
          honey the codewitch
          wrote on last edited by
          #10

          I've used apps like those before - including maybe some of those ones in particular. While it's fine for reading an entire non-removable disk, it quickly becomes a chore to have to eject, reload the new disk, add files to it etc. It's not a true mount, it's an app. No shell extensions or anything so it's a big old monkey wrench in the workflow. That's why I ended up exploring other routes - because I have to update this SD card every time I change any code.

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

          J 1 Reply Last reply
          0
          • H honey the codewitch

            I've used apps like those before - including maybe some of those ones in particular. While it's fine for reading an entire non-removable disk, it quickly becomes a chore to have to eject, reload the new disk, add files to it etc. It's not a true mount, it's an app. No shell extensions or anything so it's a big old monkey wrench in the workflow. That's why I ended up exploring other routes - because I have to update this SD card every time I change any code.

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

            J Offline
            J Offline
            Jacquers
            wrote on last edited by
            #11

            It sounds like you'd be better off dual booting into Linux :)

            H 2 Replies Last reply
            0
            • J Jacquers

              It sounds like you'd be better off dual booting into Linux :)

              H Offline
              H Offline
              honey the codewitch
              wrote on last edited by
              #12

              Did that on my laptop because I had a spare NVMe stick for it. About ready to nuke GRUB from orbit. Ditching that install. I got WSL doing what I needed it to. It would have done it in the first place, but Microsoft's code is incomplete.

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

              J 1 Reply Last reply
              0
              • J Jacquers

                It sounds like you'd be better off dual booting into Linux :)

                H Offline
                H Offline
                honey the codewitch
                wrote on last edited by
                #13

                Adding, that was actually worse then some of the other solutions, seeing as how Ubuntu and Win11 refuse to samba together. I need something that's actually going to preserve my workflow, not destroy it.

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

                1 Reply Last reply
                0
                • H honey the codewitch

                  Did that on my laptop because I had a spare NVMe stick for it. About ready to nuke GRUB from orbit. Ditching that install. I got WSL doing what I needed it to. It would have done it in the first place, but Microsoft's code is incomplete.

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

                  J Offline
                  J Offline
                  Jacquers
                  wrote on last edited by
                  #14

                  Nice that you got it working. It can be frustrating when it doesn't work. Just checking, this isn't an option? [EXT4 Windows: Mount EXT4 File System in WSL2 - MiniTool Partition Wizard](https://www.partitionwizard.com/partitionmagic/ext4-windows.html)

                  H 1 Reply Last reply
                  0
                  • J Jacquers

                    Nice that you got it working. It can be frustrating when it doesn't work. Just checking, this isn't an option? [EXT4 Windows: Mount EXT4 File System in WSL2 - MiniTool Partition Wizard](https://www.partitionwizard.com/partitionmagic/ext4-windows.html)

                    H Offline
                    H Offline
                    honey the codewitch
                    wrote on last edited by
                    #15

                    Oh you absolutely innocent person. :laugh: Yeah you'd think that would work, wouldn't you. So did I. But Microsoft has not fully implemented block device support in WSL, so it doesn't work for flash drives and SD readers. It's certainly possible if you're willing to shim your SD card over iSCSI and TCP/IP. As nightmarish as that sounds, it's not terrible once it's set up. The trick is getting it set up. Read it and weep: USB-Storage-on-WSL2/README.md at master · jovton/USB-Storage-on-WSL2 · GitHub[^]

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

                    1 Reply Last reply
                    0
                    • H honey the codewitch

                      I have an HDD disconnected but bolted into my computer chassis. I got rid of it because it slowed things down and I have 6TB of NVMe anyway Turns out, you cannot copy your freshly compiled WSL linux kernel to a filesystem unless it's ext4 It has symbolic links which rules out FAT, and illegal characters in filenames (NTFS). So get this: To enable WSL to see your ext4 formatted SD card you must 1. Have an ext4 partition on non-removable storage, so that WSL can see it. Enter my HDD. 2. Recompile the WSL Linux kernel enabling SCSI over TCP 3. Install the kernel 4. Convince windows to talk SCSI over TCP 5. Wave a dead chicken over the whole thing. Finally, you can mount an SD properly in WSL. Why microsoft didn't enable it by default just floors me.

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

                      T Offline
                      T Offline
                      Tiger12506
                      wrote on last edited by
                      #16

                      I feel your pain. Wish I could have jumped ship a decade ago and never looked back, but my real job requires me to deal with the OS and company that thinks that new icons and "View more...", "Read more..." links are a useful update.

                      H 1 Reply Last reply
                      0
                      • T Tiger12506

                        I feel your pain. Wish I could have jumped ship a decade ago and never looked back, but my real job requires me to deal with the OS and company that thinks that new icons and "View more...", "Read more..." links are a useful update.

                        H Offline
                        H Offline
                        honey the codewitch
                        wrote on last edited by
                        #17

                        You can rid of that context menu nonsense in Win11 Restore old context menus[^]

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

                        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