kernel compilation problem
Hi,
I am having real problems compiling my linux kerneland I'm stuck with it for months now. I sincerely hope someone can help me. I have RedHat 9.0 (linux kernel 2.4.20-8) on my machine and i want to use kernel 2.6.5. Here are the steps i took and the errors i got:
# cd /usr/src
# bzip2 -d linux-2.6.5.tar.bz2
# tar -xvf linux-2.6.5.tar
There is a folder named linux-2.4.20-8. I deleted the link to that file and made a new link to the linux-2.6.5 folder.
# ln -s newlinux-2.6.5 linux-2.6.5
# cd /usr/src/linux-2.6.5
# make xconfig
# make bzImage
# make modules
# make modules_install
# mkinitrd /boot/initrd-2.6.5.img 2.6.5
I then copied the 'bzImage' file from /usr/src/linux-2.6.5/arch/i386/boot to /boot and renamed it to bzImage-2.6.5
My grub.conf file looks as follows:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,1)
# kernel /boot/vmlinuz-version ro root=/dev/hda2
# initrd /boot/initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,1)/boot/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-8)
root (hd0,1)
kernel /boot/vmlinuz-2.4.20-8 ro root=LABEL=/ hdc=ide-scsi
initrd /boot/initrd-2.4.20-8.img
title Red Hat Linux (2.6.5)
root (hd0,1)
kernel /boot/bzImage-2.6.5 ro root=LABEL=/ hdc=ide-scsi
initrd /boot/initrd-2.6.5.img
title DOS
rootnoverify (hd0,0)
chainloader +1
The errors I'm getting are as follows:
Mounting root filesystem
mount: error 19 mounting ext3
.
.
.
kernel panic: no init found. Try passing init=option to kernel
|