Jump to content


Photo

Problem in installing new kernel


  • Please log in to reply
1 reply to this topic

#1 rajtendulkar

rajtendulkar

    stranger

  • Members
  • 1 posts

Posted 15 March 2006 - 12:07 AM

am a new user to Red Hat Linux Enterprise Edition 4.1
I am trying to install a new kernel 2.6.15.6 on my Linux.

I have compiled the kernel and copied bzImage to /boot partition.
Also I have modified the grub.conf file
it is listed as

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,2)
# kernel /vmlinuz-version ro root=/dev/sda6
# initrd /initrd-version.img
#boot=/dev/sda
default=2
timeout=5
splashimage=(hd0,2)/grub/splash.xpm.gz
hiddenmenu
title Red Hat Enterprise Linux 2.6.15.6
root (hd0,2)
kernel /vmlinuz-2.6.15.6.img ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.15.6.img
title Red Hat Enterprise Linux AS (2.6.9-5.ELsmp)
root (hd0,2)
kernel /vmlinuz-2.6.9-5.ELsmp ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.9-5.ELsmp.img
title Red Hat Enterprise Linux AS-up (2.6.9-5.EL)
root (hd0,2)
kernel /vmlinuz-2.6.9-5.EL ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.9-5.EL.img
title windows xp
rootnoverify (hd0,0)
chainloader +1

this is listing of /dev/sda

[root@localhost grub]# fdisk /dev/sda

Command (m for help): p

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 2550 20482843+ c W95 FAT32 (LBA)
/dev/sda2 2551 5100 20482875 c W95 FAT32 (LBA)
/dev/sda3 5101 5138 305235 83 Linux
/dev/sda4 5139 9729 36877207+ 5 Extended
/dev/sda5 5139 7688 20482843+ 83 Linux
/dev/sda6 7689 8963 10241406 83 Linux
/dev/sda7 8964 9090 1020096 82 Linux swap
/dev/sda8 9091 9729 5132736 83 Linux

managed to find out my hardware.
I have SCSI hard disk installed on my PC.

so I have now enabled the SCSI support in the configuration.

But now this has given rise to new error solving the previous ones...

the last message that appears on the screen when i boot is

Enforcing mode requested but no policy loaded.Halting Now
Kernel Panic : No syncing : Attempted to kill init !!!

Please help me out

#2 danleff

danleff

    Carpal Tunnel

  • Moderators
  • 2903 posts

Posted 15 March 2006 - 05:48 AM

Try the solution noted on this forum.

Are you installing the new kernel from source, or a RedHat repository?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

IPB Skin By Virteq