hamishcoleman / thinkpad-ec

Infrastructure for examining and patching Thinkpad embedded controller firmware
GNU General Public License v2.0
1.06k stars 113 forks source link

drives not showing up using "lsblk" #160

Open BrianKiw007 opened 4 years ago

BrianKiw007 commented 4 years ago

hey all i'm trying run this patch for t430s using Ubuntu 18.04 LTS... when i try to see what drives are their using "lsblk" :~/thinkpad-ec# lsblk lsblk: failed to access sysfs directory: /sys/dev/block: No such file or directory

hamishcoleman commented 4 years ago

Thats a really strange issue to have - it sounds like there is something not right with your Linux setup. What distribution are you using?

As a cruder alternative to lsblk, you can try "cat /proc/partitions"

BrianKiw007 commented 4 years ago

i'm new the Linux i just used the one from Microsoft version Ubuntu 18.04 LTS... i tried that comand also got back the following /thinkpad-ec# cat /proc/partitions cat: /proc/partitions: No such file or directory

m-kozlowski commented 4 years ago

Microsoft version Ubuntu 18.04 LTS wait, what?

so: -you're new to linux -you're not using linux -you've encountered bug that is most likely a lack of Microsoft's WSL compatibility

and you reporting it to embeded controller firmware patcher issue tracker?

hamishcoleman commented 4 years ago

To be fair, they are advertising it as "just like real linux" and do say "this is Ubuntu", so if you are new to Linux, the marketing might make it all sound reasonable.

That being said, you could should be able to build the patched image with in the WSL environment, it is just writing it out to the USB stick that needs hardware specific details.

Perhaps you could use something like etcher.io from the windows side to write the image file to the USB stick (but I have no clear directions, have never done this, and probably couldnt help you)