Solution to the error "Disk sda contains BIOS RAID metadata" when installing CentOS 6.x

Solution to the error "Disk sda contains BIOS RAID metadata" when installing CentOS 6.x

Today, when I was installing CentOS6.2, I couldn't get past the hard drive detection stage. The following error message was displayed: Disk sda contains BIOS RAID metadata, but is not part of any recognized BIOS RAID sets. Ignoring disk sda

This situation is similar in Ubuntu and SUSE, but the prompts are slightly different.

Sometimes it's sda, sometimes it's sdb.

It seems that this hard drive was used for raid before, but now it is not recognized. what to do.

When entering the installation selection menu

Press the TAB key to enter the Linux command line mode, then add nodmraid after the startup command line (note the space in front) and press ENTER.

Next, when you enter the installation process, you will find that the hard disk is found.

The nodmraid command turns off the array

This method can realize the installation of the system, but it needs to be set up like this every time the system is reinstalled. How to completely solve the problem.

I tried in emergency mode

dmraid -r -E /dev/sdb

But the error

It seems that the only option is to put the hard drive on another machine and see what happens.

I started dealing with this issue right away when I got to work. Put the hard drive in another machine

# dmraid -rE /dev/sdb
no raid disks and with names: "/dev/sdb"
No way. After searching online, a friend gave me a simpler method: 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 TOSHIBA MK1002TS (scsi)
Disk /dev/sdb: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

NumberStart End Size File system Name Flags
1 17.4kB 1000GB 1000GB After the primary was processed and put back into the original machine, there was no problem and the system was installed smoothly.

If this is the case, running parted in rescue mode should be fine.

If that doesn't work, the last resort is DD

ddif=/dev/null of=/dev/sda bs=512 count=1

Summarize

The above is the solution to the error "Disk sda contains BIOS RAID metadata" when installing CentOS 6.x. I hope it will be helpful to you. If you have any questions, please leave me a message and I will reply to you in time. I would also like to thank everyone for their support of the 123WORDPRESS.COM website!
If you find this article helpful, please feel free to reprint it and please indicate the source. Thank you!

You may also be interested in:
  • Detailed explanation of installing docker.io on CentOS 6.x
  • Solution to the error of inserting Chinese characters into MySQL under centOS7
  • Solution to Tomcat startup error on CentOS 6.5
  • Solution to error when installing pillow on CentOS
  • Compile and install MySQL error solution under centos

<<:  Sample code for implementing Google third-party login in Vue

>>:  Summary of the benefits of deploying MySQL delayed slaves

Recommend

Things about installing Homebrew on Mac

Recently, Xiao Ming just bought a new Mac and wan...

Nginx service 500: Internal Server Error one of the reasons

500 (Internal Server Error) The server encountere...

mysql solves the problem of finding records where two or more fields are NULL

Core code /*-------------------------------- Find...

Detailed explanation of the flexible use of CSS grid system in projects

Preface CSS grids are usually bundled in various ...

VMware installation of Ubuntu 20.04 operating system tutorial diagram

Memo: Just experience it. Record: NO.209 This exa...

Tutorial on installing Elasticsearch 7.6.2 in Docker

Install Docker You have to install Docker, no fur...

Vue based on Element button permission implementation solution

Background requirements: The ERP system needs to ...

How to install docker and portainer in kali

With the emergence of docker, many services have ...

How to block IP and IP range in Nginx

Written in front Nginx is not just a reverse prox...

Simple analysis of EffectList in React

Table of contents EffectList Collection EffectLis...

About WSL configuration and modification issues in Docker

https://docs.microsoft.com/en-us/windows/wsl/wsl-...

Software Testing - MySQL (VI: Database Functions)

1.MySQL functions 1. Mathematical functions PI() ...