[ale] kernel upgrade newbie

Cor van Dijk cor.angela at mindspring.com
Tue Jul 16 16:41:24 EDT 2002


For what it is worth, here is my "kernelkitchen", for building kernels from
inside redhat distro's
(worked up to 7.1)
--------------------------------------------------
0. Get into /usr/src/linux or equivalent as root
1. make mrproper (seems to remove redhat-specific stuff)
2. make xconfig (there are other config helpers)
    a: start from scratch or
    b: load  a configuration file
    c. make selections (the hard part!)
    d. save and exit.
3. make dep.
4. make clean
5. edit Makefile at EXTRAVERSION to make the build unique and also
    to avoid overwriting your old kernel (if you did not save it elsewhere).
6. make bzImage
7. make modules
8. make modules_install
9. make install
10. If you use ramdisks do "/sbin/mkinitrd    initrd-<version>  <version>"
11. move or copy the new bzImage (usually found in .../arch/i386/boot/) to
/boot
     and rename it vmlinuz-<version>
12. edit /etc/lilo.conf to accomodate the new kernel
13. run /sbin/lilo
14. make bootfloppy:  "mkbootdisk --device /dev/fd0 <version>
15. reboot. Done.

I am not sure what the "install" (step 9) does, because it does not edit
lilo.conf, nor does it move
the new kernel to the boot partition/drive/directory.  That is why I have step
11 and 12.

--------------------------------------------------
All of the above can be found on the redhat documentation disks in great
detail,
so do not trust/blame me. Cor.

Cade Thacker wrote:

> Hi all,
> I am feeling rather brave tonight and I am going to try and upgrade my
> kernel. I am currently running RH7.2 2.4.7-10 and would like to upgrade to
> 2.4.16+.
>
> As stated in the subject, I have never upgrade a kernel so I have dug
> around but I have not found exactly what I am looking for. RH has an RPM
> for 2.4.18 but they say it is for 7.3. Can I use that? Can I just go and
> download the kernel from kernel.org or should I use the rpm?
>
> ANY direction is helpful. I am definitly in water over my head(but still
> having a blast!)
>
> TIA....
>
> --cade
>
> On Linux vs Windows
> ==================
> Remember, amateurs built the Ark, Professionals built the Titanic!
> ==================
>
> ---
> This message has been sent through the ALE general discussion list.
> See http://www.ale.org/mailing-lists.shtml for more info. Problems should be
> sent to listmaster at ale dot org.


---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.






More information about the Ale mailing list