fedora 22 /boot insufficient disk space
Hello: I recently started the upgrade process in my server, to go from Fedora 21 to 21. After updating all packages in Fedora 21, I executed fedup --network 22. All packages were downloaded, but in the end, the upgrade transaction test failed, giving this error:
Importing GPG key 0x8E1431D5:
Userid : "Fedora (22) <fedora@fedoraproject.org>"
Fingerprint: c527 ea07 a934 9b58 9c35 e1bf 11ad c094 8e14 31d5
Package : fedora-repos-21-2.noarch (installed)
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-22-i386
testing upgrade transaction
rpm transaction 100% [=================================================================================================]
Upgrade test failed with the following problems:
insufficient disk space:
/boot needs 34M more free space
fedup ERROR: Upgrade test failed.
I had previously cleaned my /boot by removing old kernel packages. These are the contents of my /boot directory at the time of the upgrade:
total 138427
dr-xr-xr-x. 4 root root 3072 Jul 10 09:24 .
dr-xr-xr-x. 24 root root 4096 Jul 10 08:56 ..
-rw-r--r-- 1 root root 154450 Apr 13 19:25 config-3.19.4-200.fc21.i686
-rw-r--r-- 1 root root 152913 Apr 13 19:08 config-3.19.4-200.fc21.i686+PAE
-rw-r--r-- 1 root root 156521 Jun 23 11:44 config-4.0.6-200.fc21.i686
-rw-r--r-- 1 root root 154722 Jun 23 11:28 config-4.0.6-200.fc21.i686+PAE
drwxr-xr-x. 6 root root 1024 Jul 10 09:24 grub2
-rw-------. 1 root root 36063992 Aug 20 2014 initramfs-0-rescue-a08265a695fd4842b886e34c05485ee7.img
-rw-r--r-- 1 root root 17793455 Jul 2 09:52 initramfs-4.0.6-200.fc21.i686.img
-rw-r--r-- 1 root root 17810181 Jul 2 09:50 initramfs-4.0.6-200.fc21.i686+PAE.img
-rw-r--r-- 1 root root 41117900 May 21 20:01 initramfs-fedup.img
-rw-r--r--. 1 root root 566934 Dec 16 2014 initrd-plymouth.img
drwx------. 2 root root 12288 Aug 20 2014 lost+found
-rw------- 1 root root 2359058 Jun 23 11:44 System.map-4.0.6-200.fc21.i686
-rw------- 1 root root 2393823 Jun 23 11:28 System.map-4.0.6-200.fc21.i686+PAE
-rwxr-xr-x. 1 root root 5115056 Aug 20 2014 vmlinuz-0-rescue-a08265a695fd4842b886e34c05485ee7
-rw-r--r-- 1 root root 165 Apr 13 19:25 .vmlinuz-3.19.4-200.fc21.i686.hmac
-rw-r--r-- 1 root root 169 Apr 13 19:08 .vmlinuz-3.19.4-200.fc21.i686+PAE.hmac
-rwxr-xr-x 1 root root 5735200 Jun 23 11:44 vmlinuz-4.0.6-200.fc21.i686
-rw-r--r-- 1 root root 164 Jun 23 11:44 .vmlinuz-4.0.6-200.fc21.i686.hmac
-rwxr-xr-x 1 root root 5824384 Jun 23 11:28 vmlinuz-4.0.6-200.fc21.i686+PAE
-rw-r--r-- 1 root root 168 Jun 23 11:28 .vmlinuz-4.0.6-200.fc21.i686+PAE.hmac
-rw-r--r-- 1 root root 5744048 May 21 10:49 vmlinuz-fedup
My question is: what can I remove/delete to regain the requested 34Mbyte of space? Currently, the directory is showing 27 Mbytes of free space
Also, empty your lost+found/
Yes! There should never be anything in there as it's just a place to store inodes that have been recovered. Also, give us the results of this command:
df -h /boot
because it's possible that /boot isn't big enough for what you need. Last, what are all those files with .hmac doing there except for wasting needed space?Just noticing that the config for 3.19.4 kernels are still around. Delete those. Finis!