Attempting to repair a 2009 macbook, HDD issues

so I’ve been sitting on this thing for a while, it’s pretty beat up, had a beer spill years back, cracked screen, one USB port.

I’ve tried to install windows xp, windows 7, and GNU/Linux Mint, when installing windows it gets stuck trying to copy files. And when I try to install mint it gives me this error

So I can run it under a Gparted USB and even wipe the hard drive and format it all I want, and I’ve tried other hard drives, but it has trouble connecting to them(maybe just because it’s a mac)

So after all that I got nothing, I’m assuming the motherboard is just screwed, the sata cable looks fine, so is there anything else to try? It stopped working after he downloaded and ran something, but It booted up once more after that than just died.

Why are replacement motherboards 300 dollars, dear lord macs man.

I might trade it for an older working laptop of mine, as I can just probably keep a live linux distro on it to make it usable to a degree so eh, good for netflix if anything.

Thanks for any suggestions.

I've swapped out hard drives in my 2009 Macbook, so it's not that Mac's don't like them. I think that beer spill may have taken it's toll on the motherboard. I guess you could use a live distro with persistence, I've used Porteus in the past.
You can use the Porteus Wizard to customise the initial iso, just make sure to select EFI or it won't boot.

I feel that its kind of pointless but do you think that submerging the motherboard in a bath of denatured alcohol for a few minutes and hanging it to dry for a few days may help?
Maybe its shorting somewhere on the motherboard.

The guy is probably willing to try anything, but I dunno about that, I'm basically doing this for free so.

And in regaurds to that beer spill a row of keys on the keyboard doesn't functions like at all, the 4rfv row doesn't work despite taking it apart and cleaning the contacts. and by god are mac keyboards horrible to work on.

First is this the white plastic unibody or the aluminum chassis version?

I haven't had issues installing linux on macbooks or macbook pro's before, but it's usually the stupid broadcom wifi driver that ends up being a bitch to deal with.

But as far as the installer not working that is a bit odd, could be a bad live install on your usb drive, or it could well infact be the "logic board" shudder... I'd try using a disk if you can, that's how I did my Macbook pro.

the xp install attempt was on a disk, and the installer works just fine otherwise.