Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
02-18-2010, 10:10 AM
#1
Member
Registered: Feb 2006
Distribution: FC 15
Posts: 41
Rep:
clean up /boot cos it is too full
I have this as a ls in /boot
It (/boot partition) is getting full!
Which of these can I safely delete or move?
[root@fc1264 boot]# ls -l
total 130230
-rw-r--r--. 1 root root 97992 2010-02-11 02:20 config-2.6.31.12-174.2.19.fc12.x86_64
-rw-r--r--. 1 root root 98210 2010-02-11 02:03 config-2.6.31.12-174.2.19.fc12.x86_64.debug
-rw-r--r--. 1 root root 97991 2010-01-18 15:05 config-2.6.31.12-174.2.3.fc12.x86_64
-rw-r--r--. 1 root root 98209 2010-01-18 14:48 config-2.6.31.12-174.2.3.fc12.x86_64.debug
-rw-r--r--. 1 root root 97491 2010-01-21 22:34 config-2.6.31.12-1.rt20.1.fc12.ccrma.x86_64.rt
-rw-r--r--. 1 root root 97490 2009-12-02 18:03 config-2.6.31.6-1.rt19.3.fc12.ccrma.x86_64.rt
-rw-r--r--. 1 root root 97490 2009-12-15 19:51 config-2.6.31.8-1.rt19.1.fc12.ccrma.x86_64.rt
-rw-r--r--. 1 root root 97986 2009-12-21 00:58 config-2.6.31.9-174.fc12.x86_64
-rw-r--r--. 1 root root 98204 2009-12-21 00:26 config-2.6.31.9-174.fc12.x86_64.debug
drwxr-xr-x. 3 root root 1024 2010-01-10 10:36 efi
drwxr-xr-x. 2 root root 1024 2010-02-17 16:39 grub
-rw-r--r--. 1 root root 12607274 2010-02-17 16:39 initramfs-2.6.31.12-174.2.19.fc12.x86_64.debug.img
-rw-r--r--. 1 root root 12548130 2010-02-17 16:38 initramfs-2.6.31.12-174.2.19.fc12.x86_64.img
-rw-r--r--. 1 root root 11795519 2010-01-22 20:22 initramfs-2.6.31.12-174.2.3.fc12.x86_64.debug.img
-rw-r--r--. 1 root root 11735983 2010-01-22 20:23 initramfs-2.6.31.12-174.2.3.fc12.x86_64.img
-rw-r--r--. 1 root root 11546981 2010-01-24 06:54 initramfs-2.6.31.12-1.rt20.1.fc12.ccrma.x86_64.rt.img
-rw-r--r--. 1 root root 11485582 2010-01-10 13:30 initramfs-2.6.31.6-1.rt19.3.fc12.ccrma.x86_64.rt.img
-rw-r--r--. 1 root root 11542409 2010-01-10 13:38 initramfs-2.6.31.8-1.rt19.1.fc12.ccrma.x86_64.rt.img
drwx------. 2 root root 12288 2010-01-10 10:18 lost+found
-rw-r--r--. 1 root root 1872724 2010-02-11 02:20 System.map-2.6.31.12-174.2.19.fc12.x86_64
-rw-r--r--. 1 root root 1934568 2010-02-11 02:03 System.map-2.6.31.12-174.2.19.fc12.x86_64.debug
-rw-r--r--. 1 root root 1872890 2010-01-18 15:05 System.map-2.6.31.12-174.2.3.fc12.x86_64
-rw-r--r--. 1 root root 1934734 2010-01-18 14:48 System.map-2.6.31.12-174.2.3.fc12.x86_64.debug
-rw-r--r--. 1 root root 2032866 2010-01-21 22:34 System.map-2.6.31.12-1.rt20.1.fc12.ccrma.x86_64.rt
-rw-r--r--. 1 root root 2030306 2009-12-02 18:03 System.map-2.6.31.6-1.rt19.3.fc12.ccrma.x86_64.rt
-rw-r--r--. 1 root root 2032530 2009-12-15 19:51 System.map-2.6.31.8-1.rt19.1.fc12.ccrma.x86_64.rt
-rw-r--r--. 1 root root 1872706 2009-12-21 00:58 System.map-2.6.31.9-174.fc12.x86_64
-rw-r--r--. 1 root root 1934550 2009-12-21 00:26 System.map-2.6.31.9-174.fc12.x86_64.debug
-rwxr-xr-x. 1 root root 3429536 2010-02-11 02:20 vmlinuz-2.6.31.12-174.2.19.fc12.x86_64
-rwxr-xr-x. 1 root root 3567456 2010-02-11 02:03 vmlinuz-2.6.31.12-174.2.19.fc12.x86_64.debug
-rwxr-xr-x. 1 root root 3430624 2010-01-18 15:05 vmlinuz-2.6.31.12-174.2.3.fc12.x86_64
-rwxr-xr-x. 1 root root 3567296 2010-01-18 14:48 vmlinuz-2.6.31.12-174.2.3.fc12.x86_64.debug
-rwxr-xr-x. 1 root root 3548352 2010-01-21 22:34 vmlinuz-2.6.31.12-1.rt20.1.fc12.ccrma.x86_64.rt
-rwxr-xr-x. 1 root root 3540896 2009-12-02 18:03 vmlinuz-2.6.31.6-1.rt19.3.fc12.ccrma.x86_64.rt
-rwxr-xr-x. 1 root root 3546464 2009-12-15 19:51 vmlinuz-2.6.31.8-1.rt19.1.fc12.ccrma.x86_64.rt
-rwxr-xr-x. 1 root root 3428960 2009-12-21 00:58 vmlinuz-2.6.31.9-174.fc12.x86_64
-rwxr-xr-x. 1 root root 3567520 2009-12-21 00:26 vmlinuz-2.6.31.9-174.fc12.x86_64.debug
02-18-2010, 10:21 AM
#2
Member
Registered: Feb 2010
Location: usa:/dev/random
Distribution: Slackware, Salix
Posts: 237
Rep:
Fedora initramfs is really 12M? Wow!
Anyway, you'll be fine with one matching set: config initramfs System.map vmlinuz vimlinuz.xx.debug.
Assuming your running with the newest of these, 2.6.31.12, and it's working for you, it's okay to delete all the others.
You need grub/, and I'm not sure what efi/ is, so leave those be...
1 members found this post helpful.
02-18-2010, 10:28 AM
#3
Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 5,192
Type "uname -a" and find out which kernel you're currently running. Presumably that's the one you boot to all of the time.
If so you can probably "safely" remove all of the files not associated with that version. However, rather than simply remove them you should use "rpm -qa |grep <version>" to see if they were installed as part of an RPM (they likely were) then use rpm -e <package> to remove the RPMs so it will clean up the kernels directories as well.
Your list though makes it look like these might have been manual compiles for testing so you might want to find out why they're there before deleting anything.
1 members found this post helpful.
02-18-2010, 11:26 AM
#4
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: back to Arch
Posts: 16,668
I am a bit concerned about how all that got there in the first place....Have you been doing a lot of system upgrades? Re-compiling the kernel?
Here's my /boot (after several system upgrades):
Code:
[mherring@mystical ~]$ cd /boot
[mherring@mystical boot]$ ls -l
total 12172
drwxr-xr-x 2 root root 4096 Jan 31 13:31 grub
-rw-r--r-- 1 root root 7275869 Feb 17 10:20 kernel26-fallback.img
-rw-r--r-- 1 root root 1899872 Feb 17 10:20 kernel26.img
-rw-r--r-- 1 root root 1303637 Feb 9 14:14 System.map26
-rw-r--r-- 1 root root 1972128 Feb 9 14:14 vmlinuz26
[mherring@mystical boot]$ du -sh
13M .
Note that "kernel26*" is Arch's name for the initrd files
Thread Tools
Search this Thread
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
All times are GMT -5. The time now is 02:13 AM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News