Cuando inicio el sistema, aparece un mensaje de error que dice que /boot
está lleno. Además, cuando lo intento dnf upgrade
, aparece un Transaction test error
mensaje que dice que kernel-core-5.5.10-200.fc31.x86_64
se necesitan 38 MB /boot
.
Ya lo usé sudo dnf remove <old kernels>
dos veces porque rpm -qa kernel
me mostraron tres kernels diferentes, así que dejé solo el que estoy usando ahora.
Intenté usarlo package-cleanup --oldkernels --count=2
pero por alguna razón me dice que la --oldkernels
opción no está disponible:
package-cleanup has to be executed with one of the options: --dupes, --leaves, --orphans, --problems or --cleandupes
.
Este es mi ls -Shla /boot
:
total 218M
-rw-------. 1 root root 80M 03-16 01:07 initramfs-0-rescue-4251ae127a3e4220b94ebab6645dba6c.img
-rw-------. 1 root root 31M 03-16 01:08 initramfs-5.3.7-301.fc31.x86_64.img
-rw-------. 1 root root 29M 03-19 09:06 initramfs-5.5.9-200.fc31.x86_64.img
-rw-------. 1 root root 27M 03-16 04:40 initramfs-5.5.8-200.fc31.x86_64.img
-rwxr-xr-x. 1 root root 11M 03-05 22:42 vmlinuz-5.5.8-200.fc31.x86_64
-rwxr-xr-x. 1 root root 11M 03-12 15:10 vmlinuz-5.5.9-200.fc31.x86_64
-rwxr-xr-x. 1 root root 8,9M 03-16 01:08 vmlinuz-0-rescue-4251ae127a3e4220b94ebab6645dba6c
-rwxr-xr-x. 1 root root 8,9M 10-21 21:34 vmlinuz-5.3.7-301.fc31.x86_64
-rw-------. 1 root root 4,9M 03-12 15:09 System.map-5.5.9-200.fc31.x86_64
-rw-------. 1 root root 4,9M 03-05 22:42 System.map-5.5.8-200.fc31.x86_64
-rw-------. 1 root root 4,3M 10-21 21:33 System.map-5.3.7-301.fc31.x86_64
-rw-r--r--. 1 root root 213K 03-05 22:42 config-5.5.8-200.fc31.x86_64
-rw-r--r--. 1 root root 213K 03-12 15:09 config-5.5.9-200.fc31.x86_64
-rw-r--r--. 1 root root 209K 10-21 21:33 config-5.3.7-301.fc31.x86_64
-rw-r--r--. 1 root root 181K 2019-08-02 elf-memtest86+-5.01
-rw-r--r--. 1 root root 179K 2019-08-02 memtest86+-5.01
drwx------. 6 root root 16K 1970-01-01 efi
drwx------. 2 root root 12K 03-16 01:05 lost+found
dr-xr-xr-x. 18 root root 4,0K 03-16 05:29 ..
drwxr-xr-x. 2 root root 3,0K 10-24 01:12 extlinux
dr-xr-xr-x. 7 root root 1,0K 03-19 09:06 .
drwx------. 3 root root 1,0K 01-13 18:14 grub2
drwxr-xr-x. 3 root root 1,0K 03-16 01:07 loader
-rw-r--r--. 1 root root 166 10-21 21:30 .vmlinuz-5.3.7-301.fc31.x86_64.hmac
-rw-r--r--. 1 root root 166 03-05 22:40 .vmlinuz-5.5.8-200.fc31.x86_64.hmac
-rw-r--r--. 1 root root 166 03-12 15:07 .vmlinuz-5.5.9-200.fc31.x86_64.hmac
Además, cuando estaba asignando espacio para /boot
la partición durante la instalación, lo configuré en 250 MiB.
¿Cómo debería solucionarlo? ¿Debo eliminar algunos de estos archivos, usar algún comando mágico o tal vez algo más?