[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: question about kernel 2.6



j smith wrote:
thanks!

i read the Debian book, but it explicitly says:

"Note that you don't have to compile your kernel the
``Debian way''; but we find that using the packaging
system to manage your kernel is actually safer and
easier."

so i choose non-debian way. the correct command is
"make modules_install", it warns me that "you may need
to install modules_init_tools" and complains
"unresolved symbols"

could you offer some suggestion?
J Smith,
see: http://www.desktop-linux.net/debkernel.htm . Even if you do not want to do it the debian way, it lists requirements for running and compiling a 2.6.x kernel. Also see /usr/share/doc/kernel-package/readme for a simple, no nonsense list of requirements and steps for doing the kernel the debian way. It is easier. Make sure you have kernel-package installed. 1. run make menuconfig, config, xconfig, or gconfig (I prefer menuconfig as you don't need X to run it. Handy if you don't have x and have a bad kernel. 2. run make-kpkg clean 3. run make-kpkg kernel_image 4. run dpkg -i kernelname.deb.

That's it. It will make, make modules, install them, make an image, install it, configure your boot loader, update your package system so your system knows what kernel you have. If you use synaptic, you can "see" your kernel listed in the packages and you can remove it if you want. You can also transport the kernel to a new machine if the components are close if not identical. HTH




snip

--
Damon L. Chesser
damon@damtek.com



Reply to: