[CentOS] Changing the contents of installation cd so as to include a new kernel

Jim Perrin jperrin at gmail.com
Thu Jan 18 12:32:49 UTC 2007


On 1/18/07, Janice D'Sa <dsajanice at yahoo.co.in> wrote:
>  Hi,
> I have CentOS 4.4 with me. I want to change the
> default kernel during installation, from 2.6.9 to
> 2.6.15. I got myself a copy of vmlinuz and initrd.img
> from the RHEL AS 4.0 installation cd and copied it as
> vmlinuz-rhel and initrd-rhel.img respectively into the
> isolinux folder on the CentOS cd. I changed
> isolinux.cfg so that it would boot into my kernel. I
> then made a fresh new ISO and tried to boot off it.
> However, when I boot I get the following error "Cannot
> find kernel image: vmlinuz-rhel".
> I cant figure out where the boot loader is looking for
> vmlinuz and initrd (besides the islinux directory) and
> if there are any other norms that Im not sticking too.

Doing this is very much not advised, as the kernel is very closely
tied to the rest of the distro. However, were you to insist on doing
so, you're going to have to wrestle with anaconda in getting this
kernel to work. The build scripts for iso generation are posted on the
mirrors, and should be a reasonable reference for you. Without a sane
reason for doing this, I really don't want to help you any further, as
you're moving away from the supported release.


-- 
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell



More information about the CentOS mailing list