Removing custom kernel.

Build a new, different, kernel. Install it over the unwanted one. Then delete the unwanted kernel config file.
 
ScreenSilently said:
Hello.

How can I completely remove a custom kernel I compiled?

If you want generic back simply run the same command you used for making your custom kernel without the variables. generic is default.
 
Or simpler: if this was your first kernel build, the previous one (that came with the installation) should still be in /boot/kernel.old. Removing /boot/kernel and renaming /boot/kernel.old to /boot/kernel should restore the old situation. This is assuming you did not update your sources and world too. Then you have to build a new GENERIC kernel to match those.
 
Back
Top