the machine needs to be as lean as possible so anything unwanted has to go, including 1-2 meg old kernels and their associated files
Main Topics
Browse All TopicsHi,
My debian sys has filled up after Ive spent 2 days playing around with custom kernels, I now have 6 on my system and would like to completely remove all but one. Can someone please give me the comands and processes I need to do to achive this. Provisional points are 250 only cos ive got no idea what is involved. if its a lot i will boost to max.
(the sis only has a 3gig disk so I really want to clean deep)
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Look at your bootloader menu. Take a note of the kernel you wish to keep. Delete the other kernels in /boot and modify your grub.conf/lilo.conf to remove entries pointing to kernels you have deleted. For grub that should be all. For lilo you will have to run the command lilo to install the new boot sector.
Business Accounts
Answer for Membership
by: owensleftfootPosted on 2004-06-21 at 15:40:28ID: 11364528
You wont save much space simply deleting unwanted kernels - they range between 1 - 2 meg. What does df -h show you?