LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 05-07-2012, 05:12 PM   #1
itsjustarumour
LQ Newbie
 
Registered: May 2006
Location: UK
Distribution: KDE Neon
Posts: 21

Rep: Reputation: 0
Fedora 16 Kernel upgrade broke system - kernel panic and unable to boot


Hi All,

I've already posted the following problem on the Fedora Forums and didn't get a reply, so have decided to come back to LQ and try here in the hope someone can help

Fedora 16.x86_64
Kernel 3.3.2-6.fc16.x86_64
NVidia binary blob.

Well, I thought it would never happen to me, but I installed a kernel update 3 days ago and its borked my system - and as luck would have it, this is my pride-and-joy "production" machine... BAH.

On rebooting, I just got the message:

Quote:
Kernel Panic - not synching: VFS: Unable to mount root fs on unknown-block (0,0)
I had two old kernels available, but discovered I couldn't now boot from either of those either - I got the blue lines to indicate the OS was loading, but then at the end they froze. Checking the verbose output showed it was sticking at:

Quote:
Started LSB: Automatically install DKMS modules for new kernels (OK)
I burnt a copy of the DVD .ISO and booted off that into rescue mode... so far so good. I discovered there was an incomplete yum transaction pending. Running a quick

Code:
yum-complete-transaction
fixed that bit, but I was still unable to boot.

I was able to get an ethernet connection working, and ran yum-update and yum-upgrade much installed another new kernel, but still no joy. I tried running

Code:
yum reinstall kernel
for each of my three kernels in turn, but that told me that the kernel wasn't available.

I've tried a few things, and have ended up uninstalling both newer kernels, leaving me with just the one last known-good kernel. I checked that the initrd /boot/initramfs-kernel-version.img existed for the kernel version I was tying to boot in /boot/, but that all looked in order (I tried running dracut --force anyway).

At some point (I can't remember exactly where, and I'm not at the machine at the moment) I got this output that seems to show what the problem is:

Quote:
E: FATAL: Could not load /lib/modules/3.1.0-7.fc16.x86_64/modules.dep:
No such file or directory
find: @/lib/modes/3/1/0-7.fc16.x86_64/@ : No such file or directory
So - my question is this - how do I reload (or rebuild?) that particular kernel module? Or is my system completely borked? I have to confess I'm rapidly reaching the outer limits of my Fedora knowledge on this one, and most fixes I've read assume the ability to choose a working kernel at the grub boot screen, which I don't have...

Help!

TIA,

itsjustarumour

Last edited by itsjustarumour; 05-08-2012 at 01:18 PM.
 
Old 05-08-2012, 01:42 AM   #2
terry-duell
Member
 
Registered: Jan 2007
Location: Melbourne, Australia
Distribution: Fedora 38 x86_64
Posts: 539

Rep: Reputation: 59
Quote:
Originally Posted by itsjustarumour View Post
Hi All,

I've already posted the following problem on the Fedora Forums and didn't get a reply, so have decided to come back to LQ and try here in the hope someone can help
You may have seen this by now, but just in case...

http://forums.fedoraforum.org/showthread.php?p=1574808

It might help.

Your problem reminds me of one I had some time back, but now I can't find any reference to it to see the solution would help, sorry.
If I do track anything down that is useful, I'll let you know.
Post the solution if you find it.

Cheers,
Terry
 
Old 05-08-2012, 02:16 AM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,130

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
Looking at those kernel levels, they're not the latest anyway. I have 3.3.2-6, 3.3.0-4 and 3.2.10-3 - and I'm not too sure when I last accepted an update.

Normally (for Fedora) I'd reckon the VFS message indicates a broken initrd. Dracut will presumably only load modules for the current environment - where did you run it from ?.
Might be worth checking the UUIDs (from the liveCD in need) as suggested.
 
Old 05-08-2012, 08:15 AM   #4
RockDoctor
Senior Member
 
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Ubuntu, Manjaro
Posts: 1,791

Rep: Reputation: 427Reputation: 427Reputation: 427Reputation: 427Reputation: 427
My thought is to boot from a live CD, chroot to the borked installation, back up any existing initramfs file (just in case, you know...), run dracut to regenerate the initramfs file, then reboot the system.
 
Old 05-08-2012, 12:37 PM   #5
itsjustarumour
LQ Newbie
 
Registered: May 2006
Location: UK
Distribution: KDE Neon
Posts: 21

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by terry-duell View Post
You may have seen this by now, but just in case...

http://forums.fedoraforum.org/showthread.php?p=1574808

It might help.

Your problem reminds me of one I had some time back, but now I can't find any reference to it to see the solution would help, sorry.
If I do track anything down that is useful, I'll let you know.
Post the solution if you find it.

Cheers,
Terry
Thanks Terry, I just saw that. Theres a couple of suggestions there now so I'll see how I get on, and will post up here if I get things sorted.

Cheers,

Ian
 
Old 05-08-2012, 12:40 PM   #6
itsjustarumour
LQ Newbie
 
Registered: May 2006
Location: UK
Distribution: KDE Neon
Posts: 21

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by syg00 View Post
Looking at those kernel levels, they're not the latest anyway. I have 3.3.2-6, 3.3.0-4 and 3.2.10-3 - and I'm not too sure when I last accepted an update.

Normally (for Fedora) I'd reckon the VFS message indicates a broken initrd. Dracut will presumably only load modules for the current environment - where did you run it from ?.
Might be worth checking the UUIDs (from the liveCD in need) as suggested.
Thanks for the tip syh00, I'll add that to my "things to try" list!

Btw - when I ran dracut, I'd used the DVD .ISO to go into rescue mode (the Fedora 16 CDR doesn't contain this functionality, have to use the DVD), done a "chroot /mnt/sysimage" and then run dracut from there.

Last edited by itsjustarumour; 05-08-2012 at 12:43 PM.
 
Old 05-08-2012, 12:42 PM   #7
itsjustarumour
LQ Newbie
 
Registered: May 2006
Location: UK
Distribution: KDE Neon
Posts: 21

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by RockDoctor View Post
My thought is to boot from a live CD, chroot to the borked installation, back up any existing initramfs file (just in case, you know...), run dracut to regenerate the initramfs file, then reboot the system.
Thanks for the tip RockDoctor, but that didn't fix things in my case...

Will post back with any updates. Glad for the help on this forum!
 
Old 05-15-2012, 09:51 AM   #8
itsjustarumour
LQ Newbie
 
Registered: May 2006
Location: UK
Distribution: KDE Neon
Posts: 21

Original Poster
Rep: Reputation: 0
Oh well, never got to the bottom of this. Have just had to recover my data, and do a fresh install of the latest Fedora 17 RC.

Guess I'll just have to put it down to one of those occasional cases of spontaneous combustion, Fedora-stylee...
 
  


Reply

Tags
boot failure, fedora 16, kernel, panic



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] FC 15 will not boot after upgrade kernel panic? gkasica Linux - Software 37 05-29-2011 11:40 PM
[SOLVED] FC 15 will not boot after upgrade kernel panic? gkasica Linux - Kernel 3 05-29-2011 10:13 PM
Unable to upgrade to ubuntu 9.10 - Kernel panic andriyca Ubuntu 1 11-08-2009 09:50 PM
"Kernel panic: VFS: Unable to mount root fs" - Kernel fails to boot linux Freedom Seeker Linux - General 11 11-12-2006 07:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 10:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration