Kernel

13 replies [Last post]
celf-infinite
Offline
Joined: 01/21/2015

Hi i have a question, why would one compile the kernel and what are the benefits of doing so?

lembas
Offline
Joined: 05/13/2010

Hello there! You get a kernel that's optimized for the specific hardware you have. The difference however isn't noticeable, at least not in light everyday use. On the other hand the kernel is one thing you're constantly running so it does make sense to optimize it. Besides that if you have some strange devices not included in the default kernel you can add drivers for them if they're available. The default kernel comes with a huge number of modules for all kind of hardware so it takes at least a hundred megs of disk space too much, usually not a big deal unless you're building an embedded device. Also you get to peek inside the kernel and see how sausage is made!

Jodiendo
Offline
Joined: 01/09/2013

Lembas said:
Also you get to peek inside the kernel and see how sausage is made!

Come on man! don't be so twisted and deceiving, my kernel components and sausage still functioning fine. They are not GPL certified but very proprietary, extremely and excellent piece of work.

celf-infinite
Offline
Joined: 01/21/2015

Thank you for your answer, what are steps of compiling a kernel? i have downloaded understanding the linux kernel book. i hope it will help me understand the kernel a lot better. Are there any books you recommend for me to read,to further my knowladge and understand the kernel on a deeper level.

lembas
Offline
Joined: 05/13/2010

Here's a guide https://trisquel.info/en/wiki/compiling-gnu-linux-libre-kernel

I don't know a book to recommend. (There is some documentation in the tarball.)

celf-infinite
Offline
Joined: 01/21/2015

Thank you.

JadedCtrl
Offline
Joined: 08/11/2014

A good book I started about a week ago was "Linux from Scratch" (Ahem, publisher, don't you mean "GNU/Linux from Scratch?" :p)- it goes into detail about how the kernel works, how GNU/Linux boots, and the basics of using it.

Calinou
Offline
Joined: 03/08/2014

The book is not free culture (CC BY-NC-SA 2.5) by the way.

JadedCtrl
Offline
Joined: 08/11/2014

Sorry, forgot to mention that.

Jodiendo
Offline
Joined: 01/09/2013

and who cares if is not "FREE CULTURE", at least is information that will teach you.

Magic Banana

I am a member!

I am a translator!

Offline
Joined: 07/24/2010
buildcomplete
Offline
Joined: 01/26/2015

Does anyone know what would work and what would not switching to GNU/Hurd on my Trisquel

I have
* gnome3
* atom text editor
* apache + mysql + php5 + mcrypt + gdimage

and then all the stuff that comes with Trisquel 7.

buildcomplete
Offline
Joined: 01/26/2015

yrk,
I looked some more at the GNU/hurd website, and it seems you need quite a lot of time to play around with, and then you will be working on hurd and not working as usual.

If only there was infinite time :)

tomlukeywood
Offline
Joined: 12/05/2014

also when ever i ran it it was crashing alot
so i think it needs more development