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