1 |
Neil Bothwick wrote: |
2 |
> When you compile a kernel |
3 |
> manually, you choose which modules you need in the kernel, build those in |
4 |
> and either leave the rest out or compile them as separate modules. |
5 |
> |
6 |
> Genkernel is intended to make things easier, and it may do when things |
7 |
> work as they should, but I find it makes life more difficult when |
8 |
> anything goes wrong. Building a kernel manually is not rocket science, it |
9 |
> is easier in the long run. |
10 |
|
11 |
A lot of people have said not to use genkernel over the past months, but |
12 |
I'm going to be one to stand up for it. It is a very customisable tool |
13 |
and I find it very useful for all my kernel needs. |
14 |
|
15 |
When you compile a kernel with genkernel, you too are able to configure |
16 |
the kernel by selecting which modules to compile in or leave out simply |
17 |
by specifying the --menuconfig option. I prefer the way it handles |
18 |
config files by storing them in /etc/kernels after a successful build. |
19 |
Next time you build that kernel revision, it will pick the config out |
20 |
from that directory by default. |
21 |
|
22 |
ls /etc/kernels/ |
23 |
kernel-config-x86-2.6.13-rc6-mm2 kernel-config-x86-2.6.15-rc5-mm1 |
24 |
|
25 |
All you have to make sure of is that the filenames match, so if you |
26 |
upgrade the kernel revision you just have to copy the previous kernel |
27 |
config to match the name of your new kernel revision and build the new |
28 |
kernel. After running genkernel I end up with the same kernel that I |
29 |
would had I 'compiled it manually', I don't build the initrd as I don't |
30 |
require it. Like an automated script it has simply just run the steps |
31 |
while I'm off annoying my brother :D I've used genkernel for a fair bit |
32 |
now and not a single problem and a seamless transition from devfs to udev. |
33 |
|
34 |
The problems with genkernel generally come from using the default |
35 |
configuration and initrd, which you don't require with a correctly |
36 |
configured kernel. I'm sure there would be problems also if you didn't |
37 |
alter the original configuration when compiling the kernel manually. |
38 |
-- |
39 |
gentoo-user@g.o mailing list |