In BIOS, Integrated Peripherals do the following:
SATA RAID/AHCI MODE: AHCI
SATA Port0-3 Native Mode: Enabled
Onboard SATA/IDE Device (GIGABYTE SATA2 Chip): Enabled
Onboard SATA/IDE Ctrl Mode (GIGABYTE SATA2 Chip): IDE
Connect ssd to any yellow sata port.
Connect CD-ROM and storage HDD to purple sata ports.
Or you can do it the other way around.
Thank you, that worked.