Building a kernel from source on RH9

C. Linus Hicks lhicks at nc.rr.com
Fri Jan 7 19:51:03 UTC 2005


On Fri, 2005-01-07 at 11:29 -0700, Barry Gamblin wrote:
> I am trying to build the 2.4.28 kernel from source downloaded from 
> kernel.org on a RH9 system. I need to do this because fedora-legacy
> has not released a kernel that fixes the latest ELF load vulnerability.
>  
> I've run the make commands
> 
> make xconfig
> make clean
> make bzImage
> make modules
> make modules_install
> 
> I copied the bzImage file to /boot/vmlinuz-2.4.28 and the vmlinux file 
> to /boot/vmlinuz-2.4.28. I ran /sbin/new-kernel-pkg --mkinitrd 2.4.28.
> I added a stanza into /etc/grub.conf to load the new kernel.

Is the above a typo? You copied bzImage and vmlinux to the same file?

> But the system won't boot the new kernel. It gets to the point where
> it is trying to mount the / filesystem and panics.

You could try posting your grub.conf and the specific error message you
are getting and see if anyone here can help...

-- 
C. Linus Hicks <lhicks at nc dot rr dot com>




More information about the redhat-list mailing list