Giter VIP home page Giter VIP logo

Comments (6)

RichardMidnight avatar RichardMidnight commented on August 24, 2024

Hello Jeffry,

I have used PiSafe with virtualbox on windows very successful.
I fired up WSL but I didn't get PiSafe running on it yet. I don't remember the exact errors, but it seamed like it was missing a lot of basic Linux functions.

from pi-safe.

RichardMidnight avatar RichardMidnight commented on August 24, 2024

Hello Jeffry,
OK, I got WSL running on a clean Windows 10. PiSafe installed OK (PIGZ does not install, but that is OK). It seams that WSL does not list usb disks the same a a native linux installation does. For example the "lsblk" command does not show usb devices. I see some articles of people working on fixes, but they seem to be still in development. If I find a fix, I will post it here. If you find a way to connect a USB drive to WSL and have it show up with the "lsblk" command, let me know. "usbipd-win project" looks promising, but only works with windows 11.

Richard

from pi-safe.

jeffrey734 avatar jeffrey734 commented on August 24, 2024

Ok good thanks. Maybe your first try was on WSL 1 , I saw that WSL 2 was supposed to make things more like real linux system, but I'm nos a pro on that. I'm actually on Windows 11. I will try to look to your suggestion when I have free time and will let you know.

Thanks

from pi-safe.

RichardMidnight avatar RichardMidnight commented on August 24, 2024

OK, I got WSL 2 running on Windows 11. I needed some update patch, but that was mentioned in the install error, and it worked OK.
Now I see that WSL 2 does not support USB devices. This is the root of the problem. The best resource I found is: https://docs.microsoft.com/en-us/windows/wsl/connect-usb. I did not get this to work. It seems to be a work-in-progress.
At then end of the day, PiSafe is expecting the usb drive to be listed when you type in "lsblk".

from pi-safe.

jeffrey734 avatar jeffrey734 commented on August 24, 2024

Hi, thanks for your effort you're fast. I see what you mean. I did some research too and probably found the same post you found that redirected me on the same projet on the Microsoft blog. I guess the good news there is that seems to be an official project and the team seems to be active.

I tried the install and successfully got my SD on my lsusb list using a usb adapter, but not with my SD card port. But it seems that it can't mount it yet as it doesn't appear using lsblk.

I guess we'll have to let them work a bit more and come back here later.
I'll keep an eye on it on my free time and go on my next suggestion.

from pi-safe.

RichardMidnight avatar RichardMidnight commented on August 24, 2024

I see some progress on usb support for wsl, but still not working for pisafe. Following the links below, I got "lsusb" to show the usb stick, but "lsblk" still does not.
For simplicity, I am running windows 11 (updated), wsl 2, and Ubuntu.

https://learn.microsoft.com/en-us/windows/wsl/install
https://learn.microsoft.com/en-us/windows/wsl/connect-usb

from pi-safe.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.