View Single Post
  #1 (permalink)  
Old 06-29-2008, 06:25 PM
Artnut
 
Posts: n/a
Kernel Panic/ Error 15

Hi all,

I downloaded the latest stable kernel and did the following steps.

Please note, the hyphen, dash or dot in the kernel version was completed by
hitting tab key during Linux kernel compilation. However, there might be
some goof up/typo as I type it below.


# tar -jxvf /usr/src/kernels/linux-2.6.25-9.tar.bz2

# cd /usr/src/kernels/linux-2.6.25-9

# make menuconfig (text)

# make clean

#make bzImage

#make modules

#make modules_install


Until this point, everything went smoothly.

#cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.18-8

Overwrite the file? y

#cp /usr/src/kernels/linux-2.6.25-9/System.map /boot/System.map-2.6.18-8

Overwrite the file? y


Now from the next command something went wrong.

# ln -s /boot/System.map-2.6.25-9 /boot/System.map

Got error : File already exists


# Checked in /lib/modules/ and found 2.6.25-9 was created.

# mkinitrd /boot/initrd-2.6.25-9.img 2.6.25-9


Got error : File already exists


#vi /etc/grub.conf

default=0
timeout=30
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Enterprise Linux AS (2.6.18-8.EL)
root (hd0,0)
kernel /vmlinuz-2.6.18-8.EL ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.18-8.EL.img



Obviously, the new kernel failed to show up in grub. May I know what could
be possibly wrong?

Upon booting I got Kernel Panic error which did NOT show "Attempted to Kill"
message. It was something else which I forgot to write.

Upon changing grub entry I got Error 15.




All help appreciated. Thank you all in advance.



Regards,

Arty



Reply With Quote