Jump to content
Compatible Support Forums
Sign in to follow this  
rajtendulkar

Problem in installing new kernel

Recommended Posts

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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×