[SOLVED] Kernel panic-not syncing:VFS:Unable to mount root fs on unknown-block(1,0) - RHEL 6.0
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Kernel panic-not syncing:VFS:Unable to mount root fs on unknown-block(1,0) - RHEL 6.0
Hello everyone,
I am running RHEL 6.0 - 64bit
# uname -a Linux redhat6 2.6.32-71.el6.x86_64 #1 SMP Wed Sep 1 01:33:01 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
The issue I am having with my custom boot recovery media has only recently popped its ugly head with RHEL 6.0 This was not an issue with earlier releases of RHEL 5 and earlier.
Something has changed in RHEL 6.0 that is causing my custom cd to get a kernel panic during boot up.
Here is the message during boot up:
List of all partitions:
No filesystem could mound root, tried: iso9660
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0)
Pid: 1, comm: swapper Not tainted 2.6.32-71.el6.x86_64 #1
Here are my files:
isolinux.cfg
---------------
default custom
display message
prompt 1
timeout 9000
say Press ENTER to continue booting to the Custom Recovery Menu
label custom
kernel vmlinuz
append initrd=custom.img ramdisk=92160 ramdisk_blocksize=1024 root=/dev/ram0
I believe the issue could possibly be in the way I am creating my custom.img
but I am not sure.
Please let me know what other information you require.
I am willing to pay anyone who provides an accurate solution.
Last edited by localgameworld; 11-23-2011 at 05:59 PM.
/dev/ram0 always worked in the past, which has the major minor of 1,0
# ls -l /dev/ram0
brw-rw----. 1 root disk 1, 0 Sep 22 11:37 ram0
I have tried setting root=/dev/dm-0
which in turn makes my kernel panic look like this:
List of all partitions:
No filesystem could mound root, tried: iso9660
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
Pid: 1, comm: swapper Not tainted 2.6.32-71.el6.x86_64 #1
# cat /boot/grub/grub.conf
# 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/mapper/vg_redhat6-lv_root
# initrd /initrd-[generic-]version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Red Hat Enterprise Linux (2.6.32-71.el6.x86_64)
root (hd0,0)
kernel /vmlinuz-2.6.32-71.el6.x86_64 ro root=/dev/mapper/vg_redhat6-lv_root rd_LVM_LV=vg_redhat6/lv_root rd_LVM_LV=vg_redhat6/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us crashkernel=auto rhgb quiet
initrd /initramfs-2.6.32-71.el6.x86_64.img
This is a task worth money to me for your time or anyone's time to resolve this issue.
Hmm, okay...maybe some ground rules. We dont take money, we're volunteers....but thanks anyway.
Oh and, by the way, I for one enjoy doing this...beats crosswords any time!
Now, all these files above I copy over into the custom boot directory, but I do not modify any of these files.
Hmm, not sure if that could be a snag...installing rarthere than copying should be the approach...
Wow, this is a riddle...
Just to recap (just woke up, here) you've got a file system in memory/on disk that should be boot up. I guess your "creation" lives in there...ever tried burning a CD rom or putting it on a USB stick? That way it would be the only FS on that device. I doubt werther booting (grub-wise) of an in-memory FS like that is possible...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.