Linux Lite Forums

Software - Support => Other => Topic started by: Şerban S. on July 22, 2020, 03:07:20 AM

Title: Kernel tweaking graphic tool
Post by: Şerban S. on July 22, 2020, 03:07:20 AM
Hi! :)

Does anyone know if there is a graphic tool that allows to rebuild a kernel without certain modules, such as useless drivers and the like?
My skills in compling/recompiling are close to none. This might help me remove useless drivers (Radeon, for one, even NVidia, on the other machines).

Best regards! :)
Title: Re: Kernel tweaking graphic tool
Post by: Moltke on July 22, 2020, 09:25:55 AM
Hi! :)

Does anyone know if there is a graphic tool that allows to rebuild a kernel without certain modules, such as useless drivers and the like?
My skills in compling/recompiling are close to none. This might help me remove useless drivers (Radeon, for one, even NVidia, on the other machines).

Best regards! :)

You might want to check
Code: [Select]
make menuconfig and it's probably wise to try first in a VM. However,  this tool won't tweak your current kernel, you may try with modprobe https://linux.die.net/man/8/modprobe to enable/disable modules you don't need/use, althought and AFAIK they'll be loaded/unloaded again after a reboot so you'll have to repeat the process each time. Menuconfig helps in the kernel's building process by providing a GUI to set some parameters. Again, you might want to try this in a VM first and you need to become yourself familiar with kernel parameters. Try reading here

http://www.yolinux.com/TUTORIALS/LinuxTutorialOptimization.html#KERNELENHANCEMENT

https://www.maketecheasier.com/build-custom-kernel-ubuntu/

 https://wiki.gentoo.org/wiki/Kernel/Configuration/en

https://www.kernel.org/doc/Documentation/

Hope this helps! :)