Differences between version 8 and previous revision of HowToUpgradeKernelSource.
Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 8 | Last edited on Tuesday, January 25, 2005 9:55:48 pm | by AristotlePagaltzis | Revert |
Older page: | version 7 | Last edited on Wednesday, June 30, 2004 6:18:54 am | by MattWolf | Revert |
@@ -1,28 +1,19 @@
-!!Upgrading the Kernel Source very-mini-howto.
-
-Designed to answer the problem of "But I
don't want to re-configure my kernel
from scratch!"
-
-# Download
the latest kernel or upgrade
from http://kernel.org/
-# Install
the new kernel source
-# Copy
the old kernel .config file
to the new kernel directory
-# Run "
make oldconfig"
-# Run "
make menuconfig"
to change any options for the new kernel
-
-----
+If you
don't want to re-configure your [Kernel]
from scratch, download and unpack
the latest source tarball (ie
from http://kernel.org/), copy
the <tt>.config</tt> file from
the old kernel to the new kernel directory, and run <tt>
make oldconfig</tt>. Then run <tt>
make menuconfig</tt>
to change any options for the new kernel.
To update the symlink:
-#
ls -l /usr/src/linux
-#
rm /usr/src/linux
-#
cd /usr/src
-#
ln -s linux-NEW_KERNEL_VERSION
linux
-
-----
+<pre>
+
ls -l /usr/src/linux
+rm /usr/src/linux
+cd /usr/src
+ln -s linux-''version''
linux
+</pre>
-Debian
users:
-apt-get kernel-source
-(version
) - you
can find
the version with apt-cache search kernel-source.
-Then
, jump in at step 3.
+DebianLinux
users will want to read KernelPackageNotes for information on using make
-kpkg
(1
) to build a [Kernel] [Deb]. If not, they
can follow
the same steps
, using
-Alternatively read KernelPackageNotes for information on using make
-kpkg
to build a
kernel .deb
+<pre>
+apt
-cache search kernel-source #
to find out the latest version
+apt-get
kernel-source-''version''
+</pre>
-----
+to download the latest source.