#1  
Old 22nd September 2009, 15:13
Nacho Cheese Nacho Cheese is offline
Junior Member
 
Join Date: Sep 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default kernel panic

I have compiled a new kernel under centos 5.3, this was successfully done, but when loading, it fails.

Grub config looks like:
# 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,0)
# kernel /vmlinuz-version ro root=/dev/sda5
# initrd /initrd-version.img
#boot=/dev/sda1
default=0
timeout=50
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.31-rt11)
root (hd0,0)
kernel /vmlinuz-2.6.31-rt11 ro root=LABEL=/1
initrd /initrd-2.6.31-rt11.img
title CentOS (2.6.18-164.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-164.el5 ro root=LABEL=/1
initrd /initrd-2.6.18-164.el5.img
title CentOS (2.6.18-128.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-128.el5 ro root=LABEL=/1
initrd /initrd-2.6.18-128.el5.img


Kernel 0 doesnt load, kernel 1 loads..

The error I get:
kernel panic init not tainted mount failed

Maybe my ram-disk is incorrect?

Thanx in advance!!!
Reply With Quote
Sponsored Links
  #2  
Old 28th September 2009, 13:33
matey matey is offline
Member
 
Join Date: Feb 2009
Posts: 93
Thanks: 13
Thanked 3 Times in 3 Posts
 
Default

can you control D out of it and go to single user mode?

if you can then run fsck to fix errors but if you can't then the address of the kernel file is incorrect.
you can press e to edit the grub menu, change hd0,0 to hd 1,0 or hd 0,1 etc, and try different locations for the img file like /boot/initrd.img-x-y-z etc...
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
domains not accessible gillesdevals Installation/Configuration 3 17th June 2009 10:12
Ispconfig IE7 Xen aurelius Installation/Configuration 8 19th October 2008 11:46
Google Apps dayjahone General 19 29th March 2008 18:25
High Availability Samba cluster - DRBD + Heartbeat djalex Server Operation 58 25th May 2007 20:38
WG311v2 almost working with Edgy (w/o ndiswrapper) need help with the rest caudata Server Operation 11 13th November 2006 21:02


All times are GMT +2. The time now is 07:40.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.