bonjour,
et il est possible de configurer le nombre de kernel à garder
/etc/yum.conf
[main]
cachedir=/var/cache/yum/$basearch/$releasever
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
installonly_limit=3 ----> ce chiffre indique que le nombre de kernel conservé
# This is the default, if you make this bigger yum won't see if the metadata
# is newer on the remote and so you'll "gain" the bandwidth of not having to
# download the new metadata and "pay" for it by yum not having correct
# information.
# It is esp. important, to have correct metadata, for distributions like
# Fedora which don't keep old packages around. If you don't like this checking
# interupting your command line usage, it's much better to have something
# manually check the metadata once an hour (yum-updatesd will do this).
# metadata_expire=90m
# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
de plus il suffit d'editer
/boot/grub/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/sdb5
# initrd /initrd-[generic-]version.img
#boot=/dev/sdb
default=0
timeout=5
splashimage=(hd0,0)/grub/splash1.xpm.gz
hiddenmenu
title Fedora (2.6.40.4-5.fc15.x86_64)
root (hd0,0)
kernel /vmlinuz-2.6.40.4-5.fc15.x86_64 ro root=UUID=9ca2863a-bfe0-43f2-9911-17a8bd4a6a6d rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=fr_FR.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=fr-latin9 rhgb quiet
initrd /initramfs-2.6.40.4-5.fc15.x86_64.img
----tu mets un # devant les lignes ---
#title Fedora (2.6.40.3-0.fc15.x86_64)
# root (hd0,0)
# kernel /vmlinuz-2.6.40.3-0.fc15.x86_64 ro root=UUID=9ca2863a-bfe0-43f2-9911-17a8bd4a6a6d rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=fr_FR.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=fr-latin9 rhgb quiet
#initrd /initramfs-2.6.40.3-0.fc15.x86_64.img
title Fedora (2.6.40-4.fc15.x86_64)
root (hd0,0)
kernel /vmlinuz-2.6.40-4.fc15.x86_64 ro root=UUID=9ca2863a-bfe0-43f2-9911-17a8bd4a6a6d rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=fr_FR.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=fr-latin9 rhgb quiet
initrd /initramfs-2.6.40-4.fc15.x86_64.img
title mandriva
rootnoverify (hd0,7)
chainloader +1
title debian
rootnoverify (hd1,0)
chainloader +1
pour eviter l'apparition de l'entrée celle ci restant toujours dispo suffit d'enlever le #
a+