LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   copying the kernel? (https://www.linuxquestions.org/questions/linux-newbie-8/copying-the-kernel-60991/)

polar 05-21-2003 10:32 AM

copying the kernel?
 
Hi,

My HDD is making lots of funny sounds so Im buying a new one and going to reinstall debian on it. Ive got a recompiled kernel on my current disk and was wondering if its possible to copy it to the new disk.

Thanks

trickykid 05-21-2003 10:57 AM

Most likely it isn't going to work that way. In these cases usually when your compiling your kernel, you should save a configuration file, so next time you compile, you can just bring up the config file that is saved and use it that way. Copying a kernel from one machine to the next or similiar isn't going to work.

Mara 05-21-2003 02:59 PM

If it's the same machine, only a different disk, it may work (but it may not). What you need to do is to copy kernel image (from /boot or /, file vmlinuz-yourversion) and modules (/lib/modules/yourkernelversion). But it's a good idea to copy the configuration file (.config from kernel source) too.


All times are GMT -5. The time now is 03:33 PM.