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

Re: problem in recompiling kernel



On Sunday 13 April 2003 19:35, Pigeon wrote:
> On Sun, Apr 13, 2003 at 01:50:26PM +0200, Michael Naumann wrote:
> > On Sunday 13 April 2003 11:15, Jones wrote:
> > > Hi guys,
> > >
> > > I am using Debian woody 3.0 and I experience problem in recompiling.  I
> > > try to recompile my kernel with the old configuration from Debian.  The
> > > configuration can be found under the directory "/boot".  I follow the
> > > step used by "Linux Kernel HOWTO" but I fail to use my network cards
> > > with my new kernel image.  Can anybody tell me what's going wrong with
> > > me!? They are the commands I have used.
> > >
> > > ***************
> > > make clean
> >
> > If you're switching to a newer kernel, you may want to now do
> > make oldconfig
>
> No! That comes later...

How right you are. Silly me.

>
> > > make mrproper
> > > cp /boot/config(old config by Debian Installation)
> > > /usr/src/linux/.config
>
> make oldconfig

That's the place.

>
> > > make dep
> > > make modules
> > > make modules_install
> > > make bzImage
> > > cp /usr/src/linux/arch/i386/boot/bzImage /boot/bzImage(new)
> > > (edit /etc/lilo.conf for the new kernel)
>
> Pigeon

- Michael



Reply to: