Solution to Disk sda contains bios raid metadata in CentOS 6.4

Source: Internet
Author: User

When installing the CentOS 6.4 system, the system always fails when detecting the hard Disk. The error is as follows: Disk sda contains bios raid metadata, but is not part of any recognized bios raid sets. ignoring disk sda.

As shown in:

In addition, the hard disk displays occasional/dev/sda and occasional/dev/sdb ..
From the prompt, it seems that the hard disk has been RAID before .. This prompt causes the system to be unable to recognize the hard disk and unable to continue the installation of the system.

Later, after Google installed the system, enter linux nodmraid to continue the installation ..
The linux nodmraid command disables the array.

To avoid the above prompt when installing the system in the future, the following is a complete solution:

Reference URL:

Place the hard disk on another machine
# Dmraid-rE/dev/sdb
No raid disks and with names: "/dev/sdb"

No. If you search online, a friend will give you a simpler way to use parted
If you search online, a friend will give you a simpler way to use parted
# Parted/dev/sdb -- script mklabel gpt
# Parted/dev/sdb -- script -- mkpart primary 0-1
Warning: The resulting partition is not properly aligned for best performance.
# Parted/dev/sdb -- script print
Model: ATA toshba MK1002TS (scsi)
Disk/dev/sdb: 1000 GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number Start End Size File system Name Flags
1 17.4kB 1000 GB 1000 GB primary after processing, put it back to the original machine, there is no problem, the system was successfully installed.
If so, run parted in emergency mode.

If not, the last trick is DD.
Dd if =/dev/null of =/dev/sda bs = 512 count = 1

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.