If it is a software problem, you can use a nand formatter to fix it, BUT REMEMBER THAT IF YOUR WII DECIDES TO SHUTDOWN/CRASH WHILE THE NAND IS FORMATTING, YOU ARE SCREWED. use it as a last resort.
edit: actually i think there is a hardware nand formatter that you can use so that you don't have to worry about your wii shutting down while formatting.