Traduisez - Übersetzen - Traduzca - Traduza - Tradurre - Translate

VanLUG Email Archive

VanLUG Mailing List
Re: Kernal Upgrade

New Message Reply About this list Date view Thread view Subject view Author view

Ian Morey (bunmorey@home.com)
Tue, 17 Aug 1999 03:14:40 -0700


At 01:21 AM 16/08/99 -0700, you wrote:
>On Mon, Aug 16, 1999 at 01:15:43AM -0700, Randall Clark wrote:
> > is their a way to ugdate the kernal without having to install Redhat
> Linux 6
> > ??
> > If so where can I find it and the instructions??
>
>Umm, yes... You untar the kernel sources (from ftp.ca.kernel.org) in
>/usr/src, then cd linux. make config or make menuconfig, select the options
>you like. Then make dep && make bzlilo && make modules && make modules_install
>When you're done (assuming no errors), reboot into your new kernel.

-- Hmmm, when I do that I also have to move System.map from the
/usr/src/linux with a name change.... though it may not be really
necessary. Then move the kernel from /usr/src/linux/arch/i386/boot (or
something like that) to /boot, usually with a name change so I can have a
kernel choice at boot. Then edit /etc/lilo.conf and run lilo.
  Then my machine can boot into the New kernel... hopefully. :)

eg.
         mv /usr/src/linux System.map /boot/System.map-2.2.11
then link System.map-2.2.11 System.map eg.
         ln -s /boot/System.map /boot/System.map-2.2.11
and move the kernel.
         mv /usr/src/linux/arch/i386/boot/bzImage /boot/bzImage-2.2.11
   - then modify /etc/lilo.conf;
         boot=/dev/hda6
         map=/boot/map
         install=/boot/boot.b
         prompt
         timeout=50
         image=/boot/bzImage-2.2.11
                 label=lin-K2-11
                 root=/dev/hda6
                 read-only
         image=/boot/vmlinuz-2.0.32
                 label=linux
                 root=/dev/hda6
                 read-only
         other=/dev/hda1
                 label=Windoze
                 table=/dev/hda

...the first image being the new one.... then run lilo to update it.
         Reboot the machine and pray..... if everything is happy, then you
can go back into /usr/src/linux and do a make mrproper to clear all the
object(?) files up and free up some more space.
         You can also do this in X Windows using "make xconig", I think. A
bit more friendly than "make config".
         Hope this fills in the details... nothing like killing your
machine or messing up the module dependencies by missing some
steps.... been there, done that. ;)
                 Cheers,
                         Ian


New Message Reply About this list Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b3 on Thu 09 Sep 1999 - 06:40:35