I have always had problems compiling kernel if I don't do first a:
  make mrproper
but it always is at compile time (making/installing modules).
If you are going to try this, copy your .config into ANTOTHER directory,
do the 'make mrproper' and copy it back, then do a:
  make oldconfig 
first just in case config file was for a previous version/release.

Another point is changing the extraversion in the makefile AFTER a 'make
xconfig/menuconfig" and BEFORE starting with the rest (make dep ...).

Another point is (what Adrian said) "...If I install a system update I
get a new kernel (from the update) and I still can boot all the other
pre-existing ones..." I understand this is from rpmdrake or similar,
because if you do it by hand (get the rpm and upgrade it) you might be
spoiling existing kernels as kernel shouldn't be upgraded (rpm -U) but
installed (rpm -i) as the second case will not overwrite the old one.

Anyway, what Todd said sounds to me is probably the right direction.



El jue, 06-03-2003 a las 03:26, James Sparenberg escribi�:
> On Wed, 2003-03-05 at 16:20, Adolfo Bello wrote:
> > On Wed, 2003-03-05 at 17:40, Adrian Golumbovici wrote: 
> > > I do:
> > > make menuconfig
> > > make dep
> > > make clean
> > > make bzlilo
> > > make modules
> > > make modules_install
> > > lilo
> > What I have done and work just fine is:
> > 
> > make clean
> > make mrproper
> > (optionally, to start from an old .config, cp /an/old/.config .config)
> > make menuconfig
> > make dep
> > make bzImage
> > su
> > make modules
> > make modules_install
> > (now on /boot)
> > cp /usr/src/linux/arch/i386/boot/bzImage /boot/vmlinuz-VERSION
> > cp /usr/src/linux/System.map /boot/System.map-VERSION
> > mkinitrd initrd-VERSION.img VERSION
> > vi lilo
> > lilo
> > 
> > You are missing 'make mrproper' which I read somewhere that can get you
> > into troubles.
> > 
> > HTH
> > 
> 
> What works for me is
> 
> make mrproper (if I've never done a kernel with this source before)
> make xconfig
> make dep
> make bzImage
> make modules
> make modules_install
> make install
> 
> then I check just for the warm fuzzy /etc/lilo.conf and rerun lilo
> 
> James
> 
> 
> 
> ----
> 

> Want to buy your Pack or Services from MandrakeSoft? 
> Go to http://www.mandrakestore.com
-- 
           Diego  Dominguez                 
              __/\__  
             |      | 
 Andalucia  /        \  Spain
            \        /
             |__  __| 
                \/    


___________________________________________________
Yahoo! M�viles
Personaliza tu m�vil con tu logo y melod�a favorito
en http://moviles.yahoo.es

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to