Why make kernel compiling so confusing?
I was reading tons trying to get an idea since this was going to be my first kernel compiling/upgrading. Why do people make it such a task to try and figure out? Are there added benefits to doing it other then the way I did below?
I edited the .config file with make menuconfig. Compiled the kernel make Then set the new kernel make install The biggest part was going through the config menus trimming off what I did not need. Finally adding a GRUB boot selection in menu.lst for the new kernel. Thanks, Kyle |
Which people? There are more than a billion ways to do it other than the way you do it and each way has its benefits.
For example, some people patch the kernel because they want to add a functionality that is not present in the default vanilla one. Some other people may want to use a script like genkernel, because it's quicker. So what are you talking about exactly? |
There are some .config in your current linux under /boot/
I usually copy .config and extend from there. |
Quote:
I guess the whole "kernel compiling is difficult" mind set and things people say made me expect something more and go on a wild search for what was not there. I'm glad I finally figured it out and stopped the search. :-) Quote:
Kyle |
Quote:
|
I always start with "make oldconfig" before "make menuconfig" to start with the the options of the current running kernel. If you are compiling a newer version, you will be prompted for any newer features. Some options I might leave alone simply because I don't understand an item well enough.
|
Quote:
Well you listed two ways, could you please list the other 999,999,998 ways for us. :D :D |
Quote:
DragonM15 |
Quote:
Quote:
Quote:
Thanks for the replies, Kyle |
Quote:
DragonM15 |
Quote:
|
Quote:
My comment was more general, for the kernel it's easier as it should only install in seperate directories. For debian, latest kernel packages: 2.6.26-rc6 Last one has been packaged today (a week after kernel.org release). http://wiki.debian.org/DebianKernel |
Quote:
One or two packages installed by make install is no great pain, especially the kernel and provide more flexibility, but it should be an exception and the rule should be to use the package manager. To get the best of both worlds, just get yourself a distro that has portage, which is the best package manager I've ever seen in my life for linux. |
Each one has his/her own ways.
I, for one, maintain it in my home, because I find that having to be logged as root to compile your kernel is just stupid, unnecessary, and a pain. Additionally, this allow me to:
For those having a binary distro, probably this would be a hassle. For me it's just perfect. |
All times are GMT -5. The time now is 10:13 PM. |