Hi Drakeo,
I am using grub instead of lilo. It doesn't seem like a problem with boot loader. Here are the commands I used to configure, compile and install.
1) make O=build/ gconfig
2) make O=build/
3) make O=build/ modules_install
4) make O=build/ install
The 4th command automatically installed the kernel image, changed the symbolic link of vmlinuz to my kernel image and added the new kernel's boot menu to the grub.conf file.
The problem is with the "LVM". The new kernel is not able to find the volume group of LVM.
The exact error message is as given below:
===================================================================================
Loading ata_piix.ko module
Loading dm-mod.ko module
device-mapper: ioctl: 4.12.0-ioctl (2007-10-02) initialised:
dm-devel@redhat.com
Loading jbd.ko module
Loading ext3.ko module
Loading dm-mirror.ko module
Loading dm-zero.ko module
Loading dm-snapshot.ko module
Making device-mapper control node
Scanning logical volumes
Reading all physical volumens. This may take a while...
No volume groups found
lvm used greatest stack depth: 2408 bytes left
Activating logical volumnes
Volume group "VolGroup00" not found
ERROR: /bin/lvm exited abnormally! (pid 464)
Creating root device
Mounting root filesystem
mount: error 6 mounting ext3
mount: error 2 mounting none
Switch to new root
switchroot: mount failed: 22
umount /initrd/dev failed: 2
Kernel panic - not syncing: Attempted to kill init!
===================================================================================
Hope this error message might help you to solve my problem.