On Mon, 22 May 2000,  Dominik The Newbie wrote about,  Kernel Customization:
> Hi there,
> 
> I re-compiled the kernel, wen through the whole "make config", etc.
> Everything compiled successfully. Moved all the modules to the proper
> directory (well, ok, I was following a book :-) I then edited lilo.conf, add
> the new kernel, and ran /sbin/lilo.
> 
> Restarted the machine, chose the new kernel during boot. No problem at all
> except for 2 things:

You questions have been answered by 2 others, my comments are about the way
you spoke of modules.

The best way to compile a kernel is to edit /usr/src/linux/Makefile and add
a EXTRAVERSION number, its there for a reason, that being, when a
extraversion number is defined there is no need to delete any old mopdules
from other kernels of the same kernel-version-number because a new
directory will be created and named the same as the kernel-version-number +
the EXTRAVERSION.
An example would be;

In /usr/src/linux/Makefile at line 4 
EXTRAVERSION = -2

The kernel version is 2.2.14 so when the modules get compiled the modules
will be copied to /lib/modules/2.2.14-2

After compilation cp the kernel image to /boot and call it vmlinuz-2.2.14-2
add a new section in /etc/lilo.conf and rerun lilo.

You keep your old stuff intact allowing you to boot the old kernel if the
new one fails.
If you had done the above you would not have the trouble you are having now.

>From the advice Ray gave you i am sure you will find out whats wrong.


  
> 1) A whole bunch of dependency errors come up during startup (PCMCIA
> mostly - this is a server not a notebook).
> 2) I can no longer telnet into the machine. I can ping out from the machine
> console (physically on the machine),  but it no longer replies to pings.
> Weird. Checked the default gateway, IP, etc, all looks ok.
> 
> Any thoughts?
> 
> Thanks everyone!
> Dominik.
> 

-- 
Regards Richard
[EMAIL PROTECTED]
http://people.zeelandnet.nl/pa3gcu/


-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to