Hi,
Can anyone suggest me a better document than kernel compilation
README,which explains each and every steps of kernel compilation?
There used to be a kernel-build-howto. It seems that the main howto is
taken down for maintenance. But you can access a workable and readable
copy at:
http://www.digitalhermit.com/linux/Kernel-Build-HOWTO.html
Being said that, the README is just a quick reference. There is more
documentation in the Documentation subdiretory.
I want to know ,what problem can occur if i dnt follow step number 3
,what if i dnt follow step number 4 etc.This will create better
understanding for each and every steps of kernel compilation.
Most of the steps are really logical.
Like why you need to (re)configure the kernel before rebuilding?
Probably because you need to add/remove some feature/device support etc.
Apart from this, if you need to find out what happens when you skip one
of the steps, what better way than to try it yourself. And then maybe
you can prepare/publish a document for our benefit :).
What is system.map file used for?
http://www.dirac.org/linux/system.map/
What if i don't create initrd image after kernel compilation?
Your initrd contains the extra modules that you need to during boot but
were not compiled in the kernel. Which means you (or whoever compiled
the kernel) chose to compile them as modules. Typically, these include
modules for your filesystems, for your scsi disks etc.
/usr/src/linux-2.4/Documentation/initrd.txt
For example,i compile my linux kernel and select an option that leads
to disaster,I mean due to which after reboot i can not boot my
machine.
Then in this case how can i revert back to my original settings?
Preserve your older kernels. It generally is unless you delete the files
and bootloader configurations. If the new kernel panics/oops/refuses to
boot for any reason, you can always fall back to the older one.
In general, installing a new kernel just means putting the kernel,
initrd and modules at specific locations and adding a new entry to the
bootloader config. So preserving old kernels is not really difficult.
Everytime after i recompile my kernel i have to reinstall my network
device driver and vmware drivers?Is there any solution to get rid of
this problem?
vmware yes. Network not unless you use propritary drivers.
Same goes fro any other modules. If they are propritary or not provided
in kernel, you need to rebuild/reinstall them all.
Can i not backup my modules and related settings?
Ofcourse you can. /lib/modules/<version> has the modules,
/etc/modules.conf (2.4 kernels) or /etc/modprobe.conf (2.6 kerenls) has
your module configuration and so on.
HTH,
Saurabh
--
______________________________________________________________________
Pune GNU/Linux Users Group Mailing List: (plug-mail@plug.org.in)
List Information: http://plug.org.in/mailing-list/listinfo/plug-mail
Send 'help' to [EMAIL PROTECTED] for mailing instructions.