le mar 27-11-2001 � 08:34, Borsenkow Andrej a �crit :
> > The make copied my new bzImage, initrd and System.map to /boot and set
> up
> > an
> > entry in LILO.  That had never happened before. 
> 
> 
> That is what make install does. You have to do make modules_install
> before because make install tries to create initrd and it obviously
> needs existing modules for this. You should not do make install until
> you are sure everything has been properly installed. Still ...

always have a command line like this one make modules && make
modules_install && make install
if something failed it will stop.
 
> > The new entry in LILO was also pointing to the broken kernel.  Getting
> the
> > picture here?  When LILO added the new entry, it also referenced the
> > images
> > pointed to by the symlinks, which  make (or something) changed...
> > 
> > failsafe points to broken kernel
> > nofsbwhatever points to broken kernel
> > linux points to broken kernel
> > 248-dmm points to broken kernel
> > 
> 
> It is exactly what I have already written about (Is rpm -I kernel really
> safe?) installkernel should make backup of actual kernel instead of
> creating double entries for linux and xyz-N entries pointing to the same
> new (possibly) broken kernel.
> 
> So if you have 2.4.10-1 and install 2.4.15-2 instead of getting "linux"
> and "2415-2" entries (that is useless if 2.4.15-2 is broken) I expect
> "linux" and 2410-1 so I can boot old kernel if something went wrong.

true. I think it's impossible for a script to guess the old kernel real
filenames, So it better use the real name from the beginning.
Symlink names can be keep for ... compatibility ( I d'ont know which
one, but as it used to be ), but the boot loader may use kernel realname
or at least failsafe entry one. But even this is not enough :

[root@bastard root]# rpm -q kernel
kernel-2.4.13-6mdk
kernel-2.4.13-10mdk
kernel-2.4.13-12mdk

3 kernel and only one failsafe entry, so use real names since the
beginning is better. With this it will be possible to update kernel via
urpmi in a so easy way !

-- 
http://perso.wanadoo.fr/linux_wizard/index.html 
-
C'est souvent avec une femme idiote qu'on vit en bonne intelligence. 
Albert Willemetz (1887-1962)


Reply via email to