Bonjour,
lors de mon dernier yum update, j'ai eu une erreur de la mise à jour du kernel me disant que ma partition /boot de 512Mo est pleine et qu'il a besoin de 11Mo de plus que ce j'avais. En effet, il me restait que 20Mo sur ma partition /boot. Regardant sur les forums, j'ai lancé les différentes commandes suivantes pour supprimer les vieux kernels:
$ yum remove kernel
$ package-cleanup --oldkernels --count=2
Le résultat est que cela m'a libéré 40Mo d'espace et j'ai pu finir ma mise à jour. Mais en faisant un df de suite après, il ne me reste que 600Ko sur la partition /boot.
$ ls -l /boot
ls -l /boot
total 436644
-rw-r--r--. 1 root root 152760 18 mars 05:35 config-3.19.1-201.fc21.x86_64
-rw-r--r--. 1 root root 152749 26 mars 22:45 config-3.19.3-200.fc21.x86_64
-rw-r--r--. 1 root root 152749 20 avril 22:01 config-3.19.5-200.fc21.x86_64
drwxr-xr-x. 4 root root 4096 12 déc. 01:35 efi
-rw-r--r--. 1 root root 184380 21 oct. 2014 elf-memtest86+-5.01
drwxr-xr-x. 2 root root 4096 12 déc. 01:38 extlinux
drwxr-xr-x. 6 root root 4096 30 avril 01:14 grub2
-rw-------. 1 root root 38820595 3 sept. 2014 initramfs-0-rescue-dddc4fc820284d26ac688f2d2a773d32.img
-rw-------. 1 root root 17606717 30 oct. 08:38 initramfs-3.16.3-200.fc20.x86_64.img.old-dkms
-rw-------. 1 root root 17607760 26 nov. 09:03 initramfs-3.16.4-200.fc20.x86_64.img.old-dkms
-rw-------. 1 root root 17608265 12 déc. 00:27 initramfs-3.16.6-200.fc20.x86_64.img.old-dkms
-rw-------. 1 root root 17611911 14 déc. 12:38 initramfs-3.16.6-203.fc20.x86_64.img.old-dkms
-rw-------. 1 root root 17678698 14 déc. 12:38 initramfs-3.17.3-200.fc20.x86_64.img.old-dkms
-rw-------. 1 root root 17626674 23 déc. 22:33 initramfs-3.17.4-200.fc20.x86_64.img.old-dkms
-rw-r--r--. 1 root root 19017087 26 janv. 18:32 initramfs-3.17.4-301.fc21.x86_64.img.old-dkms
-rw-r--r--. 1 root root 19128751 9 févr. 23:16 initramfs-3.17.6-300.fc21.x86_64.img.old-dkms
-rw-r--r--. 1 root root 19170175 19 févr. 01:47 initramfs-3.17.7-300.fc21.x86_64.img.old-dkms
-rw-r--r--. 1 root root 19167717 10 mars 23:02 initramfs-3.18.3-201.fc21.x86_64.img.old-dkms
-rw-r--r--. 1 root root 19216058 20 mars 21:26 initramfs-3.18.5-201.fc21.x86_64.img.old-dkms
-rw-r--r--. 1 root root 19218233 24 mars 23:37 initramfs-3.18.7-200.fc21.x86_64.img.old-dkms
-rw-r--r--. 1 root root 19216074 2 avril 01:41 initramfs-3.18.8-201.fc21.x86_64.img.old-dkms
-rw-r--r--. 1 root root 19255110 30 avril 01:03 initramfs-3.18.9-200.fc21.x86_64.img.old-dkms
-rw-r--r--. 1 root root 19308969 24 mars 23:42 initramfs-3.19.1-201.fc21.x86_64.img
-rw-r--r--. 1 root root 19308882 24 mars 23:41 initramfs-3.19.1-201.fc21.x86_64.img.old-dkms
-rw-r--r--. 1 root root 19315213 2 avril 01:46 initramfs-3.19.3-200.fc21.x86_64.img
-rw-r--r--. 1 root root 19315254 2 avril 01:45 initramfs-3.19.3-200.fc21.x86_64.img.old-dkms
-rw-r--r--. 1 root root 19326215 30 avril 01:08 initramfs-3.19.5-200.fc21.x86_64.img
-rw-r--r--. 1 root root 19326372 30 avril 01:08 initramfs-3.19.5-200.fc21.x86_64.img.old-dkms
-rw-r--r--. 1 root root 564586 12 déc. 01:39 initrd-plymouth.img
drwx------. 2 root root 16384 3 sept. 2014 lost+found
-rw-r--r--. 1 root root 182704 21 oct. 2014 memtest86+-5.01
-rw-------. 1 root root 3019611 18 mars 05:35 System.map-3.19.1-201.fc21.x86_64
-rw-------. 1 root root 3019896 26 mars 22:45 System.map-3.19.3-200.fc21.x86_64
-rw-------. 1 root root 3020425 20 avril 22:01 System.map-3.19.5-200.fc21.x86_64
-rwxr-xr-x. 1 root root 5139320 3 sept. 2014 vmlinuz-0-rescue-dddc4fc820284d26ac688f2d2a773d32
-rwxr-xr-x. 1 root root 5853176 18 mars 05:35 vmlinuz-3.19.1-201.fc21.x86_64
-rwxr-xr-x. 1 root root 5853752 26 mars 22:45 vmlinuz-3.19.3-200.fc21.x86_64
-rwxr-xr-x. 1 root root 5854456 20 avril 22:01 vmlinuz-3.19.5-200.fc21.x86_64
Il y a donc plusieurs fichiers initramfs-*.imf.old-dkms qui prennent de la place. Est-ce qu'il sont utiles? Puis-je les nettoyer (ou les supprimer) ?
Merci d'avance pour vos réponses (voire vos explications)
Cordialement,