Language Selection

English French German Italian Portuguese Spanish

Linux: Custom Kernels Trim Fat and Tune Performance

Filed under
Linux

I have some shocking news: despite the astonishing growth of Linux, there is a whole new generation of Linux users who have never, ever compiled a kernel. How to account for this sad state of affairs? Perhaps it's because the distribution maintainers are doing such fine jobs it's not necessary. Maybe users just don't know that they can. Whatever the reasons, today we're taking a tour of some of the different ways to customize the Linux kernel. First we'll learn the old reliable generic way, and then take a tour of the Fedora Way and the Debian Way of customizing kernels.

A word of warning: while building a custom kernel isn't all that difficult, it is complex and time-consuming, and when you're all finished you might be the proud parent of a non-booting kernel. The good news is you can have as many do-overs as you want without hurting your system. Any Linux system can have any number of kernels and you can choose which one to boot to, so never delete old kernels until you're certain your new one works correctly. Your system will not try to boot to a new kernel until you explicitly configure it to do so, so it can't sneak up on you. So you can go on a wild spree and build and test a whole army of new kernels if you like.

Give yourself a couple of gigabytes of disk space to play with...

Why would you even want to do this?

Full Story.




More in Tux Machines

A Seat at the Big Kids’ Table at Ohio LinuxFest

Ohio LinuxFest isn’t just another excuse to travel. It’s a means for us to fulfill ourselves, and to get honest, tangible feedback for what we do and for what others are doing. It’s a place where ideas are sounded, bent, crumpled and turned until they either come out of the crucible perfect…or useless. That’s what our gatherings are about. They are about excitement and promise. They​ are about making sure the next generation has a real chance to put the first human footprint on Mars. They are a chance to insure they have the tools and the curiosity to take something apart and then make it better. This next generation will cure diabetes; they will make cancer an inconvenience and not a death sentence. Read more

OpenStack Juno is out, Debian (and Ubuntu Trusty ports) packages ready

This is just a quick announce: Debian packages for Juno are out. In fact, they were ready the day of the release, on the 16th of October. I uploaded it all (to Experimental) the same day, literally a few hours after the final released was git tagged. But I had no time to announce it. This week-end, I took the time to do an Ubuntu Trusty port, which I also publish (it’s just a mater of rebuilding all, and it should work out of the box). Here are the backports repositories. For Wheezy: deb http://archive.gplhost.com/debian juno-backports main deb http://archive.gplhost.com/debian juno main For trusty: deb http://archive.gplhost.com/debian trusty-juno-backports main Read more

Video: Systemd the Core OS (no coughing)

There has been so much negative stuff about systemd on teh Interwebs lately. It is so sad. Quite a few distros picked systemd because they liked a lot of the features it has. Why do the people who like systemd actually like it? Sure, if you look hard enough, you can find those answers... but I remembered a video where the man himself explains it. Read more

GParted 0.20 Improves Btrfs Support

GParted 0.20.0 is out today with a release that primarily improves Btrfs support. The improved Btrfs support comes via now handling support for resizing Btrfs file-systems that span multiple devices. GParted 0.20 also has GRUB2 restoration steps added to the help manual plus various translation updates. Read more