Fedora Linux Support Community & Resources Center
  #1  
Old 13th April 2011, 05:58 AM
JuliusV Offline
Registered User
 
Join Date: Apr 2010
Posts: 41
windows_7chrome
Unhappy Kernel panic

Hi there,

I have recently installed F15 and one of the problems is that booting F15 with the F15 kernel crashes. When starting I get a black screen with error messages. Along which: "Kernel panic -> Unabler to mount root".

In the GRUB I can choose for the latest F14 kernel and when using this I can startup F15. Is there a way of fixing this problem?

Cheers,

Julius
  #2  
Old 13th April 2011, 06:11 AM
stevea's Avatar
stevea Offline
Registered User
 
Join Date: Apr 2006
Location: Ohio, USA
Posts: 8,346
linuxfedorafirefox
Re: Kernel panic

Something is wrong in the /boot/initramfs* file OR the /boot/grub/grub.conf kernel line parametes.

The message indicates the initramfs cannot access your disk(or other) root file system. Maybe the initramfs doesn't have the disk drive or grub.cong "root=..." parameter is wrong.

Rebuilding the initramfs may solve the problem. Search the forum for directions.
__________________
None are more hopelessly enslaved than those who falsely believe they are free.
Johann Wolfgang von Goethe
  #3  
Old 13th April 2011, 06:17 AM
diamond_ramsey's Avatar
diamond_ramsey Offline
Registered User
 
Join Date: Aug 2009
Posts: 752
linuxfedorafirefox
Re: Kernel panic

Quote:
Originally Posted by JuliusV View Post
...Along which: "Kernel panic -> Unabler to mount root".

In the GRUB I can choose for the latest F14 kernel and when using this I can startup F15. Is there a way of fixing this problem?...
Post the contents of your /boot/grub/grub.conf file.
==============================================
[root@localhost ~]# more /boot/grub/grub.conf

"...
#boot=/dev/sda
default=0
timeout=0
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.35.12-88.fc14.x86_64)
root (hd0,0)
kernel /vmlinuz-2.6.35.12-88.fc14.x86_64 ro root=/dev/mapper/VolGroup-lv
_root rd_LVM_LV=VolGroup/lv_root rd_LVM_LV=VolGroup/lv_swap rd_NO_LUKS rd_NO_MD
rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us rhgb quiet
initrd /initramfs-2.6.35.12-88.fc14.x86_64.img
title Fedora (2.6.35.11-85.fc14.x86_64)
root (hd0,0)
kernel /vmlinuz-2.6.35.11-85.fc14.x86_64 ro root=/dev/mapper/VolGroup-lv
_root rd_LVM_LV=VolGroup/lv_root rd_LVM_LV=VolGroup/lv_swap rd_NO_LUKS rd_NO_MD
rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us rhgb quiet
initrd /initramfs-2.6.35.11-85.fc14.x86_64.img..."

You could be missing the initrd line, but a posting of your /boot/grub/grub.conf file will help confirm some things.
==============================================
Follow stevea's advice, always good information from stevea.
__________________
2 dual cores, 11 GB RAM, F14 Laughlin - 2.6.35.14-106.fc14.x86_64 & 2.6.35.14-106.fc14.i686.PAE
2 dual cores, 11 GB RAM, F15 Lovelock - 2.6.43.8-2.fc15.x86_64 & 2.6.43.8-2.fc15.i686
3 dual cores, 19 GB RAM, F16 Verne - 3.6.2-1.fc16.x86_64 & 3.6.2-1.fc16.i686
2 dual cores, 11 GB RAM, F17 Beefy Miracle - 3.6.2-4.fc17.x86_64 / .i686
16 x86_64 computing cores,80 GB RAM & 8 SATA Seagate 7200.12 500 GB harddisks

Last edited by diamond_ramsey; 13th April 2011 at 06:26 AM.
  #4  
Old 13th April 2011, 07:28 AM
JuliusV Offline
Registered User
 
Join Date: Apr 2010
Posts: 41
windows_7chrome
Re: Kernel panic

Code:
title Fedora (2.6.38.2-9-fc15.i686)
root (hd0,4) kernel /boot/vmlinuz-2.638.2-9.fc15.i686 ro root=UUID=950343c2-1a 45404548-a6b0-9e319f8bd208
rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet
initrd /boot/initfamfs-2.6.38.2-9.fc15.i686.img
Because I don't have internet on F15 I could not copy-paste, so I had to write it down and type it. Possibly there might be little mistakes, but overall this should be it. The last line (initrd etc.) I added myself as it was missing.

I looked into /boot and fount there was no .img-file for fc15. Can I make one?
  #5  
Old 14th April 2011, 10:03 PM
jvillain Offline
Registered User
 
Join Date: Aug 2008
Posts: 226
linuxfirefox
Re: Kernel panic

Can you from boot a previous kernel? If so I would do that, uninstal your latest kernel and then reinstall it. Making the initramfs is part of the install process. It looks at your existing system for a lot of it's parameters so booting off a working previous version is preferable.

If that isn't an option then you could try booting off of a DVD into rescue mode. chroot to your root partition, make sure you mount your boot partition onto your root partition and then run mkinitrd. I don't guarantee it will work but it is worth a try.
  #6  
Old 15th April 2011, 07:27 AM
JuliusV Offline
Registered User
 
Join Date: Apr 2010
Posts: 41
windows_7chrome
Re: Kernel panic

Thanks for the advise. I will try it as soon as I have fixed my other problem: no internet connection
  #7  
Old 16th April 2011, 07:35 AM
JuliusV Offline
Registered User
 
Join Date: Apr 2010
Posts: 41
linuxchrome
Re: Kernel panic

Quote:
[rmvanderspek@laptop2 ~]$ sudo yum install kernel-2.6.38.2-9.fc15.i686
Loaded plugins: presto, refresh-packagekit
Setting up Install Process
No package kernel-2.6.38.2-9.fc15.i686 available.
Error: Nothing to do
I really don't get it. How can there not be a package available for the f15 kernel?

---------- Post added at 08:35 AM ---------- Previous post was at 06:45 AM ----------

After removing duplicates it is now installing the F15-kernel. I don't understand why it didn't work before, but does work now. Anyhow: I'm glad it does .
 

Tags
kernel, panic

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
booting Kernel stops with Kernel Panic due to missing library ohommes Installation and Live Media 0 18th January 2009 02:06 AM
Kernel panic with kernel 2.6.20-1.2925.fc6 - cannot detect SATA drives paulez Using Fedora 0 15th March 2007 07:02 PM


Current GMT-time: 22:04 (Wednesday, 19-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat