Re: Compiling a kernel without making a .deb package.
On Wed, Dec 10, 2003 at 10:02:28AM -0600, John Foster wrote:
> Joseph Jones wrote:
> >I can compile a kernel into a .deb package as described in the
> >newbiedoc, but I need to compile a kernel with drivers for my laptop's
> >NIC so I can make a rescue disc to do a network install from. Could
> >anyone advise me as to how I do this, if possible in relation to the
> >instructions in the newbiedoc?
> >Thanks :)
> Download a kernel tarball from http:// www.kernel.org & open it into a
> directory on the compiling system /usr/src/linux ; make sure you have
> the correct modutils installed for the kernel version being
> compiled.Read and follow exactly the instructions contained in the
> tarball for compiling the kernel. Depending on your hardware
> requirement, this may be easy ....or not:-)
I coming in, in the middle so forgive me if I repeat things.
You can build the kernel using make [x,m,old]config, make clean, make
dep, make bzImage, make modules, make install.
To make things somewhat simpler, you can build the deb package and then
ar x <kernel-deb-package>
this will give you three files. The data.tar.gz is the actual
installation in the right directory tree for the kernel including the
kernel, modules and documentation.
> John Foster
> To UNSUBSCRIBE, email to firstname.lastname@example.org
> with a subject of "unsubscribe". Trouble? Contact