LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

Rep: Reputation: 0
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
 
Old 05-21-2003, 10:57 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
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, 02:59 PM   #3
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,570

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


Reply


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


All times are GMT -5. The time now is 06:38 AM.

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