Score:0

kernel: 4.4.0-19041-Microsoft Not Found

pk flag

I'd like to start by letting you know that I'm relatively new to using Ubuntu and don't use it often so please forgive me if this seems stupid.

My computer runs Windows 10 Home and has ARM64 architecture. I am using Ubuntu 20.04 LTS from the Microsoft store.

I am trying to install the app usb-redirector-linus-arm64.tar.gz

The README install instructions state the following:

USB Redirector for Linux works on the following Linux distributions: Debian 5 and newer Fedora 5 and newer Gentoo 10.1 and newer openSUSE 10.3 and newer Mandriva 2007 and newer RedHat 5 and newer Ubuntu 6.06 and newer others, which meet the following requirements:

kernel version from 2.6.27 to 5.5 udev subsystem read-write file system (not read only) kernel source code or kernel headers are required for installation

Supported architectures: x86 x86_64(amd64) arm mips

I have downloaded and extracted the tar.gz in the terminal per the instructions:

wget https://www.incentivespro.com/usb-redirector-linux-arm64.tar.gz
tar -zxf ./usb-redirector-linux-arm64.tar.gz
cd ./usb-redirector-linux-arm64

and installed linux source (for the udev?) which is what one of the forums said to do for that. If it's not right please advise me how to get udev subsystem.

Obviously, if I take the next step in the install I get the error kernel source and headers not found:

jlang@MustangJess:~/usb-redirector-linux-arm64$ sudo sh installer.sh install-client
[sudo] password for jlang:

*** Installing USB Redirector for Linux v3.9.9
***  Destination dir: /usr/local/usb-redirector
***  Checking installation...
***  Detecting system...
***     distribution: ubuntu
***     init: sysv
***     kernel: 4.4.0-19041-Microsoft
***  Cleaning up installation...
***
***  INSTALLATION FAILED!
??? Kernel sources or kernel headers directory not found. Please install the corresponding package first.

I was hoping it would tell me where or how as it does with other things. I've searched the web and other similar forums but can't seem to find what I'm looking for.

Which leads me to my question: Can someone please tell me where or how to get the kernel source and headers for 4.4.0-19041-Microsoft or what I can use as an alternate? I have seen others use generic ones but I don't want to just start installing randomly, and since I don't know what is compatible I'm asking for help. I just want to install and run this program and have been attempting for almost 4 days now to find answers. I will give any other information you may need I just don't know what else to add at this time. Can someone please help me out?

Liso avatar
sd flag
Well from the [guide](https://www.incentivespro.com/usb-server-install.html#troubleshooter): `sudo apt-get install make gcc linux-headers-$(uname -r)`
user535733 avatar
cn flag
The Linux kernel source won't help you, because WSL does not use a Linux kernel. WSL uses some proprietary Microsoft emulation software over your Windows kernel. I'm not sure what you are trying to accomplish with your USB ports, but the first step is to make changes in Windows.
pk flag
@Liso- I forgot to add that to my original post, but yes I tried with same error. It's an error due to not having kernel header and source installed not due to input of the wrong code.
pk flag
@user535733- I saw in my research that it was changed for WSL2...? But can't find how to get them. Otherwise, if I do need to make changes to Windows, could you tell me where I can refer to regarding those?
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.