When the hard drive is powered on, a small part of firmware on the PCB is starting the whole process of booting the drive. It sends the command to power on the motor and tells the heads to move over the spinning surface to catch the synchronizing marks of the platter in order to stabilize the speed.