We haven't had a guide for awhile so thought I would add this.
OSX are about to release the latest version 'Mojave' and the development beta has been out for a few months. Apple have stopped compatibility for a variety of older machines now (I think with MacBooks its anything prior to 2012). Some genius has issued a patcher to get around this, and extend the software to much older machines :
http://dosdude1.com/mojave/ I won't rehash his guide as its bullet proof, but I will add a hearty recommendation! I've been running this on my 2011 MacBook for a while and it's been great so decided to buy a couple of cheap iMacs (kitchen and study). I got my wife a 27" 2009 i5 for her study for £150 and I got myself a 2008 21.5" for the kitchen for £75. It's running perfectly on both machines and with an added SSD both machines absolutely fly.
This morning I updated it on my iMac and it killed the machine completely. However - all I did was reinstall the OS using DosDude's standard method and everything is fine again - all my settings/apps/games remain in tact and the patch is installed too so it really just fixed the boot problem.
Definitely recommend a cheap iMac and Mojave for anyone wanting a cheap machine - no need to spend £2k on a modern one