Linux has auto hardware detect and install for everything except BIOS.
Many boards need special BIOS options to work with Linux.
Why not detect or ask MB or Computer Model and try to setup BIOS correctly? It may take time to have enough info to build a useful program.
I know the real problem is broken BIOS. So what? We fix a lot of hardware in software.: