Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 08-07-2006, 10:45 PM   #1
Registered: Jun 2006
Location: Calgary, Alberta
Distribution: Fedora Core 6
Posts: 43

Rep: Reputation: 15
Post Proper Steps to clean up Kernel Listing in GRUB

Hi all, I am just looking to find out if the following steps are the ones required to properly remove a kernel listing on the grub screen at bootup.

Remove all files with the specific kernel listing from /boot/

edit /boot/grub/grub.conf removing the entry I longer required.

Is there any directories I also need to look into and remove?

Thanks, Dan
Old 08-08-2006, 12:01 AM   #2
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
The kernel itself is installed in /usr/src. Be very carefull that you delete the correct one.
Old 08-08-2006, 12:22 AM   #3
Senior Member
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD, Raspbian, Arch
Posts: 2,283

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Originally Posted by bigrigdriver
The kernel itself is installed in /usr/src.
The kernel source would usually be found there, along with object files left over from a compile. You're going to also have a bunch of modules under /lib/modules. Probably some stuff under /usr/share/doc as well.

If you installed the kernel via your distro's package management system, your can probably cleanly remove it using the same. I did that with Debian a few times.
Old 08-08-2006, 01:16 AM   #4
Registered: Mar 2005
Location: Winnipeg, MB
Distribution: Raspbian, Debian, Slackware, OS X
Posts: 443
Blog Entries: 9

Rep: Reputation: 32
If you just want to remove the listing from Grub, all you need to do is Remove or #Comment out it's entry in the menu.lst/grub.conf

If you want to completely remove the kernel. Be careful -- you don't want to accidentally remove the kernel that you need -- and look in /lib/modules/`kernel version` /boot/[config,,vmlinuz]-`kernel version` and /usr/src/linux-`kernel version`


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need detailed steps for GRUB 0.92 to load 3 OS' TedtheRushFan General 2 04-15-2005 07:55 AM
Proper steps to upgrade machiner Linux - Distributions 1 09-27-2004 01:53 PM
How do you clean up grub? escargot22026 Slackware 7 08-06-2004 01:48 PM
Proper steps for installing software using "Wine" ? dolphans1 Mandriva 6 07-10-2004 11:16 AM
proper way to dual-boot using grub bencpht Linux - General 7 09-05-2003 03:07 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:19 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration