"Robert D. De Mars" <bob-news@b-o-b.homelinux.com> wrote in message
news:uZQwc.3832$Fd.2227@twister.rdc-kc.rr.com...
> Sharino wrote:
>
> > Can anybody direct me to a how to site on update the
> > kernel, I found the steps on rebuilding the current kernel
> > but no on how to change it to 2.6.6. I did a fresh install of
> > Slack 9.1 and would like to change the kernel. Do I need
> > the patch of 2.6.6 or the source to accomplish this?
> > TIA
> >
> >
> This is what I do.
>
> 1. Log in as root
> 2. Download the full kernel source code from
> www.kernel.org. The current stable kernel at this time is 2.6.2.
> I downloaded the full kernel source code file
> linux-2.6.2.tar.bz2 this was downloaded into the /root
> directory
> 3. To avoid possible drama, I never unpack the new
> kernel source in the /usr/src. Since I am logged in as root, I
> will proceed with unpacking the source in my /root dir. I use
> the following command
> * bzip2 -cd linux-2.6.2.tar.bz2 | tar -xvf -
> This will unpack everything into /root/linux-2.6.2/
> 4. cd /usr/src/linux & then
> * make mrproper this cleans-up old kernel
> stuff
> 5. When compiling the kernel all output files will per
> default be stored together with the kernel source code. Using
> the option "make O=output/dir" allows you to specify an alternate
> place for the output files (including .config). I like this
> option. Since my kernel source code is in /root/linux-2.6.2, I
> will save my output files to /root/build/kernel. I believe an
> added bonus to this option is the next time I run "make mrproper"
> in my new /root/linux-2.6.2 kernel source, I believe my .config
> file will remain safely in /root/build/kernel for future purposes
>
I don't want to f-things up, so I make the dir tree
> /root/build/kernel in advance. Note: if the O=output/dir is
> used, it must be used with each make command.
> 6. cd /root/linux-2.6.2
> 7. make O=/root/build/kernel menuconfig
> * This starts a menu driven utility to help
> config the kernel
> 8. make O=/root/build/kernel
> 9. make O=/root/build/kernel bzImage
> 10. make O=/root/build/kernel modules_install
> 11. cp /root/build/kernel/arch/i386/boot/bzImage /boot
> 12. cd /boot
> 13. mv vmlinuz vmlinuz.old
> 14. vi /etc/lilo.conf (need to edit lilo for new
> kernel, and add an entry for the old 2.4.22 kernel)
>
> #Linux bootable partition config starts
> #this will load the new kernel 2.6.2
> image = /boot/bzImage
> root = /dev/hda3
> label = slackware
> read-only
>
> #old back-up stock 2.4.22 kernel - old
> faithful
> image = /boot/vmlinuz.old
> root = /dev/hda3
> label = slack2422
> read-only
>
> # End Config File
>
>
> 15. lilo **don't forget this command **
> 16. reboot
>
>
> --
> ===========================
> http://b-o-b.homelinux.com
> Long 93:18W Lat 45:09N
> ===========================
Thanks for the directions, this is exactly what I needed,
I know have Slackware 9.1 running on 2.6.6

Thanks again