LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (http://www.linuxquestions.org/questions/fedora-35/)
-   -   Tried to preupgrade from F16 to F17 - kernel panic... any ideas on how to fix this? (http://www.linuxquestions.org/questions/fedora-35/tried-to-preupgrade-from-f16-to-f17-kernel-panic-any-ideas-on-how-to-fix-this-4175423129/)

comcastuser 08-20-2012 05:57 PM

Tried to preupgrade from F16 to F17 - kernel panic... any ideas on how to fix this?
 
I got this error on trying to boot into F17:

"Kernel Panic - not synching: VFS: Unable to mount root fs on unknown-block (0,0)"

This is the best I could do to reproduce the text of this error, Linux won't produce a log file of the kernel panic to paste online (why not???)

I have tried the following steps to fix this:
1) I checked /boot/grub2/grub.conf and ensured that the boot UUID for F17 is the same as the previous F16's boot UUID, those are all the same and it worked before.

2) I checked /etc/fstab and nothing has changed there.

3) I went into grub at the boot process and did "ls" and found the partition is on (hd0,msdos5).

ls (hd0,msdos5)/ brought up the filesystem in question.


How do I get the kernel to mount the root fs...? Or have I discovered a completely new and unfixable problem?

terry-duell 08-21-2012 09:01 PM

Quote:

Originally Posted by comcastuser (Post 4759599)
I got this error on trying to boot into F17:

"Kernel Panic - not synching: VFS: Unable to mount root fs on unknown-block (0,0)"
[snip]
How do I get the kernel to mount the root fs...? Or have I discovered a completely new and unfixable problem?

This story <http://forums.fedoraforum.org/showthread.php?t=262786> and has a similar story to your problem. I don't think it is the complete answer but may help a bit.

Cheers,
Terry

wagscat123 08-22-2012 01:09 PM

Have you checked initrd? Make sure you have a line in GRUB for that and make sure initrd matches you kernel.

Add
--CODE-
initrd(rootpartition)/boot/initrd
--CODE-
or
--CODE-
initrd /boot/initrd
--CODE-
if you have root set in its own line before the kernel line.

R3V0LV3R 08-22-2012 08:07 PM

I would be suspicious of upgrading this version - from F16 to 17 - in particular, because of the change to a unified file system. It's just one more complication, and easily avoided by a fresh install.

The install is quick.... from what I remember it was no more than about 10 minutes from a live USB.


All times are GMT -5. The time now is 11:32 PM.