A minor question...
If the system won't boot, how do you run the script?
I assume you mean first booting a rescue disk... In which case, the rescue disk must have the script on it.
And at this level, each distribution (well, nearly each) will have to have its own script.
The usual problem with these scripts is not that they can't make repairs... it is that they cannot determine WHICH repair to do.
And some repairs preclude using others...
|