Jump to content

Want to compile nitro path into compiled kernel


Recommended Posts

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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 ;)

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...