| Changed: | ||||||||
| < < |
| |||||||
| > > |
| |||||||
| As such, my method for building new kernels is a little more complicated than it is on most systems. | ||||||||
| Line: 109 to 109 | ||||||||
|---|---|---|---|---|---|---|---|---|
| -- KirkStrauser - 13 Sep 2002 | ||||||||
| Added: | ||||||||
| > > |
| |||||||
| |||||||||||||
| Line: 28 to 28 | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Variables Used Below | |||||||||||||
| Changed: | |||||||||||||
| < < |
| ||||||||||||
| > > |
| ||||||||||||
Download The Source | |||||||||||||
| ||||||||
| Line: 59 to 59 | ||||||||
|---|---|---|---|---|---|---|---|---|
ln -s kernel-source-$version linux | ||||||||
| Changed: | ||||||||
| < < |
| |||||||
| > > |
| |||||||
tar xvzf nvidia-kernel-src.tar.gz | ||||||||
| ||||||||
| Line: 59 to 59 | ||||||||
|---|---|---|---|---|---|---|---|---|
ln -s kernel-source-$version linux | ||||||||
| Changed: | ||||||||
| < < |
| |||||||
| > > |
| |||||||
tar xvzf nvidia-kernel-src.tar.gz | ||||||||
| ||||||||
| Line: 6 to 6 | ||||||||
|---|---|---|---|---|---|---|---|---|
| First, pick a local kernel revision. Something like {hostname}{revision} is good. This way, you can install multiple versions of the same kernel, each with their own configuration and modules directory, and switch between them at will. | ||||||||
| Changed: | ||||||||
| < < |
Variables used here are: | |||||||
| > > |
First-Time Only SetupYou'll need to have installed a few packages before you can begin. In all likelihood, most of them are already present on your system. If they're not, it's a simple matter to install them.
apt-get install kernel-package initrd-tools cramfsprogs gcc libc-dev debianutils make libdb3-dev libncurses-dev Variables Used Below | |||||||
| ||||||||
| Changed: | ||||||||
| < < |
You'll need to have installed a few packages before you can begin: | |||||||
| > > |
Download The Source | |||||||
| Changed: | ||||||||
| < < |
| |||||||
| > > |
apt-get install kernel-source
apt-get install kernel-source-$version Build Your Kernel! | |||||||
| Once you've installed those, you're ready to start: | ||||||||
| Changed: | ||||||||
| < < |
| |||||||
| > > |
cd /usr/src
tar xvjf kernel-source-$version.tar.bz
ln -s kernel-source-$version linux
tar xvzf nvidia-kernel-src.tar.gz
export PATCH_THE_KERNEL="YES"
cd linux
make-kpkg --config {config|xconfig|menuconfig} configure
make-kpkg clean
make-kpkg --us --uc --initrd --append-to-version $local kernel_image
make-kpkg --us --uc --append-to-version $local modules_image
| |||||||
| ||||||||
| Changed: | ||||||||
| < < |
| |||||||
| > > |
cd .. ls -lart *.deb
dpkg -i {list of .deb packages from the previous step}
lilo -vor update-grub | |||||||
| -- KirkStrauser - 13 Sep 2002 | ||||||||
| ||||||||
| Line: 36 to 36 | ||||||||
|---|---|---|---|---|---|---|---|---|
| ||||||||
| Changed: | ||||||||
| < < |
| |||||||
| > > |
| |||||||
| ||||||||
| ||||||||
| Line: 12 to 12 | ||||||||
|---|---|---|---|---|---|---|---|---|
| ||||||||
| Added: | ||||||||
| > > |
You'll need to have installed a few packages before you can begin:
| |||||||
| ||||||||
| Added: | ||||||||
| > > |
| |||||||
| ||||||||
| Added: | ||||||||
| > > |
| |||||||
| ||||||||
| Added: | ||||||||
| > > |
| |||||||
| ||||||||
| Added: | ||||||||
| > > |
| |||||||
| ||||||||
| Changed: | ||||||||
| < < |
| |||||||
| > > |
| |||||||
| ||||||||
| Changed: | ||||||||
| < < |
| |||||||
| > > |
| |||||||
| ||||||||
| Added: | ||||||||
| > > |
| |||||||
| Changed: | ||||||||
| < < |
-- KirkStrauser - 12 Sep 2002 | |||||||
| > > |
-- KirkStrauser - 13 Sep 2002 | |||||||
| ||||||||
| Line: 6 to 6 | ||||||||
|---|---|---|---|---|---|---|---|---|
| First, pick a local kernel revision. Something like {hostname}{revision} is good. This way, you can install multiple versions of the same kernel, each with their own configuration and modules directory, and switch between them at will. | ||||||||
| Added: | ||||||||
| > > |
Variables used here are:
| |||||||
| ||||||||
| Changed: | ||||||||
| < < |
| |||||||
| > > |
| |||||||
| ||||||||
| Changed: | ||||||||
| < < |
| |||||||
| > > |
| |||||||
| ||||||||
| Deleted: | ||||||||
| < < |
Stuff to look at later:
| |||||||
| -- KirkStrauser - 12 Sep 2002 | ||||||||
| ||||||||
| Added: | ||||||||
| > > |
First, pick a local kernel revision. Something like {hostname}{revision} is good. This way, you can install multiple versions of the same kernel, each with their own configuration and modules directory, and switch between them at will. | |||||||
| ||||||||
| Changed: | ||||||||
| < < |
| |||||||
| > > |
| |||||||
Stuff to look at later:
| ||||||||
| Added: | ||||||||
| > > |
-- KirkStrauser - 12 Sep 2002 | |||||||
| ||||||||
| Changed: | ||||||||
| < < |
| |||||||
| > > |
| |||||||
| ||||||||
| ||||||||
| Line: 7 to 7 | ||||||||
|---|---|---|---|---|---|---|---|---|
| ||||||||
| Changed: | ||||||||
| < < |
| |||||||
| > > |
| |||||||
| Stuff to look at later: | ||||||||
| Line: 1 to 1 | ||||||||
|---|---|---|---|---|---|---|---|---|
| Added: | ||||||||
| > > |
| |||||||