Click to See Complete Forum and Search --> : kernel question


samon
04-16-2002, 01:41 PM
When I installed debian woody it had kernel v 2.2.20, so the first thing I did was to compile a new kernel. I dont have much experience in linux, everything went ok but still some questions:
1. I have ATX case and when I shutdown -h now it turns off only the HD and not the pc.
2. what modules should I have to be able to use my CD-R, gtoaster did'nt detect it at all. I have ATAPI IDE CD-R (TEAC).
3. If I want to recompile the same version of the kernel, should I worry about anything like modules, for it will copy again the modules to /lib/uname -r/ which already exists?
thanks

CaptainNothing
04-16-2002, 02:25 PM
About the CD-RW question, read the NHF that is Here (http://linuxnewbie.org/nhf/intel/software/cdrecord_cdr.html). It has got a link in there to the CD-RWHowTo, which is more complete.

bigrigdriver
04-16-2002, 02:42 PM
If you want to recompile the same kernel, but don't want to mess with the current /lib/modules, there is a way to prevent that from happening. The first step in kernel recompile is the configuration, which will generate a makefile (found in /usr/src/<kernel version>. After configuration, but BEFORE you do anything else, edit that makefile. Near the top is a line which reads EXTRAVERSION=. Edit to read EXTRAVERSION=1. That will result in a new /usr/src/<kernel version> and a new /lib/modules, leaving the originals in place. It's a handy way of recompiling a kernel and having the opportunity to check it out before getting rid of the original. Also, if the recompile fails, you still have a way to boot the box.