First of all u didn’t mention why r u going to recompile kernel. Basically kernel compiling is related to new hardware detection or install new hw. This work is not easy process and may be it damage ur os. U must mention which falvor u used. Before doing this must take all backup of ur files and system. First u have to determine on which purpose u r going to do that. I am not going to discourage u but for ur better I just remember u. For compile just googling an u will get answer.