Transferable skills are the answer. As said by a poster above, lead by example. Make it so that it isn't about school.
You need to instil perseverance, work ethic, etc in ALL walks of life, not just their education. Lots of support and praise for every achievement and development they make. When they come across something difficult, remind them of a similar past occurrence where they initially struggled but eventually succeeded, whether it was a particularly difficult musical chord, or a hard lego model they built, or reaching the top level in a computer game.
If you, as a parent, are doing something challenging. then include them in some way. Eg if you're decorating a room, get your child helping out, demonstrate to them that it's a long process, having to do each stage at a time, importance of preparation (i.e. making sure you have bought enough filler and paste), but more importantly make sure they see it in its worst state with no paper, cracks and holes, rubbed down woodwork, etc., and then let them watch the transformation through to a beautifully completed room again. It demonstrate that hours/days of hard work pays off and that sometimes you have to take a step back, return to basics, before you can make progress.
Open a bank account for them and encourage them to put their birthday and christmas money into it, along with any money you make from selling their old clothes and toys. Over the years, they'll see it build up, encourage them to spend a bit of it if they want something nice between birthdays and christmas. Teach them the virtues of saving over a long period to allow them to buy something really special, as opposed to spending as soon as they receive it on tat and sweets that are gone the day after!
When they're into the years of secondary education, you can build on those lifestyle skills in the education environment. The first time they really struggle with a homework, give them your full support - don't do it for them, but guide them to work it out for themselves. It builds their confidence and proves to them that they can do it if they concentrate and put the effort it. Show them different ways of problem solving, i.e. if they can't "get it" from the worksheet or textbook, go online with them to find alternative resources (loads of youtube videos on virtually all school topics these days). Seeing something explained in a different way, or even by a different person, can often be the lightbulb moment. When they've struggled with something and eventually understood it, they'll have more confidence to persevere next time. When they struggle again, and can't seem to get anywhere, remind them of the last time they struggled and how they overcame the problem and ultimately succeeded.
I don't know if you watched the NCIS series, but Gibbs who is a no nonsense, demanding boss (but highly popular by his team) made a very profound statement. Someone said about him teaching his team well, but he came back with the comment that he didn't teach them, he watched them learn. He did that by being demanding of them, making them think for themselves, making them be one step ahead, etc., but also being ultra supportive of them like a close family - so a case of "tough love" really.