|
I've got ~450 tabs open across 4 browsers 😳
|
|
|
|
|
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
|
|
|
|
|
Amazing. Just amazing.
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
honey the codewitch wrote: Why microsoft didn't enable it by default just floors me. Because either the didnt think about it or they thought noone would come with a real use case for it...?
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
There's enough of a use case that somebody put together a guide for doing it.
And for the many embedded ARM developers out there, it would open up options in terms of actual development platform.
This whole thing is just because Microsoft has yet to fully implement (emulate?) block devices in WSL yet.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
You and your logical arguments...
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
Quote: Why microsoft didn't enable it by default just floors me. Because others claim why they do it
|
|
|
|
|
You might be able to mount the sd card with a drive letter so it looks like a normal drive?
|
|
|
|
|
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
|
|
|
|
|
|
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
|
|
|
|
|
It sounds like you'd be better off dual booting into Linux
|
|
|
|
|
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
|
|
|
|
|
|
Oh you absolutely innocent person.
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
|
|
|
|
|
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
|
|
|
|
|
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.
|
|
|
|
|
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
|
|
|
|
|
WSL will not mount an ext4 SD card. It can mount ext4 hard drives. Not flash drives. Because MS sucks.
but
VMWare causes the most obnoxious repeating beep sound, gets itself locked up, locks the mouse cursor inside its window, and keeps beeping even after I kill the task, forcing me to reboot.
VirtualBox will not share the clipboard from host->device, will not mount my remote filesystem, and will not function as though it was written by competent people.
Surely there's a market out there for VM software that isn't awful. Am I the only one that wants a functioning VM out there?
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
honey the codewitch wrote: VMWare causes the most obnoxious repeating beep sound, gets itself locked up, locks the mouse cursor inside its window, and keeps beeping even after I kill the task, forcing me to reboot. Never had these issues with VMWare.
The mouse lock is only if you use it in full screen, if you use it within its windows frame then you can move the mouse whereever you want. You are within the frame, ALT+Tab changes apps in the guest OS, you move the mouse to the frame and press ALT+TAB, then the app change is on the host OS getting the VM in the background.
There is a key combination too, for going back to the host... but I do not remember which one, since I use it always in window frame and do not need it.
When I have the VM maximized, I have the Taskbar of my Windows 10 host, and then next by the taskbar of my guest OS. You have as bit less surface pixels available in the guest OS, but it works fine.
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
The hotkey is Ctrl+Alt, and all of what you wrote relies on the assumption that the software actually works. It doesn't on my machine.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
honey the codewitch wrote: It doesn't on my machine. I believe you. I just didn't have those issue in my life and right now between 15 and 20 years using VMware at home always the player, at work the playstation (but way less than in private).
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
Agreed, VMWare all the way
Paul Sanders.
If I had more time, I would have written a shorter letter - Blaise Pascal.
Some of my best work is in the undo buffer.
|
|
|
|
|
I second Nelek's opinion about VMware - never had any major issues with it.
Just to be on the safe side, before posting here, I went ahead and created an Ubuntu VM with 22.04LTS. Installation had a few hiccups but nothing major. If you want, I can pass you the VM files. Should work with latest VMPlayer and is an absolutely clean Ubuntu install.
Mircea
|
|
|
|
|
Thanks, but I'm recompiling the WSL kernel right now to enable iSCSI support. If all goes well I'll be able to use my SD reader --bare and in the buff to mount ext4 partitions off the card. That will solve my issues.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|