Artificial Intelligence Posted October 4, 2005 Report Share Posted October 4, 2005 Well I have no problems compiling a default kernel with the setup which fits my computer. Now I want to make a nitro kernel and found the latest "patch-2.6.13.2-nitro1" (Just compiled 2.6.13 kernel in ubuntu breezy pre release with compiled latest nvidia driver). So how do I add the nitro to my kernel or compiling with my Vanilla kernel? moved by mystified Quote Link to comment Share on other sites More sharing options...
Artificial Intelligence Posted October 4, 2005 Author Report Share Posted October 4, 2005 Here's how I compiled my kernel, so someone can pinpoint where and how to drop the patch in cd /usr/src sudo tar --bzip2 -xvf linux-2.6.13.tar.bz2 sudo ln -s /usr/src/linux-2.6.13 /usr/src/linux cd /usr/src/linux sudo make xconfig <then making the adjustment I want in my kernel> sudo make-kpkg clean sudo make-kpkg --rootcmd fakeroot --initrd --append_to_version -custom kernel_image kernel_headers dpkg -i kernel-image-2.6.13-custom_i386.deb dpkg -i kernel-headers-2.6.12-custom_i386.deb Then the Nvidia driver sudo /etc/init.d/gdm stop sudo sh NVIDIA-Linux-x86-1.0-7667-pkg2.run sudo nano /etc/X11/xorg.conf <making the adjustments> /etc/init.d/gdm start Quote Link to comment Share on other sites More sharing options...
Artificial Intelligence Posted October 4, 2005 Author Report Share Posted October 4, 2005 Okay with a little help from Gentoo Wiki I get so far: (with a clean source) sudo mv patch-2.6.13.2-nitro1 /usr/src cd /usr/src sudo cp -r linux-2.6.13 linux-2.6.13.2-nitro1 sudo ln -sf linux-2.6.13.2-nitro1 linux cd linux patch -p1 < ../patch-2.6.13.2-nitro1 Now it ask: "File to patch:" What do I write there? Quote Link to comment Share on other sites More sharing options...
Artificial Intelligence Posted October 4, 2005 Author Report Share Posted October 4, 2005 Problem SOLVED!!! Damn I'm good Quote Link to comment Share on other sites More sharing options...
Artificial Intelligence Posted October 6, 2005 Author Report Share Posted October 6, 2005 Just a quick question to those who compiled kernels in both a debian based system and a mandriva based system. Any diffrences between the two on how to do it? Or something I should notice when doing it on Mandriva? Quote Link to comment Share on other sites More sharing options...
jlc Posted October 6, 2005 Report Share Posted October 6, 2005 There shouldn't be any difference, apply patches the same on any distro for your kernel. One thing I would recommend you look at is making the kernel via dpkg and on your mdk box making it via rpm That way you have them in nice little packages ;) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.