On Fri, Mar 07, 2003 at 01:14:36PM +0530, Sukrit wrote: > 1. How do i decide which modules to load at boot time, which file is > to be edited? (i am thinking that i'll compile support for lots of > devices - cd-writer, different network cards - as modules that way i > won't have to recompile kernel when i add those devices. So i don't > want all my modules to be loaded at boot time. Also, i don't want to > dynamically and automatically load/unload modules)
/etc/modules > 2. What is the function of system.map file, after compiling kernel > (the non-debian way) is it necessary to copy the file to /boot and edit > lilo.conf to reflect changes. i think it maps addresses in the kernel to symbols > 3. i compiled the kernel, now do i need to get kernel-headers? What is > the function of kernel-headers? kernel-headers are the headers you used to compile your kernel. they come in really handy for compiling add-in modules later, such as the nvidia drivers, and take up much less space than the kernel source. the best way to make them is to make them with make-kpkg (same goes for your kernel). to do this, do something like: # cp yourconfig /usr/src/linux/.config # cd /usr/src/linux # make-kpkg --config=menuconfig --revision=custom.1.0 binary and then you should have kernel, kernel-source, kernel-header, and kernel-documentation .debs in /usr/src that you can install with dpkg at your leisure. > 4. Right now i am copying kernel bzImage into /boot renaming it, and > editing lilo. Also for modules i > #make modules > #make modules_install > > If i already have the same version of kernel running does old module > tree get over-written or not? probably does! note you don't have to do any of this with the above method. (er, it's done for you :) regards sean
pgp00000.pgp
Description: PGP signature