When I installed Fedora on a used disk, it gave me an error message:
“Disk contains BIOS metadata, but is not part of any recognized BIOS RAID sets. Ignoring disk sda”

I booted into rescue mode and skipped mounting the disk. Then I used the dmraid command can remove the BIOS RAID metadata.

[root@localhost ~]# dmraid -r -E /dev/sda
Do you really want to erase “pda” ondisk metadata on /dev/sda ? [y/n] :y

 

I had to do this to clear the last 512 kB of the disk:
dd if=/dev/zero of=$YOUR_DEV bs=512 seek=$(( $(blockdev --getsz $YOUR_DEV) - 1024 )) count=1024