Review your favorite Linux distribution.
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 10-27-2004, 07:37 PM   #1
LQ Newbie
Registered: Oct 2004
Posts: 4

Rep: Reputation: 0
2.4 kernel ok but how do I remove the problematic attempts?

I have a 2.4 kernel that works OK but I wanted to compile a new kernel. Many problems and no success later, I want to erase all the various subdirectories for all the new stuff in /usr/src/*.* but how do I erase all? It seemed I couldn;t erase non-empty directories and now I can;t erase kernel dirs. I want to start again with some other method. I am sick of it.

It is debian by the way. I would like to try 2.6.6

Jim NIelsen in Toronto
Old 10-27-2004, 08:02 PM   #2
Simon Bridge
LQ Guru
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Upgrading the Kernel is one of the steepest learning curves in Linux. It helps to have a guru on hand while you do this and also to read everything there is on the process... and I do mean EVERYTHING.

You can erase the directories the usual way but you must be root.

#rm -d <directory>

Make sure you are not erasing the directories controlling your active Kernel. Remember to also remove any bootloader references as well.

I suspect you'll have trouble with the 2.6 kernel as well... the process is similar but there are more fiddly bits.

When in trouble... read the documentation. In this case:
%man rm
%man rmdir

this will tell all about removing the dircetory.



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
What should I do Problematic Inspiron 6000 derrekito Linux - Laptop and Netbook 1 09-20-2005 02:28 PM
problematic case statement alaios Programming 4 08-24-2005 10:05 AM
Gentoo install...Problematic whoever Linux - Newbie 15 08-09-2005 12:44 PM
udev 064 still problematic xushi Slackware 6 07-27-2005 03:14 PM
newb needs help with some problematic hardware sgcam2000 Debian 3 06-24-2004 04:47 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:41 PM.

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