How much RAM?
I could not install Ubuntu 20.04 (only as test) on my 2006 BIOS only laptop. Laptop only has 1.5 GB of RAM and old slow HDD.
Both batteries are dead, but as long as connected to power it works.
I was able to install server & add lightweight gui.
I then tried Kubuntu which I normally use on newer desktop & laptop. And was surprised it was light enough to work.
Or long way of saying have you tried a lighter weight flavor.
https://ubuntu.com/download/flavours
Light weight flavors:
Lubuntu, Xubuntu, Ubuntu MATE, Budgie
Flavors of Ubuntu only come with three years of supported life (five years applies to Ubuntu Desktop, Ubuntu Server but not flavors)