Recently I had to install Ubuntu 22.04 server onto 3 laptops, which did not have any support for UEFI, or the UEFI support was broken.
It was indicated when, after successful ubuntu install, the first boot, fails with no disk found.
* BootDevice not found
etc.
the fix is simple enough.
1. disable the UEFI support in the BIOS
2. Beging the ubuntu (booting off the USB stick) install
but when you get to the first menu, choosing the keyboard layout, switch to a new console (ALT f2) and prepare the disk manually.
This will vary for some devices (which is the boot disk, partitiion layout etc) but the basics are
sudo fdisk /dev/sda
# change the partition type to DOS (m for menu, look at the bottom)
# delete any old partitions
# create a new primary partition (2G in size for /boot)
# create a second parition (remainder) for /
# set partition one to be bootable ('a')
# write the changes.
3. now go back to console 1 (alt F1) and when you get to disk choice,
choose custom and select, and allocation the new parittions you created as
primary 1 - /boot
primary 2 - /
and then proceed. The installer will do the right thing and it will boot.