If during the automated installation of Windows we encounter the following error
it is necessary to clean the primary disk from metadata. To do this, we boot the server in rescue mode and see which disks are installed in the server with the command:
fdisk -l
Assumiamo che il server abbia due dischi SSD. Per ripulire i dischi digitiamo
dd if=/dev/zero of=/dev/sda bs=512 count=2
fdisk -s /dev/sda
dd if=/dev/zero of=/dev/sda seek=(numero_settori - 20) bs=1k
where "numero_settori" is the output of command fdisk -s /dev/sda.
Repeat the commands for all the disks from which you want to remove the metadata.