Home>Article>Operation and Maintenance> What should I do if centos7 cannot recognize the hard disk?
Solution: 1. Change the SATA hard disk mode to IDE or AHCI or compatibility mode; 2. Add the "hpsa.hpsa_simple_mode=1 hpsa.hpsa_allow_any=1" parameter at the end of the command line.
The operating environment of this article: centos 7 system, Dell G3 computer.
The hard disk cannot be found when installing centos. You can try the following methods
1. Change the SATA hard disk mode to IDE or AHCI or compatibility mode , the settings in each brand's BIOS are different, so I won't list them one by one again.
2. Enter the CentOS installation interface. After selecting a new installation of CentOS, do not rush to press the enter key. Press the tab key first. The command line will appear.
1. Add pci=nomsi nolapic at the end of the line noapic command,
2. Add at the end of the line: hpsa.hpsa_simple_mode=1 hpsa.hpsa_allow_any=1,
3. Add at the end of the line: nodmraid [6.x version applicable]
After entering the command, press the enter key. After entering the installation interface, the hard disk is successfully recognized.
Recommended tutorial: "centos tutorial"
The above is the detailed content of What should I do if centos7 cannot recognize the hard disk?. For more information, please follow other related articles on the PHP Chinese website!