Am Donnerstag 30 August 2007 20:16:02 schrieb Ryan Sims: > On 8/30/07, Arnau Bria <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I used genkernel for compiling kernel in my home server. > > Yesterday I wanted to compile a new kernel, but this time by hand, so I > > did: > > 1.-) moved config.gz to .config in new /usr/src/linux link > > 2.-) make oldconfig > > 3.-) make all && make modules_install > > 4.-) mkinitrd initrm.2.6.21 2.6.21-gentoo-r4 > > 5.-) Edited menu.lst (just copied genkernel entry and modified to my > > new bzimage and initram files) > > > > but my new kernel did not start, and gave me a kernel panic... > > > > So I wonder what differences could be between my compilation and > > genkernel one... > > You could diff the .config with the config that genkernel came up > with. I would suggest that it would behoove you to start from a > completely fresh kernel config, with the output of things like lspci > and lsmod as a guide. I've never used genkernel, so I don't know if a > genkernel kernel can live next to a regular one. > > I'd also venture the suggestion that you don't usually need an initrd > for a manual kernel (unless, of course, you do ;) ), genkernel uses > one to do some hardware detection and such (someone correct me if I'm > wrong here), so a manual kernel can just boot straight up. > Only if the OP made the necessary changes to the kernel config, e.g. compiling filesystems and hard disk controller driver into the kernel instead of using modules.
A tip: If you are unsure if you should use a module or compile it in, just look at lsmod. If the module appears, you should compile it in (a module that's always loaded doesn't need to be a module).
signature.asc
Description: This is a digitally signed message part.

