Click to See Complete Forum and Search --> : post 2.4 kernel compilation...what do i do with the "linux" directory?


complication
08-17-2001, 02:41 PM
When I compiled my kernel (2.4.8) i did everything under the /root directory. I would like to keep everything organized and put /root/linux in /usr/src/. is there anything i should know about before moving it to there? i am on a red hat distro and this is the first kernel i have compiled on this system (there are no other kernel sources and i didnt install the sources during install.

thanks

Cri
08-17-2001, 03:32 PM
Hmmm...if you just did the compilation and ran 'make bzImage' and did not install the modules, then there should be no problem with moving to /usr/src. However, if you installed the modules from /root, then this may present trouble--I'm not sure though

posterboy
08-17-2001, 03:37 PM
I can't foresee any problems with moving it.. Provided you move it all. In fact, you could erase the thing, and the kernel would work just fine without any of it there. Now, compiling other things may occasionally want the kernel headers, and other things are going to look under /usr/src/linux for them, the standard place, so moving it there is a good idea long term. The mv command AFAIK has no -a flag like cp, so you may want to cp it, with something like -arv then make sure the structures are the same, and rm -rf the linux under root. Ray