/boot directory out of space

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat /boot directory out of space
# 1  
Old 02-02-2009
/boot directory out of space

We applied updates on saturday and noted that we have used 97% of our /boot directory. How can I tell what files i can keep or get rid of in this directory? or how can I increase the size of this partition.



Red Hat Enterprise Linux ES release 3 (Taroon Update 9)
2.4.21-57.ELsmp

Thank you in advance.
# 2  
Old 02-02-2009
How big is your /boot directory?

You just need to remove the old kernels that you have hanging around.
I normally keep the latest 2 just in case.
# 3  
Old 02-02-2009
Yeah, as previous poster said you should clean up the old kernel files.

Normally /boot should have enough room as long as you gave 100MB during install.

But you still can extend (I think on this) or convert FS type (done it) of the partition later. You may need to run grub-install if the partition is overwritten.
# 4  
Old 02-02-2009
My /boot directory is 97 megs

as far as cleanup, I have these files from 2006 I should be able to remove these for space?

-rw-r--r-- 1 root root 1367761 Jul 5 2006 vmlinuz-2.4.21-47.ELsmp
-rw-r--r-- 1 root root 607622 Jul 5 2006 System.map-2.4.21-47.ELsmp
-rw-r--r-- 1 root root 49066 Jul 5 2006 config-2.4.21-47.ELsmp
-rwxr-xr-x 1 root root 3551888 Jul 5 2006 vmlinux-2.4.21-47.ELsmp
-rw-r--r-- 1 root root 1260020 Jul 5 2006 vmlinuz-2.4.21-47.EL
-rw-r--r-- 1 root root 580154 Jul 5 2006 System.map-2.4.21-47.EL
-rw-r--r-- 1 root root 48951 Jul 5 2006 config-2.4.21-47.EL
-rwxr-xr-x 1 root root 2912720 Jul 5 2006 vmlinux-2.4.21-47.EL
-rw-rw-r-- 1 root root 259332 Jul 20 2006 initrd-2.4.21-47.ELsmp.img
-rw-rw-r-- 1 root root 253408 Jul 20 2006 initrd-2.4.21-47.EL.img
-rw-r--r-- 1 root root 1368127 Oct 13 2006 vmlinuz-2.4.21-47.0.1.ELsmp
-rw-r--r-- 1 root root 607622 Oct 13 2006 System.map-2.4.21-47.0.1.ELsmp
-rw-r--r-- 1 root root 49066 Oct 13 2006 config-2.4.21-47.0.1.ELsmp
-rwxr-xr-x 1 root root 3551892 Oct 13 2006 vmlinux-2.4.21-47.0.1.ELsmp
-rw-r--r-- 1 root root 1260061 Oct 13 2006 vmlinuz-2.4.21-47.0.1.EL
-rw-r--r-- 1 root root 580154 Oct 13 2006 System.map-2.4.21-47.0.1.EL
-rw-r--r-- 1 root root 48951 Oct 13 2006 config-2.4.21-47.0.1.EL
-rwxr-xr-x 1 root root 2912724 Oct 13 2006 vmlinux-2.4.21-47.0.1.EL
-rw-r--r-- 1 root root 254803 Oct 20 2006 initrd-2.4.21-47.0.1.EL.img
-rw-r--r-- 1 root root 260801 Oct 20 2006 initrd-2.4.21-47.0.1.ELsmp.img

Last edited by redac; 02-02-2009 at 03:42 PM..
# 5  
Old 02-02-2009
Find out what kernel you're using. 'cat /proc/version'
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Handle space in directory name

I have two servers in subject, say server1 and server2. I have shell scripts on server1. We have a directory on server2 from where the files need to be scp to server1. The directory on server2 is having space in its name. I have script on server1 that takes the directory path of server2 as a... (4 Replies)
Discussion started by: Longfellow
4 Replies

2. UNIX for Dummies Questions & Answers

Display all directory/sub directory with occupied space?

Hello, I am using Red Hat linux system. I see my /work directory has used space 300GB. But there are so many sub directory under /work. I want to list each direcotry and under all subdirectory. But i want to know how much space occupied by each directory. What kind of command i can use to... (3 Replies)
Discussion started by: govindts
3 Replies

3. UNIX for Dummies Questions & Answers

Adding space to a directory?

I need to add space to certain directory. I believe I need to add space to the filesystem this directory belongs to. How can I find out what filesystem this directory belongs to? (3 Replies)
Discussion started by: NycUnxer
3 Replies

4. Shell Programming and Scripting

for i in `find *` breakdown since the directory name has space

hey, somebody can help me on this broken script? for i in `find . -name index.html`;do echo "$i" awk '{print $0}' $i done the path to index.html has space in it. For example, ./10 October/index.html then echo "$i" will gives two lines instead of one: ./10 October/index.html how do... (3 Replies)
Discussion started by: patiobarbecue
3 Replies

5. UNIX for Dummies Questions & Answers

Space issue with Directory

Hi, How can I check whether a directory has enough space to create file? I have checked the space is availabe in the file system. For example: the directory /var/tmp resides in root file system. In the root file system currently 20% (5.5gb) space availabe. but how can I check the in the /var/tmp,... (1 Reply)
Discussion started by: siba.s.nayak
1 Replies

6. UNIX for Dummies Questions & Answers

Root directory full, system does not boot

Hi, I have an SGI workstation running on Irix 6.5. A few days ago the system started giving messages that the root directory is full. Even before I could find out how to clean up the root directory, the system crashed and does not boot anymore. Can anyone help me on how I can get the system to... (1 Reply)
Discussion started by: gnanavvk
1 Replies

7. Filesystems, Disks and Memory

Space Used by Directory Tree

Can someone tell me how I can determine how much space (blocks) have been used by a given directory tree? I periodically need to know how much space is consumed by a directory and all of its files and subdirectories and their files in either KB or blocks. I have tried df and du but these do not... (1 Reply)
Discussion started by: johnk99
1 Replies

8. Shell Programming and Scripting

Check directory space?

Is there some command I can use to check to see if there is 2 Gig of space available in a directory before I created a 2 Gig file? (3 Replies)
Discussion started by: lesstjm
3 Replies

9. UNIX for Advanced & Expert Users

Space in the directory name

I've got a small script that deletes all the trash from mailusers Trash directory. I run this script once in a while to make some space. (We have lots of IMAP users, who keep their mail on server!) Occansionaly, the users create directories with space in the name (e.g. "My Mail"). And sometimes... (5 Replies)
Discussion started by: nitin
5 Replies

10. UNIX for Dummies Questions & Answers

Space left under current directory

What utility (or combination of utilities) can I use to find out how much disk space a directory and its subdirectories take up. I currently am using 'df' to see partition space/size, 'ls' doesn't seem like displaying directory info TIA SmartJuniorUnix (2 Replies)
Discussion started by: SmartJuniorUnix
2 Replies
Login or Register to Ask a Question