Re: Kernel Panic/ Error 15
- From: "J.O. Aho" <user@xxxxxxxxxxx>
- Date: Sun, 29 Jun 2008 22:07:10 +0200
Artnut wrote:
#make bzImage
#make modules
#make modules_install
Do instead
make && make modules_install
It will do the same as the above but slightly faster
Until this point, everything went smoothly.
#cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.18-8
Overwrite the file? y
You should have answered no, you should never copy it over an previous version, always keep the old one untouched, this way you have something to boot with if you mess things up with your configuration.
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
This tells that there is already a 2.5.25.9 kernel
# Checked in /lib/modules/ and found 2.6.25-9 was created.
Thats not so strange, as you did a "make modules_install"
# mkinitrd /boot/initrd-2.6.25-9.img 2.6.25-9
Got error : File already exists
mkinitrd refuses to create a new one, you have to wither rename the old one or pick a new name.
#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?
If you don't use the package manager (rpm) to install an kernel rpm, no new entries will be added to grub, you have to do that manually.
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.
Boot into rescue mode with your RHEL install CD/DVD, chroot to your installation, check for the kernel rpm on the boot media, uninstall the 2.6.18 kernel with the "rpm -e" command and then install the kernel you found on the media with "rpm -ivh", if you still have troubles, then do it again, but reinstall grub first.
--
//Aho
.
- References:
- Kernel Panic/ Error 15
- From: Artnut
- Kernel Panic/ Error 15
- Prev by Date: Re: LiveCD boot problem
- Next by Date: Re: LiveCD boot problem
- Previous by thread: Re: Kernel Panic/ Error 15
- Next by thread: Re: Kernel Panic/ Error 15
- Index(es):
Relevant Pages
|