This question already has an answer here:
I was recently given an old computer (HP Pavilon Dm1 - I think it's about 6 years old). All 3 USB ports on the computer are broken. So I have to install Ubuntu through Internet network adapter boot, but I'm a little lost how to do that. I was planning to install Ubuntu 19.04 to this old computer on SSD drive.
How can I install Ubuntu on a device with broken USB ports?