PDA

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



johnj
7th March 2010, 05:11 AM
Hi

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-2.6.27.41-170.2.117.fc10.i686
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-2.6.27.41-170.2.117.fc10.i686.img
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-2.6.27.41-170.2.117.fc10.i686
-rwxr-xr-x 1 root root 2585072 2009-12-11 03:09 vmlinuz-2.6.27.41-170.2.117.fc10.i686

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
2.6.27.41-170.2.117.fc10.i686

[root@fedora-vaio boot]# rpm -qa kernel
kernel-2.6.27.41-170.2.117.fc10.i686

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
Melbourne

---------- 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
http://fedoraproject.org/wiki/PreUpgrade#Not_enough_space_in_.2Fboot

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

Thanks

John J

CSchwangler
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

johnj
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