Hi Jay! =)
On 6/6/06, Jay Hermida <[EMAIL PROTECTED]> wrote:
hey guys,
how can i upgrade a linux kernel and linux iso from the very scratch?
I'll assume that by `upgrading a kernel from scratch' you mean
building your own kernel from the original sources and installing that
custom kernel, and not just doing `apt-get install kernel-image-XXXX'
or thereabouts. Also, you must be aware that by upgrading your kernel
from scratch, you run the risk of installing to package-managed
directories (including /boot and /lib/modules ); if you are using a
package-based distro, and you may have to undo LOTS of things (short
of a complete reinstall) if Your Mileage Varies.
That said, kernel upgrading is actually quite an easy process; you
will most certainly need the `build essential' toolchain such as
libc6-dev and binutils, some recent gcc (at least gcc (>= 2.95), bzip2
for compressing your kernel, and perhaps libncurses5 (even libqt or
libgtk2.0) if you want to configure your kernel (before building)
using `make menuconfig'. And, of course, your kernel sources; if you
already have one kernel-source tree ready and you'd just want to
upgrade that, then get the patch-2.X.XX.tar.bz2 from kernel.org and
apply that; no need to get the latest full kernel tree.
Once you have the essentials, it's pretty much a matter of `make`-ing
the configurators, then the kernel itself, then the modules (which you
have elected to build and install.) The README accompanying your
kernel sources should give you the right steps to take.
Alternatively, if you want your custom kernel to be installable
through your package system, you can elect to use your distro's
specialized tool for that purpose. Debian and Ubuntu for example have
the `make-kpkg' utility from the `kernel-package' package, which
simplifies the build process, even allowing you to make separate
packages for kernel-image, kernel-headers, even third-party modules.
See you distro's docs for more information.
Well, hopefully this helps. Good luck on your kernel-baking! =)
Cheers,
Zakame
--
Zak B. Elep || http://zakame.spunge.org
[EMAIL PROTECTED] || [EMAIL PROTECTED]
1486 7957 454D E529 E4F1 F75E 5787 B1FD FA53 851D
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph