View Full Version : Fedora 10 to 12 Upgrade Fails With Low disk space detected in /boot

7th March 2010, 05:11 AM

A friend recently "wiped" my Sony VAIO and installed Fedora 10 on it for me.

Last night the system notified me of an available upgrade to Fedora 12 which I started.
The following stages were successful
Download Release Info
Download Installer Images
Determine Which Packages To Download

During the Download Packages stage the following message displayed :
Low disk space detected in /boot
We recommend that you free up 589.0kB by deleting old kernels or the upgrade may not run.
Note: If the upgrade fails due to low diskspace, your system will not be damaged.
with the only options available being CHECK AGAIN or QUIT

I retried the upgrade using the PREUPGRADE command but again the same message displayed.

In the terminal window the following displayed :
Available disk space for /var/cache/yum/preupgrade: 96.6GB
Upgrade requires 500.0MB
Available disk space for /usr: 95.5GB
Kernel requires 26.0MB
Available disk space for /boot: 25.4MB

The following is what I have been able to determine about my system

drwxr-xr-x 5 root root 1024 2010-03-07 12:57 boot

[root@fedora-vaio boot]# ls -l
total 7301
-rw-r--r-- 1 root root 90904 2009-12-11 03:09 config-
drwxr-xr-x 3 root root 1024 2010-02-27 01:31 efi
drwxr-xr-x 2 root root 1024 2010-03-07 12:57 grub
-rw------- 1 root root 3648270 2010-02-27 01:56 initrd-
drwx------ 2 root root 12288 2010-02-26 23:59 lost+found
-rw-r--r-- 1 root root 1094814 2009-12-11 03:09 System.map-
-rwxr-xr-x 1 root root 2585072 2009-12-11 03:09 vmlinuz-

I searched the web to find out how to correct the problem and the only thing I could find was to
delete "old kernels".
I searched the web and found what commands to use to get kernel information which is below

[root@fedora-vaio boot]# uname -r

[root@fedora-vaio boot]# rpm -qa kernel

So there are no kernels to delete to bring space back to /boot.

I would appreciate any suggestions on what to do next.

Many thanks in advance

John J

---------- Post added at 03:11 PM CST ---------- Previous post was at 03:00 PM CST ----------

I have just found the WIKI Preupgrade /Boot posting at

I'll follow the instructions there to see if I can get past the problem.


John J

7th March 2010, 08:42 AM
The Release Guide suggests at least 300 MB for /boot and preupgrade has a bug in checking the size:

https://fedoraproject.org/wiki/Common_F12_bugs#Preupgrade_free_space_check_on_.2F boot_not_thorough

7th March 2010, 09:11 AM
My upgrade finished processing successfully about 10 minutes ago - from the link I mentioned above I ran the command - tune2fs -r 0 /dev/sda1 - to remove the blocks that had been reserved.

CSchwangler, thank you for your reply - I'll check out the link you mentioned and keep it bookmarked for future upgrades.

Thanks again