Home  >  Article  >  Operation and Maintenance  >  What should I do if centos7 cannot recognize the hard disk?

What should I do if centos7 cannot recognize the hard disk?

WBOY
WBOYOriginal
2022-02-09 10:28:3018763browse

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.

What should I do if centos7 cannot recognize the hard disk?

The operating environment of this article: centos 7 system, Dell G3 computer.

What should I do if centos7 cannot recognize the hard disk?

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn