I have an issue with pxe deploy. I have mounted ubuntu-20.04.5-live-server and using the initrd and vmlinuz of it for the pxe.
I am at the point in the pxe deploy that the initrd and vmlinuz has downloaded and laptop is booting on the initrd, but it can not detect my network device which is an lan-usb-c dongle (r8152 module) is missing
I have extracted the contents of the initrd and noted first that the usb folder under main/lib/modules/5.4.0-125-generic/kernel/drivers/net/ is missing. (an Ubuntu 22.04 initrd has that folder)
so i create the /usb/ folder and then i chroot to the main folder, and there is were i get stuck, I have no main/lib/modules/5.4.0-125-generic/build/ folder and just a handfull of tools.. and there is no make.
how do you install a module to an ubuntu-20.04.5-live-server initrd file? the relevant module is r8152