[lfs-support] How can I remove linux kernel-4.7.2 from lfs completely?

Pierre Labastie pierre.labastie at neuf.fr
Sat Dec 31 02:14:46 PST 2016


On 31/12/2016 10:17, ssmtpmailtesting ssmtpmailtesting wrote:
> I've installed this:
> http://www.linuxfromscratch.org/lfs/view/stable/chapter08/kernel.html
> 
> Now I want to remove/delete this kernel and it's all modules and related files
> from system completely. How can I do this?
> 
> I've deleted /source/linux-4.7.2 after installation.
> 
> 
Modules are installed in ... /lib/modules. Delete only those corresponding to
the version you want to remove.

Of course, if you have followed the book, you have the kernel, its config and
its map in the /boot directory. Remove them too.


More information about the lfs-support mailing list