"I unsalted a ssd"
Do you mean you uninstalled an ssd? Are you planning to just use hard disk drives or do you mean something else? Providing a little more information about your data storage plans would be helpful in suggesting a solution.
There is no need or requirement to switch from AHCI mode to IDE mode in the motherboard's system BIOS. Modern solid state drives, most hard disk drives, and optical drives all use AHCI mode.
TRIM is Microsoft Windows features. Why do you want to disable TRIM? I just want to get an idea of what your thinking instead of trying to guess.