Quoting [EMAIL PROTECTED]:

> > > Steps naman jan o how to update my kernel. 
> > > Example kernel 2.4.18-3 to the newest kernel version.
> > > Thanks in advance.

> 1> unpack your kernel
> 2> apply patches (optional)
> 3> cd linux.x.x
> 3> # make config  (or menuconfig/xconfig )
> 4> # make dep && make bzImage && make modules && make modules_install
> 5> # cp /usr/src/linux.x.x/arch/i386/boot/bzImage /boot
>      (rename or whatsoevah)
> 6> check/review boot loader -> new kernel

To upgrade from kernel linux-2.4.18 to the latest kernel
linux-2.6.4, you need to do the following steps:

1. After unpacking linux-2.6.4.tar.bz2 into /usr/src/ to
produce the directory /usr/src/linux-2.6.4, you need to manually
create the links:

/usr/src/linux -> /usr/src/linux-2.6.4
/usr/src/linux-2.6.4/include/asm -> /usr/src/linux-2.6.4/asm-i386

The latter link used to be auto-created when you do a 
"make menuconfig", but not anymore.

2. Read the instructions in /usr/src/linux/README and /usr/src/linux/
Documentation/Changes, to determine what utilities need to be installed
first, before 2.6.4 can be built properly.  For example you need to
install module-init-tools, first, since this supercedes the old
modutils package.

3. When all prerequisites are installed, you can do, the following
in /usr/src/linux:

make menuconfig
make  # no need for make dep ; make clean ; make bzImage ; make modules
make modules_install
cp arch/i386/boot/bzImage /boot/vmlinuz
cp System.map /boot
vi /etc/lilo.conf #if using lilo
lilo -v
reboot

Enjoy!

PMana
--
Philippine Linux Users' Group (PLUG) Mailing List
[EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to