Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 3rd May 2012, 03:11 AM
BdclrzktUv Offline
Registered User
 
Join Date: Jan 2010
Posts: 18
windows_xp_2003firefox
kernel build afterward clean-up

i upgraded my fedora 16 from 3.2.7.1 to 3.3.3

i tried the rpm way and then the simple download kernel compile, install way. i found the rpm way a bit awkward.

now i'd like to grab some disk space back.

is it safe to just remove the /grub/vmlinuz, etc., not being used along with each related /usr/src/kernel/<version> not being used?

the one time i used the rpm way to install new kernel, is there a rpm way to zap the files it installed? **i'm not using that kernel.

and, i guess edit out, using grub tools, a few "menuentry" in /boot/grub2/grub.cfg
Reply With Quote
  #2  
Old 3rd May 2012, 03:46 AM
diamond_ramsey's Avatar
diamond_ramsey Offline
Registered User
 
Join Date: Aug 2009
Posts: 752
linuxfirefox
Re: kernel build afterward clean-up

Quote:
Originally Posted by BdclrzktUv View Post
i upgraded my fedora 16 from 3.2.7.1 to 3.3.3

i tried the rpm way and then the simple download kernel compile, install way. i found the rpm way a bit awkward.

now i'd like to grab some disk space back...
How much is disk space is being used? May be post your df -k output.

Code:
[root@localhost boot]# df -k
Filesystem                   1K-blocks    Used Available Use% Mounted on
rootfs                         4969812 3060000   1860024  63% /
devtmpfs                       4078664       0   4078664   0% /dev
tmpfs                          4089512      76   4089436   1% /dev/shm
/dev/mapper/VolGroup-lv_root   4969812 3060000   1860024  63% /
tmpfs                          4089512   50880   4038632   2% /run
tmpfs                          4089512       0   4089512   0% /sys/fs/cgroup
tmpfs                          4089512       0   4089512   0% /media
/dev/sda2                       508745   50700    432445  11% /boot
Quote:
Originally Posted by BdclrzktUv View Post
...is it safe to just remove the /grub/vmlinuz, etc., not being used along with each related /usr/src/kernel/<version> not being used?

the one time i used the rpm way to install new kernel, is there a rpm way to zap the files it installed? **i'm not using that kernel...
I would make sure that the /boot/vmlinuz*, do you know the exact kernel you are using?

Quote:
Originally Posted by BdclrzktUv View Post
and, i guess edit out, using grub tools, a few "menuentry" in /boot/grub2/grub.cfg
================================================== ==============
Code:
[root@localhost boot]# uname -airvn
Linux localhost.localdomain 3.3.4-1.fc16.x86_64 #1 SMP Fri Apr 27 20:12:28 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
[root@localhost boot]# ls -latr
total 25155
drwxr-xr-x.  2 root root     1024 Nov  3 11:29 grub
drwxr-xr-x.  3 root root     1024 Nov  3 11:30 efi
drwx------.  2 root root    12288 Dec  8 00:46 lost+found
-rw-r--r--.  1 root root   176760 Dec  8 07:55 memtest86+-4.20
-rw-r--r--.  1 root root   178436 Dec  8 07:55 elf-memtest86+-4.20
-rw-r--r--.  1 root root   593544 Dec 28 10:35 initrd-plymouth.img
dr-xr-xr-x. 22 root root     4096 Feb 13 09:59 ..
-rw-------.  1 root root  2409022 Apr 28 05:30 System.map-3.3.4-1.fc16.x86_64
-rw-r--r--.  1 root root   118144 Apr 28 05:30 config-3.3.4-1.fc16.x86_64
-rw-r--r--.  1 root root      164 Apr 28 05:30 .vmlinuz-3.3.4-1.fc16.x86_64.hmac
-rwxr-xr-x.  1 root root  4674944 Apr 28 05:30 vmlinuz-3.3.4-1.fc16.x86_64
dr-xr-xr-x.  6 root root     1024 Apr 30 10:22 .
-rw-r--r--.  1 root root 17563029 Apr 30 10:22 initramfs-3.3.4-1.fc16.x86_64.img
drwxr-xr-x.  3 root root     7168 Apr 30 10:22 grub2
[root@localhost boot]# ls -latr /boot/vmlinuz-*
-rwxr-xr-x. 1 root root 4674944 Apr 28 05:30 /boot/vmlinuz-3.3.4-1.fc16.x86_64
================================================== ==============
__________________
2 dual cores, 11 GB RAM, F14 Laughlin - 2.6.35.14-106.fc14.x86_64 & 2.6.35.14-106.fc14.i686.PAE
2 dual cores, 11 GB RAM, F15 Lovelock - 2.6.43.8-2.fc15.x86_64 & 2.6.43.8-2.fc15.i686
3 dual cores, 19 GB RAM, F16 Verne - 3.6.2-1.fc16.x86_64 & 3.6.2-1.fc16.i686
2 dual cores, 11 GB RAM, F17 Beefy Miracle - 3.6.2-4.fc17.x86_64 / .i686
16 x86_64 computing cores,80 GB RAM & 8 SATA Seagate 7200.12 500 GB harddisks
Reply With Quote
  #3  
Old 3rd May 2012, 07:21 AM
BdclrzktUv Offline
Registered User
 
Join Date: Jan 2010
Posts: 18
linuxfirefox
Re: kernel build afterward clean-up

Code:
Filesystem                         1K-blocks     Used Available Use% Mounted on
rootfs                              49806064 34158432  13152352  73% /
devtmpfs                              487024        0    487024   0% /dev
tmpfs                                 497696       84    497612   1% /dev/shm
/dev/mapper/vg_fed1664xfce-lv_root  49806064 34158432  13152352  73% /
tmpfs                                 497696    50072    447624  11% /run
tmpfs                                 497696        0    497696   0% /sys/fs/cgroup
tmpfs                                 497696        0    497696   0% /media
/dev/sda2                             508745   113776    369369  24% /boot
exact kernel, vmlinuz-3.3.3.x86_64

there are a couple of vmlinuz-3.2.x.x that i would like to remove since i'm not using them.

i see what i can remove now. appreciate your post. thanks
Reply With Quote
Reply

Tags
afterward, build, cleanup, kernel

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel Clean Up TheMixtureMedia Using Fedora 3 21st December 2007 01:29 AM
How to clean up old kernel files ? overule Using Fedora 9 23rd August 2005 05:42 PM
kernel make clean and backup alphonsebrown Using Fedora 9 28th March 2005 11:07 AM
Clean FC3 Install -> need to run FC2 kernel! Virtucon EOL (End Of Life) Versions 4 2nd December 2004 11:48 PM


Current GMT-time: 22:31 (Wednesday, 19-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat