View previous topic :: View next topic |
Author |
Message |
sosoisl n00b
Joined: 15 Jun 2006 Posts: 23
|
Posted: Mon Jul 31, 2006 6:37 am Post subject: difference between genkernel and manual compilation |
|
|
hi,
the first time i installed gentoo on my pc i used genkernel to compile gentoo , but then i found that some drivers are missing so i had to select them using make menuconfig and then recompile the kernel using : make bzImage && make modules && make modules_install
so , now for the dual boot loader am i a genkernel or nongenkernel and did this miss up my system ???
Thanks,
sosoisl |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54391 Location: 56N 3W
|
Posted: Mon Jul 31, 2006 1:38 pm Post subject: |
|
|
sosoisl,
You are still genkernel, since you only changed its kernel configuration to add more modules. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
opentaka l33t
Joined: 18 Feb 2005 Posts: 840 Location: Japan
|
Posted: Mon Jul 31, 2006 1:41 pm Post subject: |
|
|
I think the title is very misleading? _________________ "Being defeated is often a temporary condition. Giving up is what makes it permanent" - Marilyn vos Savant
|
|
Back to top |
|
|
mikegpitt Advocate
Joined: 22 May 2004 Posts: 3224
|
Posted: Mon Jul 31, 2006 3:45 pm Post subject: |
|
|
This thread made me think... Does anyone know why there aren't more modules selected in the default genkernel? I've noticed that many of the sound modules aren't set to compile as modules (or at all). |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54391 Location: 56N 3W
|
Posted: Mon Jul 31, 2006 3:50 pm Post subject: |
|
|
mikegpitt,
The kernel sound is not selected by genkernel to allow you to use emerge alsa-drivers if you choose.
Gentoo is about choice - you could not use alsa-drivers if the kernel modules were included. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
nativemad Developer
Joined: 30 Aug 2004 Posts: 918 Location: Switzerland
|
Posted: Mon Jul 31, 2006 4:11 pm Post subject: |
|
|
Sometimes there are a few default-configs that i just find strange... or even chaneing in the r-versions!?! So i always use "genkernel --menuconfig blabla".
I find the name "genkernel" good, because its not just the compilation steps. (boot partition mounting, copy the image, makeing a superb initramfs etc.)
@sosoisl
Don't forget to copy the newly-created image in the boot partition. And name it like your genkernel-image! -Otherwise it might claim about unknown symbols... |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54391 Location: 56N 3W
|
Posted: Mon Jul 31, 2006 4:36 pm Post subject: |
|
|
nativemad,
I find most of the genkernel defualt configuration options strange until you rememebr its intended to produce a kernel that will boot for most people. When you are making a kernel for one PC, why would you want an initrd at all?
Well, I can think of two reasons splashimage and 3rd party kernel modules needed for mounting root, like dm-raid _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
nativemad Developer
Joined: 30 Aug 2004 Posts: 918 Location: Switzerland
|
Posted: Mon Jul 31, 2006 5:20 pm Post subject: |
|
|
Quote: | Well, I can think of two reasons splashimage and 3rd party kernel modules needed for mounting root, like dm-raid |
Yes, i also like it for nfs-booting, home-brew livecds, and so on.. (mounting a squash-root over nfs was never so easy! )
I really understand that it should be a general-config, but what does "most people" mean? Do most people build servers? Desktops? sata, scsi, ide?
There are so many options that can mess up a boot.. And what about the network-drivers? If the config should fit most of the users, why are normal 10/100/1000 nics not all enabled? How many users really need infiniband or even fddi, token-ring and so on instead of a 3c905 or so? Iptables is also a good example which is disabled most of the time, but should not affect on boot. Why is it disabled? Ipv6 is enabled, but not multicasting or tunneling!?!
Sometimes it looks like genkernel would generate the first config somehow, but on the other hand it sometimes looks more like "cat /dev/urandom >.config"
Nevermid, i fell in love with genkernel! |
|
Back to top |
|
|
|