I am trying to upgrade my fedora system (21 → 22) using fedup. I removed all old kernels using package-cleanup
but fedup still needs 2MB
more on /boot
.
These are the files in /boot
:
-rw-r--r--. 1 root root 153K Sep 22 17:52 config-4.1.8-100.fc21.x86_64
drwxr-xr-x. 4 root root 1.0K May 25 09:38 efi
-rw-r--r--. 1 root root 181K Oct 21 2014 elf-memtest86+-5.01
drwxr-xr-x. 2 root root 3.0K May 25 09:47 extlinux
drwxr-xr-x. 6 root root 1.0K Oct 23 13:32 grub2
-rw-------. 1 root root 38M Aug 18 2014 initramfs-0-rescue-91b91d0aa1ed43eab9d2bcf5b8669540.img
-rw-r--r--. 1 root root 19M Oct 11 11:58 initramfs-4.1.8-100.fc21.x86_64.img
-rw-r--r--. 1 root root 41M May 22 05:12 initramfs-fedup.img
-rw-r--r--. 1 root root 552K May 25 09:51 initrd-plymouth.img
drwx------. 2 root root 12K Aug 18 2014 lost+found
-rw-r--r--. 1 root root 179K Oct 21 2014 memtest86+-5.01
-rw-------. 1 root root 3.0M Sep 22 17:52 System.map-4.1.8-100.fc21.x86_64
-rwxr-xr-x. 1 root root 5.0M Aug 18 2014 vmlinuz-0-rescue-91b91d0aa1ed43eab9d2bcf5b8669540
-rwxr-xr-x. 1 root root 5.7M Sep 22 17:52 vmlinuz-4.1.8-100.fc21.x86_64
-rw-r--r--. 1 root root 5.7M May 21 18:46 vmlinuz-fedup
initramfs-0-rescue-...
is taking up the maximum space. This was created when I upgraded my OS from last version (fedora 20). I guess this file can be removed. Is there a way to remove this without manually deleting using rm
? If not this file, which other file can be safely deleted (there is a folder called /efi/EFI/fedora/fonts
, but I think the rescue files are the most dispensable)?