 |
forums.xandros.com Xandros User Forums
|
| View previous topic :: View next topic |
| Author |
Message |
electronics45 Xandrosianding

Joined: 15 Apr 2004 Posts: 774 Location: Sydney, Australia
|
Posted: Thu Sep 29, 2005 6:23 am Post subject: reconfigure kernel, after applying patch |
|
|
Hi,
I've just finished patching the Xandros kernel, and now I'm supposed to reconfigure the kernel. Does anyone know how? Do I have to recompile the kernel afterwards?
Thanks for your help. _________________ - Missing in action, as of 16-07-06
Farewell Xandros, and everyone in the fourms. It was a fun ride. |
|
| Back to top |
|
 |
Chaotic Thought Xandrosianding

Joined: 08 Jul 2005 Posts: 881 Location: Arlington TX
|
Posted: Thu Sep 29, 2005 12:44 pm Post subject: |
|
|
You might want to take a step back, and make sure the kernel compiles without patching. The thing is--sometimes patching the kernel causes the compile to fail. So if you have time (or want to potentially save time, depending on how you look at it), unpack the clean kernel sources and then compile it. If it works (or when it works), then you can move on to step 2 (patching the kernel, and making sure that works). Now... to your question:
Configuring the kernel is done before compiling it. Here are the usual steps to building the kernel:- Unpack kernel sources.
- Configure kernel using make menuconfig or similar.
- Build kernel using make.
- Install the kernel by doing make modules_install and copying the kernel from ./arch/i386/boot/bzImage and ./System.map to your system's kernel images directory, and then updating your boot loader configuration (lilo).
I gave some detailed instructions in another post. Hopefully it is a good walkthrough. By the way, I instruct to use make oldconfig in this howto, but you may replace that step with make menuconfig if you want to configure the kernel manually.
How to Build a Kernel on Xandros
http://forums.xandros.com/viewtopic.php?p=96589#96589 |
|
| Back to top |
|
 |
electronics45 Xandrosianding

Joined: 15 Apr 2004 Posts: 774 Location: Sydney, Australia
|
Posted: Thu Sep 29, 2005 7:19 pm Post subject: |
|
|
Thanks a lot for your help. Since I had already configured the kernel source, It was bit tricky following your more detailed guide, but I've got it all sorted out now.
thanks again.  _________________ - Missing in action, as of 16-07-06
Farewell Xandros, and everyone in the fourms. It was a fun ride. |
|
| Back to top |
|
 |
Chaotic Thought Xandrosianding

Joined: 08 Jul 2005 Posts: 881 Location: Arlington TX
|
Posted: Thu Sep 29, 2005 8:06 pm Post subject: |
|
|
| If you've already configured the kernel, just skip the make menconfig or make oldconfig part. All it really does is create the .config file that's in the toplevel source directory. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|