In the BIOS I can't find any distinction in how the drives are labeled other than 3M/3S/4M/4S/PM/PS. How do I figure out which physical SATA ports these labels correspond to on the motherboard?
I'm assuming your motherboard's drive controller is in IDE mode.
First let's understand the M and S in the labels. IDE (sometimes referred to as ATA or PATA) hard drive controllers use the concept of Master and Slave ports, so:
M
= Master
S
= Slave
One Master and Slave port form a single IDE channel as shown here, where the blue connector is the Master port and the black one is the Slave:
Therefore your BIOS labels correspond to IDE channels and Master/Slave designations:
3M
= IDE Channel 3, Master
3S
= IDE Channel 3, Slave
But why does your BIOS start with Channel 3?
For legacy purposes your BIOS manufacturer skips (reserves) IDE channels 1
and 2
because some motherboard designs could physically include the corresponding IDE ports, in which case they would be designated as follows:
Physical port 1 = IDE Channel 1, Master
Physical port 2 = IDE Channel 1, Slave
Physical port 3 = IDE Channel 2, Master
Physical port 4 = IDE Channel 2, Slave
We could shorten this up to 1M/1S/2M/2S
. Clearly your port labels continue on with 3M/3S/4M/4S
simply picking up where the reserved ports end.
What about the P
in the labels PM
and PS
?
It appears your motherboard treats physical SATA ports 5 and 6 differently (see page 3-13 of the manual), designating this Master/Slave pair as a Primary
channel (instead of channel 5). Two reasons for this come to mind:
- During its heyday, IDE designs never had more than four channels
- IDE was often referred to having a Primary and Secondary controller
The Primary and Secondary controllers typically consisted of one channel each, where the Primary controller was included on the motherboard and, if present, the Secondary controller would be on an add-in sound card. Later, both controllers were included on motherboards. According to Wikipedia:
This second ATA interface on the sound card eventually evolved into the second motherboard ATA interface which was long included as a standard component in all PCs. [These are] called the "primary" and "secondary" ATA interfaces...
So apparently your BIOS manufacturer didn't want to designate the last channel as 5
and decided to call it (somewhat confusingly) a P
rimary channel.
Bringing all of this together, your labels 3M/3S/4M/4S/PM/PS
correspond to your physical SATA ports as follows:
Physical Port SATA Port IDE Labels IDE Full Name
-------------------------------------------------------------------
1 1 3M Channel 3, Master
2 2 3S Channel 3, Slave
3 3 4M Channel 4, Master
4 4 4S Channel 4, Slave
5 5 PM Primary channel, Master
6 6 PS Primary channel, Slave
That all said, none of this will help you determine which of your six identical drives is the boot/OS drive. The only way you'll be able to do that is connect the drives one-by-one (preferably to physical SATA Port 1) and attempt to boot the computer. If that fails, then you'll need to use another computer to examine the content of the drives in order to determine which one has the OS on it.
3The simplest way would be unplug them all bar one & add them back one at a time… then mark it with a Sharpie ;) – Tetsujin – 2014-12-14T10:37:10.850
thanks -- i dislike brute force and am wondering if there is a "correct" strategy. also, this is a shared machine in a lab that is left open with its guts hanging out, and i suspect someone has actually rearranged which hdd is plugged in to which sata socket on the m/b, so i don't even know that the bios is trying to boot from the port connected to the bootable hdd. is there a way to tell the bios to search all connected drives for bootable ones? – user1441998 – 2014-12-14T10:45:42.133
moving a drive's port shouldn't stop it booting. I've done that before, when, for instance, a new graphics card forces you to move the connection. Unless, possibly, it moved from one controller to another. I don't know how to tell the drives apart in the bios. – Tetsujin – 2014-12-14T10:49:13.323
1Isn't the difference in bios the serial number ? This would help. – Lorenz Meyer – 2014-12-14T10:52:08.113
can't find serial numbers in the bios -- the codes i listed correspond to 3 pairs of (M)aster and (S)lave, under (P)rimary, 3, and 4 (controllers?). googling suggests these are names for SATA ports 1-6, but doesn't indicate some standard mapping. when choosing a boot device in the bios, it seems to be indicating one of these ports, not the drive that happens to be connected. i think maybe if there were only one hdd, the bios might find it even if it switched ports, but that isn't happening in this case. – user1441998 – 2014-12-14T11:01:48.557
if the correct drive was bootable but not booting, it ought to show in the boot list only when it's plugged in; but that's still back to unplug them all, then... – Tetsujin – 2014-12-14T11:35:43.930
Are these disks in some kind of RAID mirror? (Just guessing why someone would mark drives as master and slave while that is no longer used with SATA. PATA used that. SATA does not). – Hennes – 2014-12-14T11:38:23.523
the master/slave thing confused me a bit too – Tetsujin – 2014-12-14T11:51:03.100
they all show up in the boot list. no RAID, but perhaps those codes are held over from the roles a RAID would assign to each port? i can't find documentation indicating where they come from, only that they're common across many m/b's (eg, here's a totally different mfg w/same codes: http://www.supermicro.com/support/faqs/faq.cfm?faq=12546)
– user1441998 – 2014-12-14T12:15:14.997actually that link suggests it's coming from the southbridge's sata controller, which includes legacy PATA/IDE emmulation modes... this is an amd sb850, but http://support.amd.com/TechDocs/44758.pdf section 2.5 doesn't mention these designations or a mapping to ports...
– user1441998 – 2014-12-14T13:42:30.280@Tetsujin The
Master
andSlave
designations are used to identify drives connected to an IDE hard drive controller, which this motherboard is capable of emulating. – I say Reinstate Monica – 2014-12-14T21:56:45.483While you dislike brute force, sometime sit can be justified. You would have had you answer long ago had you unplugged them all and tried one by one. – Mawg says reinstate Monica – 2019-01-09T11:27:35.690