LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   2.4 kernel ok but how do I remove the problematic attempts? (https://www.linuxquestions.org/questions/linux-newbie-8/2-4-kernel-ok-but-how-do-i-remove-the-problematic-attempts-248146/)

jsnto 10-27-2004 06:37 PM

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

Simon Bridge 10-27-2004 07:02 PM

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


All times are GMT -5. The time now is 05:34 PM.