Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 19/20 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 1st March 2007, 06:07 PM
paralizer Offline
Registered User
 
Join Date: Jan 2007
Posts: 45
KERNEL PANIC - Can not open root device "sda6" or unknown-block (0,0)...

Hi, I have jus installed new kernel today 2.6.20.1 and when I tried to boot my new kernel I'v got the folloving message:

KERNEL PANIC - Can not open root device "sda6" or unknown-block (0,0)
Please apend a correct "root=" boot option
Kernel panic - not syncining:VFS unable to mount root fs on unknown block (0,0)

I have also tried to recompile the kernel without modifying any options, and still the same.

Here is my fstab file:

[root@ariel ~]# cat /etc/fstab
LABEL=/ / ext3 defaults 1 1
devpts /dev/pts devpts gid=5,mode=620 0 0
tmpfs /dev/shm tmpfs defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
LABEL=SWAP-sda7 swap swap defaults 0 0

Her is my /etc/grub.conf file:

[root@ariel ~]# cat /etc/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,5)
# kernel /boot/vmlinuz-version ro root=/dev/sda6
# initrd /boot/initrd-version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,5)/boot/grub/splash.xpm.gz
hiddenmenu
title kernel-2.6.20.1
root (hd0,5)
kernel /boot/vmlinuz-2.6.20.1 ro root=/dev/sda6 panic=10
title Fedora Core (2.6.19-1.2911.fc6)
root (hd0,5)
kernel /boot/vmlinuz-2.6.19-1.2911.fc6 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.19-1.2911.fc6.img

And here are the results from df -h:

[root@ariel ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda6 41G 4.9G 34G 13% /
tmpfs 505M 0 505M 0% /dev/shm
/dev/sda5 49G 16G 31G 34% /disk2
/dev/sda1 20G 173M 19G 1% /disk1

Here are the contents of my /boot partition:

[root@ariel ~]# ld /boot/
/boot/: file not recognized: Is a directory
[root@ariel ~]# ls /boot/
config-2.6.19-1.2911.fc6 System.map-2.6.19-1.2911.fc6
grub System.map-2.6.20.1
initrd-2.6.19-1.2911.fc6.img vmlinuz-2.6.19-1.2911.fc6
symvers-2.6.19-1.2911.fc6.gz vmlinuz-2.6.20.1


Machine is AMD athlon 64 3200+

Please help.

thanks

Last edited by paralizer; 1st March 2007 at 06:15 PM.
Reply With Quote
  #2  
Old 1st March 2007, 07:34 PM
Dies Offline
Registered User
 
Join Date: Oct 2006
Posts: 4,754
title kernel-2.6.20.1
root (hd0,5)
kernel /boot/vmlinuz-2.6.20.1 ro root=LABEL=/ rhgb quiet

Try that and if that doesn't help then go back and make sure support for your root filesystem is compiled into the kernel and not as a module.
Reply With Quote
  #3  
Old 1st March 2007, 07:57 PM
paralizer Offline
Registered User
 
Join Date: Jan 2007
Posts: 45
Still the same. I have also included every possible file system in the kernel compilation, and still the same.
I do not have this problem on my CentOS instalation.

Quote:
Originally Posted by Dies
title kernel-2.6.20.1
root (hd0,5)
kernel /boot/vmlinuz-2.6.20.1 ro root=LABEL=/ rhgb quiet

Try that and if that doesn't help then go back and make sure support for your root filesystem is compiled into the kernel and not as a module.
Reply With Quote
  #4  
Old 1st March 2007, 08:35 PM
Seve Offline
Retired Community Manager
 
Join Date: Oct 2004
Location: The GTA, Ontario, Canada
Age: 56
Posts: 12,371
Hello:
You could try and create a new initrd
mkinitrd -f /boot/initrd-2.6.20.1.img 2.6.20.1

Seve
__________________
Registered Linux User: #384977
.................................................. ............
See the Links below for more Help and those much wanted extras ... :)
Reply With Quote
  #5  
Old 1st March 2007, 09:38 PM
Dies Offline
Registered User
 
Join Date: Oct 2006
Posts: 4,754
Quote:
Originally Posted by Seve
Hello:
You could try and create a new initrd
mkinitrd -f /boot/initrd-2.6.20.1.img 2.6.20.1

Seve
That's very interesting Seve, it will not boot a "vanilla" kernel without it. I never have to use one with other distros.

But in my case I got no errors, it says uncompressing the kernel then just reboots until I use an initrd then it loads up fine. weird.
Reply With Quote
  #6  
Old 2nd March 2007, 07:12 AM
paralizer Offline
Registered User
 
Join Date: Jan 2007
Posts: 45
This fixed the problem. Thanks Seve.

paralizer

Quote:
Originally Posted by Seve
Hello:
You could try and create a new initrd
mkinitrd -f /boot/initrd-2.6.20.1.img 2.6.20.1

Seve
Reply With Quote
Reply

Tags
device, kernel, open, panic, root, sda6, unknownblock

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
F10 "Kernel panic - not syncing: VFS Unable to mount root fs on unknown-block(0,0) rcocchiararo Installation, Upgrades and Live Media 17 13th December 2008 12:41 AM
Getting "kernel panic-not syncing VFS:unable to mount root fs on unknown-block(0,0)" salil.mehta Programming & Packaging 1 31st August 2006 02:06 PM
'Cannot open root device "801"' after kernel update to 2.6.12...? rgroth Using Fedora 2 17th February 2006 03:25 PM
Kernel Panic during installation - unknown block device jon3k Installation, Upgrades and Live Media 4 14th June 2005 09:47 PM
Cannot open root device "LABEL=/" or 00:00 on 2.4.26 kernel savudin Using Fedora 4 8th June 2004 01:39 AM


Current GMT-time: 04:52 (Friday, 31-10-2014)

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
Neath Photos on Instagram - Shushi Travel Photos on Instagram - Exmouth