No - most probably not the motherboard.
Most likely the hard drive.
Check all the connections to it - power and data cables.
Reset the BIOS to default configuration.
If no joy - then the message means the hard drive can't be detected by the system when it powers up and looks for it - this likely means it's failed.