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

Re: kernel and modules compiling



Colin Tree wrote:
> 
> Hi,
>                  try
> make xconfig   or    menuconfig
> make dep ; make clean ; make zImage
> mv  --force  /lib/modules/2.x.x  /lib/modules/2.x.x-old ( if recompiling
> the same version )
> make modules ; make modules_install
> edit lilo if necessary  ( new kernel will be /boot/vmlinuz
>                                             old kernel will be
> /boot/vmlinuz.old  ? )
> make install   ( also creates new boot floppy )
> lilo
> reboot
> modconf  ( set up /etc/modules )
> reboot
> 

Why so much?

make xconfig   or    menuconfig
make-kpkg kernel_image
mv  --force  /lib/modules/2.x.x  /lib/modules/2.x.x-old (if recompiling the same version) OR rm /lib/modules/2.x.x
cd ..
dpkg -i kernel_image-2.x.x-1.00-i386.deb
reboot

Hop! this is it!

Regards,
JY

-- 
"Jean-Yves BARBIER"   jybarbier@wanadoo.fr
"Les choses ne sont pas toujours ce que l'on voudrait qu'elles soient qu'elles fussent..." P. DAC
Boycott Intel, watch: http://www.bigbrotherinside.com
"If you need N components to build your board, you'll ALWAYS have N-1 in stock" Murphy's law


Reply to: