LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 10-27-2004, 06:37 PM   #1
jsnto
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

Thanks
Jim NIelsen in Toronto
 
Old 10-27-2004, 07: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.

Simon
 
  


Reply


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 01:28 PM
problematic case statement alaios Programming 4 08-24-2005 09:05 AM
Gentoo install...Problematic whoever Linux - Newbie 15 08-09-2005 11:44 AM
udev 064 still problematic xushi Slackware 6 07-27-2005 02:14 PM
newb needs help with some problematic hardware sgcam2000 Debian 3 06-24-2004 03:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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