HI welcome to the forum

the problem is that sata has no master or slave
With a Serial ATA interface, each disc drive has its own cable that connects directly to a Serial ATA host adapter or a Serial ATA port on your motherboard. Unlike Parallel ATA, there is no master-slave relationship between drives that use a Serial ATA interface.