Re: Compiling a kernel
cothrige <firstname.lastname@example.org> wrote:
> I am sure this is a really stupid question, but having read through
> the reference and searched online (some searches involve such common
> terms they never return anything useful) I have really been unable to
> find a clear answer. I hope someone here can help.
I never compiled on Debian, but I watched many threads so I hope I can
give you a few pointers.
The Debian Way (tm) to compile a kernel is using make-kpkg. This will
create a .deb which you can install using 'dpkg -i'. I haven't done
this myself, but the archives of this list contain many examples.
AFAICT this can be done with sources from kernel.org as well.
The default Debian kernel needs an initrd because it has many things
compiled as modules. You might be able to avoid the initrd if you
compile most (or everything) in. YMMV
You can compile a kernel from scratch using the classic method. After
you copy the image in /boot just run update-grub and it will add it to
your boot menu. You might want to read the notes in
/boot/grub/menu.lst if you want/need to add boot options.
If you can't explain it simply, you don't understand it well enough.