Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am trying to install updates and get an error indicating the /boot space hasn't enough space. What files can I delete from this directory? There are a lot of .img, .EL and .ELsmp files in it that take up a good deal of space.
ok, well you don't need any vmlinuz files that aren't matched by the uname output, but where on earth did these all come from? are you actually on an smp system (multiple cpus?) if this is an rpm based system you should uninstall the package that put them there in the first place. ultimately though you could just delete them if they are not there from rpm's. maybe you've just been applying standard updates wihtout managing your system correctly...
All these files were put in place as a result of running the up2date program from RH that automatically updates the system. What is the best way of dealing with these files, or where can I go to read about getting rid of them?
Just delete them, as acid stated - "uname -r " will tell you which you current kernel is. Then delete all the vmlinuz files that don't match the output, all the config files that don't match, and all the initrds that don't match. That should clear plenty of space!
I would like to add 2 cents here. I would suggest leaving 1 previous version's files in /boot at all times. You never know when your current kernel may develop some weirdness and you need to boot up with a previous kernel. Once you delete these files, you will not be able to go backwards. Leaving just one at least gives you what you use to have previously. Also, if you use grub or lilo and you have a huge menu with all these versions as options, you may want to go through your grub.conf or lilo.conf and remove the ones you are removing from /boot.
fyi, I've _never_ seen a server with soooo many options in /boot. Wow.
Added:
Btw, You may not want to delete your SMP files for your current kernel. I see your running 686 SMP now, which means maybe your server has Hyperthreading turned on...which depending on the Linux shows up as a multi-cpu machine (to take advantage of the threading).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.