How to fix: 💿 Disk fails to detect in OS Partition Setup

How to fix: 💿 Disk fails to detect in OS Partition Setup

Summary:

This is due to an existing or previously existing RAID configuration typically found in onboard RAID and configured in the BIOS.

When trying to install OS, you may come upon this error message:

“Disks sda, sdb contains BIOS RAID metadata, but are not part of any recognized BIOS RAID sets. Ignoring disks sda, sdb” .

This is due to an existing or previously existing RAID configuration typically found in onboard RAID and configured in the BIOS.

To resolve,

  1. Restart your system.
  2. Go into your BIOS Setup and make sure your SATA type is set to AHCI or ATA and not RAID.
  3. Boot into CentOS “Rescue Mode” from the boot media.
  4. Enter into the shell or access terminal from the installer with Ctrl+Alt+2 
  5. Type the following commands:
dmraid -r -E /dev/sda
dmraid -r -E /dev/sdb

If the above solution fails to fix, follow the below steps which will for sure resolve the issue.

  • Follow the steps 1-4, then use Parted command to see what Partition label the disk has and change the label to MsDos or GPT .

To see the label type:

 parted /dev/sda

To change the label:

parted mklabel msdos

or

parted mklabel gpt
whoami
Stefan Pejcic
Join the discussion

I enjoy constructive responses and professional comments to my posts, and invite anyone to comment or link to my site.