|Sometimes a hardware RAID controller or fakeraid (BIOS) can leave RAID metadata that makes it impossible to install Windows or Linux, or it installs correctly, but causes a kernel panic or a 0xb7 blue screen error on the first boot.|
The only method we could find to delete the metadata *quickly* is to zero out the last 512KB of data on the disk using the following command:
dd if=/dev/zero of=$YOUR_DEV bs=512 seek=$(( $(blockdev --getsz $YOUR_DEV) - 1024 )) count=1024
Replace $YOUR_DEV with the physical device, such as /dev/sda
You could just zero the whole disk, but that could take hours. This command executes in less than a second.
If you have other tips on how to Remove RAID metadata from a Hard Disk leave your comments.
Tags: dd, Remove, Hard Disk, metadata, RAID, zero
This work is licensed under a
Creative Commons Attribution-