CentOS Icon CentOS Logo
CentOS Text
   
  
www.centos.org Forum Index
   CentOS 6 - Software Support
  Error during the 'yum update' (/boot space needed)

 

 Bottom   Previous Topic   Next Topic
  •  Rate Thread
      Rate this Thread
      Excellent
      Good
      Average
      Bad
      Terrible
Poster Thread
  •  numeratanero
      numeratanero
Error during the 'yum update' (/boot space needed)
#1
Newbie
Joined: 2011/10/2
From
Posts: 6
CentOs 6.2, kernel
Command: yum update

Error Summary
-------------
Disk Requirements:
At least 13MB more space needed on the /boot filesystem.

During install there seems no way to configure the /boot filesystem.

>>>> How can I enlarge this? >>>>>
=========================

There alread an topic on the Cent OS 5 forum:
http://cvs.centos.org/modules/newbb/viewtopic.php?topic_id=35875&forum=37
The suggetsion is made to remove older kernels but on mine install there seems
be only one version:

rpm -f kernel
kernel-2.6.32-220.el6.i686
ls -l /boot
total 34608
-rw-r--r--. 1 root root   105744 Dec  6 08:59 config-2.6.32-220.el6.i686
drwxr-xr-x. 3 root root     1024 Mar 21 05:16 efi
drwxr-xr-x. 2 root root     1024 Mar 21 04:22 grub
-rw-r--r--. 1 root root 14731222 Mar 21 05:19 initramfs-2.6.32-220.el6.i686.img
-rw-r--r--. 1 root root 14771220 Mar 21 05:22 initrd-2.6.32-220.el6.i686.img
drwx------. 2 root root    12288 Mar 21 05:11 lost+found
-rw-r--r--. 1 root root   168173 Dec  6 08:59 symvers-2.6.32-220.el6.i686.gz
-rw-r--r--. 1 root root  1823458 Dec  6 08:59 System.map-2.6.32-220.el6.i686
-rwxr-xr-x. 1 root root  3811616 Dec  6 08:59 vmlinuz-2.6.32-220.el6.i686
[Moderator edit: Added code tags to preserve formatting.]
Posted on: 2012/3/21 12:57
Create PDF from Post Print
Top
  •  pschaff
      pschaff
Re: Error during the 'yum update' (/boot space needed)
#2
Moderator
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
A default install of CentOS-6 will allocate 500MB for /boot. Apparently you did not take the defaults. Changing the partitioning at this point is non-trival, and a fresh install might be easiest if you have not got too much invested.

If more help is needed then please provide more information about your system by running "./getinfo.sh disk" and showing us the output file.
_________________
Phil

Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions
Posted on: 2012/3/22 0:28
Create PDF from Post Print
Top
  •  TrevorH
      TrevorH
Re: Error during the 'yum update' (/boot space needed)
#3
Moderator
Joined: 2009/9/24
From Brighton, UK
Posts: 6372
Your /boot must be very small and I'm going to guess that you are running in a VMWare VM and you told it that you were using RHEL/Centos 6 when you created the machine. Their "easy" install only allocates 50MB to /boot and this is nothing like enough.

There are a couple of things you could try if a reinstall is not possible. First I see that you have both initramfs and initrd files for the same kernel and I would guess that only one of those is needed - which one that is will be in /boot/grub/grub.conf and you can probably remove the other. The second thing you can do is to edit /etc/dracut.conf and uncomment the "hostonly" line and set it to "yes". This tells dracut to only include the drivers required for this machine and its current hardware and not the "kitchen sink" approach that it normally uses which ends up adding about 10MB to the size of the initr* file. You will need to rebuild the initrd/initramfs by rerunning dracut after making that change to have it take effect.

All of these actions have the possibility, slight though it may be, of rendering your machine unbootable so you should not do them if you have any data on this machine that you do not currently have backed up.
_________________
Linux/VoIP Systems Administrator
Posted on: 2012/3/22 2:18
Create PDF from Post Print
Top
  •  numeratanero
      numeratanero
Re: Error during the 'yum update' (/boot space needed)
#4
Newbie
Joined: 2011/10/2
From
Posts: 6
Quote:

TrevorH wrote:
Your /boot must be very small and I'm going to guess that you are running in a VMWare VM and you told it that you were using RHEL/Centos 6 when you created the machine. Their "easy" install only allocates 50MB to /boot and this is nothing like enough.


Hi Trevor,

yes that is exactly how it is installed, I'll do a clean install in a different way.

thanks
Rob
Posted on: 2012/3/22 9:01
Create PDF from Post Print
Top
 Top   Previous Topic   Next Topic

 


 You cannot start a new topic.
 You can view topic.
 You cannot reply to posts.
 You cannot edit your posts.
 You cannot delete your posts.
 You cannot add new polls.
 You cannot vote in polls.
 You cannot attach files to posts.
 You cannot post without approval.




"Linux" is a registered trademark of Linus Torvalds. | All other trademarks are property of their respective owners. | All other content is Copyright @ 2004-2009 by the CentOS Project or "each individual contributor (forums, comments, etc.) unless otherwise assigned".| Theme based on a theme by 7dana.com