I have an HP computer and I installed Ubuntu. In the BIOS, I disabled Secure Boot and enabled Legacy Support. It also says that when Legacy is enabled, both UEFI and Legacy are available and UEFI has a higher priority. Is there a way to give preference to Legacy? I know that for HP it is possible to press F9 after turning on the machine and select the Hard Drive, but having to do that every time would be annoying.