Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 05-21-2003, 11:32 AM   #1
LQ Newbie
Registered: May 2003
Posts: 20

Rep: Reputation: 0
copying the kernel?


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.

Old 05-21-2003, 11:57 AM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 252Reputation: 252Reputation: 252
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.
Old 05-21-2003, 03:59 PM   #3
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,692

Rep: Reputation: 232Reputation: 232Reputation: 232
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.


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
regarding kernel copying Very Maqbool Linux - Software 3 07-21-2005 07:40 AM
problem copying knoppix kernel to hard drive fatblueduck Linux - General 4 06-14-2005 07:16 PM
copying to new hard drive - kernel/bootloader problem synaptical Linux - Software 17 10-05-2004 07:01 AM
Kernel Panic when copying lectraplayer Linux - Software 0 03-06-2004 10:01 PM
Manually copying kernel modules crank Linux - Newbie 2 06-05-2003 06:37 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:46 AM.

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