Debian This forum is for the discussion of Debian Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
08-24-2005, 06:00 PM
|
#1
|
|
Senior Member
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249
Rep:
|
Compiling kernel of different machine
I am pretty much familiar with the Debian Kernel compilation procedure(usig make-kpkg).
I have 2 machines. One is very fast(Intel based) and other is very slow(AMD based). On my fast machine the kernel compiles in just 35 minutes and on my slow machine it takes hours to compile the kernel.
I have heard that I can compile the kernel on my fast machine and then transfer it on the slow machine, but I don't know what stuff I will have to transfer to my old machine once I build my kernel on the fast machine.
After I give the command on my fast machine:
#fakeroot make-kpkg --revision=.1.0 kernel_image
I have a .deb package called kernel_image-2.6.8.1_custom.1.0_i386.deb under my /usr/src directory.
Do I have to just copy this package on my old machine and then give the command
dpkg -i kernel_image-2.6.8.1_custom.1.0_i386.deb
and make necessary changes in the grub.conf file? Or do I have to copy some /lib/modules/<kernel-version> directory?
Kindly let me know if I am missing anything.
Thank you once again.
|
|
|
|
08-25-2005, 01:25 AM
|
#2
|
|
Senior Member
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380
Rep:
|
You can just copy over and install the kernel package on the other box. The modules directory will be created during the install.
|
|
|
|
08-25-2005, 01:27 AM
|
#3
|
|
LQ Newbie
Registered: Mar 2005
Posts: 15
Rep:
|
You have just to install the kernel in your slow machine. Then reboot the machine if it works then it's complete. But the major draw back is that you have to repeat compiling if something goes wrong. KERNEL PANIC....
You should also know the filesystem of your slow machine and include it in your kernel not as a module...One of my problem now is loading filesystem module...so if could help then
I'll appreciate it....
Just play around...
|
|
|
|
08-25-2005, 11:50 AM
|
#4
|
|
Senior Member
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249
Original Poster
Rep:
|
Thanks Guys. I will try it and will let you know how did it went.
|
|
|
|
08-26-2005, 05:56 AM
|
#5
|
|
Member
Registered: Nov 2004
Location: Turku, Finland
Distribution: Debian, Ubuntu, Gentoo
Posts: 388
Rep:
|
I've compiled several kernels on fast computer for slower ones and I've never encountered any problems. Just configure the kernel for your slow computer, compile it, copy it, and do the mentioned "dpkg -i kernel_image ..." and you should be fine.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 07:56 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|