How to enable legacy for sata hard drive in HP?

To Enter the BIOS setup

Try any one of the following key’s on HP Server
Esc; DEL; F1; F2; F10; Ctrl +S

Go to Advance

Select on Harddisk Configuration

Click on Sata Mode Selection

Select AHCI