(2010 Macbook on Sierra) White Screen of Death "Legacy Shim 2" I am fairly confident this is not something that happens often, but I am open to be proven wrong. This is most likely a hardware issue, but I really hope it is not. 

My mac starts up with a blank white screen. There is no apple logo or error logo. Every one in ten"ish" times it will actually boot up after multiple times turning it off. When I am finally at my home screen it is extremely slow to run applications.(Even more so than it was prior to the problem)

I used command s to find out if there was an error in code, but even then it wouldn't boot-up properly. When I did get it to work it showed this code

Code:
AppleUSBMultitouchDriver: IOUSBHostHIDDevice: :start: unable to start IOHIDDevice
HID: Legacy shim 2

This repeated many times.

If this is a hardware problem how can I replace the parts inside my Mac? I wanted to replace some of the parts anyway. 

If this is a software problem how do I fix it?

Thank you guys,

Scrubs
From what I understand, I think that this is a trackpad driver issue. Try booting up while holding the Command and R keys, and then re-installing macOS. 

If that doesn't fix it, then you may need to install a new trackpad. You can find instructions on how to do this here. As for buying a trackpad, you can probably find one on eBay here, like this one.