Webkul
Services
Technologies Bagisto QloApps
iOS Android SAP BigCommerce Wix
Trusted by
Samsung Intel Toyota Walmart Disney Nokia Nestlé Decathlon
See all customers
Back to Top
DOC

Custom Kernel In Linux

As we all know linux is an open source, so we can make changes according to our need.

Here is a method how we can custom kernel.

First for the security purpose copy the present kernel’ configuration. So that if changes doesn’t work we can revert the changes.

# cp /boot/config.* ~/linux-stable/.config

# make ~/linux-stable/old.config

Now start configuring

#make -j ‘cat /proc/cpuinfo |grep -c processor’

#sudo make modules_install install

It will install the kernel image in the /boot directory and generates initrd i.e initial ram disk, which is needed by the kernel at the boot time.

we can also install other modules similarly

enjoy the custom kernel.

 

if you are unable to boot through this kernel drop to the root shell and restore the old kernel’s copy into the main memory.

. . .

Leave a Comment

Your email address will not be published. Required fields are marked*


Be the first to comment.

Back to Top

Message Sent!

If you have more details or questions, you can reply to the received confirmation email.

Back to Home