Ok, so after countless hours spent searching for the B140i Dynamic Storage Array drivers, I managed to find the driver by downloading the HP service pack for Proliant, mounting the iso locally and finding the hpdsa driver inside a folder named DUD.
The steps I did in order to successfully install CentOS 7 on my HP Proliant DL120 gen 9 are the following:
- Download CentOS Image and write it on a USB;
- Download HP
Proliant Service Pack and locate the
hpds driver inside it
(download only the b140i drivers from here);
- Use
dd to write the appropriate driver (u0 or u1) on a separate USB drive;
- Insert the CentOS USB in the server, boot from it but at the
install menu, press
e in case of an UEFI system and add on the
linuxefi line the following inst.dd modprobe.blacklist=ahci;
- Press
Ctrl+x or the keys needed to continue the installation;
- Insert the usb drive with the driver;
- Press
r to refresh the drive list and choose the appropriate drive;
- After it unpacks, continue with the installation as usual;
Special thanks to @ewwhite and @michael-hampton :)
Hope this helps someone else who is facing this problem and is not experienced with servers.