Create grubrepair

Originally written by Ikey Doherty.