@Captain_Flemme, the information you give us is very vague, you do not tell us what the blue screen consisted of, nor do you share screenshots of it.
I also don't know if both discs were formatted in GPT for UEFI mode.
Anyway, whenever you have problems with the BIOS/UEFI it is advisable to perform an update from the manufacturer's site.
I also share this useful information about the "Legacy" and "UEFI" modes.
Legacy and UEFI boot mode
Your system is equipped with UEFI BIOS, which is based on the Unified Extensible Firmware Interface (UEFI) specification.
UEFI BIOS offers advantages over previous BIOS versions, but the way it starts is not compatible with some operating systems, and perhaps not the best option for some configurations. For this reason, the system cannot be configured to start in
Legacy boot mode or UEFI boot mode.
The default setting is Legacy startup mode.
Normally, the startup mode is set only once before installing the operating system. Once you have installed the operating system, if you change the startup mode, you cannot start the operating system.
See the product notes for a list of operating systems that support UEFI boot mode.
When to select the Legacy BIOS or UEFI boot mode
When the option is available to choose between Legacy or UEFI boot mode, the advantages of UEFI boot mode include:
Start faster.
Avoid the ROM address limitations of the Legacy option.
For more information, see Other BIOS Boot Mode Considerations.
Supports boot partitions of the operating system that exceed 2 terabytes (2 TB). For more information about the limitations for supported operating systems, see the server product notes.
The PCIe device configuration utilities are integrated with the BIOS configuration utility menus.
Startup images of the operating system appear in the startup list as tagged entities. For example, it shows Windows startup manager tags instead of plain device tags.
Efficient system and energy management.
Solid features of fault management and reliability.
Use UEFI drivers.
Choose the boot mode Legacy BIOS:
If your operating system does not support booting in UEFI boot mode.
To allow HBA and Express Module devices to use the option ROM.
Other considerations on BIOS boot mode
Choosing the boot mode Legacy BIOS allows HBA and Express Module devices to use option ROMs. If the UEFI boot mode is chosen, UEFI drivers will be used.
Notes - The operating system can only be started with the property value of the startup mode that was initially set during installation. If the property value of the startup mode is changed after the operating system is installed, it will become inoperative (will not start). To resolve this problem, the property value of the startup mode must be changed back to the original configuration.
Only devices that support the selected boot mode appear on the BIOS startup screen. If you select the UEFI boot mode, only boot candidates compatible with the UEFI BIOS boot mode are included in the BIOS setup utility screens in the boot order list. If you select the Legacy BIOS boot mode, only boot candidates compatible with the Legacy BIOS boot mode are included in the boot order list.
Notes - If you change the startup mode, the installed operating system cannot start. In addition, the start candidates of the previous start mode disappear. Startup candidates of the recently changed boot mode appear after issuing the BIOS Save Changes and Reset command and also appear on the screens after the next start of the BIOS setup utility.
When you switch between Legacy and UEFI boot mode (in any sense), the BIOS settings that affect the Startup Priority List setting are changed and the original settings are lost. If you want to return to the previous configuration, make a backup copy of the BIOS configuration.
See the server product notes for a list of operating systems that support UEFI boot mode. Some operating systems require the Legacy boot mode and some can work with any mode. However, once the operating system is installed, the startup mode that was used during installation may be used.