Solution to Disk sda contains bios raid metadata

Source: Internet
Author: User

Solution to Disk sda contains bios raid metadata

When CentOS6.2 is installed today, when the hard disk is detected, the following error is reported: DisksdacontainsBIOSRAIDmetadata, butisnotpartofanyrecognizedBIOSRAIDsets. Ignoringdisksda

This situation is similar in Ubuntu and SUSE, but the prompts are not the same.

Sometimes sda or sdb.

I think this hard disk was raid and I don't recognize it now. What to do.

When you enter the installation selection menu

Press the TAB key to ENTER the command line mode of Linux. Then add nodmraid after the command line is started (note that a space is added before) and press ENTER.

Next, you will find the hard disk in the installation process.

The nodmraid command is to disable the array.

This method can be used to install the system. However, you must set this method every time you reinstall the system. How to completely solve the problem.

I tried in emergency mode

Dmraid-r-E/dev/sdb

But an error is reported.

It seems that you can only put the hard disk on another machine to see how it works.

Start to solve the problem right away at work. Place the hard disk on another machine

# Dmraid-rE/dev/sdb

Noraiddisksandwithnames: "/dev/sdb"

No. If you search online, a friend will give you a simpler way to use parted

# Parted/dev/sdb -- scriptmklabelgpt

# Parted/dev/sdb -- script -- mkpartprimary0-1

Warning: Theresultingpartitionisnotproperlyalignedforbestperformance.

# Parted/dev/sdb -- scriptprint

Model: ATATOSHIBAMK1002TS (scsi)

Disk/dev/sdb: 1000 GB

Sectorsize (logical/physical): 512B/512B

PartitionTable: gpt

NumberStartEndSizeFilesystemNameFlags

After processing 117.4kB1000GB1000GBprimary, put it back to the original machine, and the system was successfully installed.

If so, run parted in emergency mode.

If not, the last trick is DD.

Ddif =/dev/nullof =/dev/sdabs = 512 count = 1

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: info-contact@alibabacloud.com 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.