I am trying a second time to update my slackware 9.1 kernel from 2.4.22 to 2.6.2:
At bootup using the new bzImage262 file I receive the error message:
"VFS: Cannot open root device "loop7" on unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on unknown-block(0,0)"
Anybody recognise this type of error?
Thanks for you help.
Unable to mount root fs on /dev/hda2
i'm getting a similar thing with 2.6.2 it was telling me no UFS filesystem was found?!? and i just tried again with 2.6.3. and now it says UDF FS no partition found. which is wack because it's an ext3 filesystem. it works fine under 2.4.x but 2.6 can't seem to figure anything out.
i might go back to using 2.5.70, when that came out it worked fine with my filesystems.
this is with the following:
VIA KT266/A/333
Slackware current
I solve this problem on
I solve this problem on Debian with 2.6.21 kernel. If you compile kernel with "Initial RAM filesystem and RAM disk (initramfs/initrd) support" (General│setup) option enable, you must run "make-kpkg kernel_image" comand with --initrd option. Or just disable this initial RAM support in menu.
Also unable to mount FS with Slackware 9.1 and 2.6.2 kernel
I upgraded to 2.6.0 and 2.6.1 without any problem by using "make oldconfig" with my existing .config file from 2.4.24 (using Slackware 9.1). But then using "make oldconfig" with 2.6.2 resulted in the same inability to mount the filesystem that you describe. I then tried using a the default .config file with 2.6.2 but with the same result. I also find I cannot use make xconfig or make gconfig with 2.6.2, even though the necessary libraries are there.
I upgraded my computer at work to 2.6.2 using the old .config files without any problem. That computer is a Dell Pentium (2.2 gHz, I think) also using Slackware 9.1. The home computer (the problematic one) is a 850 MHz Duron in a Abit KT133A motherboard.
Can anyone shed any light on this? Any help would be greatly appreciated.
mounting
it seems like you need to include devfs in the kernel. seems strange if devfs is now 'old'. this got rid of the unable to mount on (18,0) or whatever number, and instead gives me now the unable to mount on hdc6 error.
unable to mount FS with Slackware 9.1 and 2.6.2 kernel
Check your .config and look for CONFIG_BLK_DEV_IDE and CONFIG_BLK_DEV_IDEDISK entries.
kernel panic
I get the same message! In my .config file :
CONFIG_IDE=y
CONFIG_BLK_DEV_IDE=y
compiled the Kernel 2.6.8 from debian source sarge
still unable to mount root fs on unknow block (0,0)
i had enabled the entries
CONFIG_BLK_DEV_IDE=y and CONFIG_BLK_DEV_IDEDISK=y, but still iam getting the error message at the boot time : unable to mount root fs on unknown block(0,0)....
can any one plz help me...
regards
satya
not all fs options
it seems like you dont add all needed modules in your kernel's config
fyi
I used the Debian 3.0-CD successfully on the same server that now refuses to boot after a new installation:
"Kernel panic: VFS: Unable to mount root fs on ..."
It's not possible to remove ext2 from the kernel with the installation program, and since it can install the whole system onto the disk, it has no problems using ext2.
I dunno.. maybe it's the partition sizing. That's the only thing I change manually.
vfs: unable to mount blah blah
I had this error after compiling a 2.6.5 kernel (going from 2.4.22)
I am using grub and the fix was luckily easy for me. I had to change my grub config from this:
----------------------
title Fedora Core (2.6.5)
root (hd1, 0)
kernel /2.6.5/bzImage ro root=LABEL=/ hdb=ide-scsi
---------------------------------------------------------
to this:
-----------------------
"""""""""""""""""""""""
root (hd1,0)
kernel /2.6.5/bzImage
------------------------------------------------------
Hope this helps someone like me, who didn't know what to do :)
it worked for me. Thanks.
it worked for me. Thanks.
vfs: unable to mount blah blah
It worked for me, too. Just update the GRUB config file like above.
it's work for me too
thanks
but who can tell me why?
error:unable to mount root fs on unknown block(8,3)
i am using fedora core2 and i want to update it to fedora core4.
so i tried with new installation that time io getting this error.
error:unable to mount root fs on unknown block(8,3)
couldn't found image on RAM '0'
append correct option in "root="
what i have to do if anyn one know plz reply
Yay! But WHY?? WHHHHY?
Strange... This worked very well, thank you so much, but I wonder... is having the kernel not set to ro (read only) a bad thing?
I liked this forum so much...
I decided to go non-anonymous! It takes a lot to push my laziness out of the way and fill in some fields!
I found the solution!
I decided to get my name on the board too. I had the original FC2 .config file. Comparing them shows that the Ramdisk size is too small.
Default it's 4096 but in FC2 it's 16384. So the Ramdisk section should look like this:
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_SIZE=16384
CONFIG_BLK_DEV_INITRD=y
I found out because I got a ramdisk error just above the VFS kernel panic.
Regards, Enok
ramdisk
I worked perfekt for me
thanks
respect++; this same error h
respect++;
this same error has pissed me off for the past week.
the fix was effective in 30 seconds.
I could answer you
I had this problem, but i used the software called SUPERGRUB, find it in google, i guess that this fail is because certain software that we installed they make changes in the grub list, e.g, i used another type of boot in ubuntu grub, i set an image and colors in the grub list, and i think that it made that error.
Please, give us a north in this case..... but SUPER GRUG could be a solution for u too =)
cheers.... excuse my english.
pls help me
i am new to Linux and really don't know doing stuffs with Linux. I have the same trouble u just solved. pls help me, how do i change the config file?
i'll b grateful, thx in advance.
SKJoy2001@Yahoo.Com
One year later, your message
One year later, your message save my life :)
Thanks, thanks, thanks again... I was trying to make this box boot since 2 weeks... Just removing the "ro root=..." correct the problem.
buy alphabet blocks
Get info for you! buy alphabet blocks
higley eye care
These information is very important - higley eye care
Re: "Kernel panic: VFS: Unable to mount root fs on ..."
I meet the same error. I use slackware 10.0. After compile 2.6.13 and reboot. the error is show:
"Kernel panic: VFS: Unable to mount root fs on ..."
lucky, grub can solve this problem.
I use lilo . Is anyone know how to solve when using lilo.
thank you so much
it didn't work!!!
but the error message changed./....
now, it is
VFS: cannot open root device "" or unknown-block(253,0)
Please append a correct "root=" boot option
...............
...........
weired! from where comes the (253,0)?? it was unknown-block(0,0) before i made the change...
Ontrack DDO
I guess i'm the only one with this partcular case:
I have a 80 GB disk in a Pentium 2 and therefore i have the Ontrack DDO bios-extension on this disk. This is not autodetected anymore in 2.6.
Since i also have ReiserFS on this root partition you might imagine how long it took to figure this out.
Adding the boot argument hda=remap63 worked for me.
Well, for now at least with the default Deian sarge kernel.
Forgot: ReiserFS complaining
Forgot:
ReiserFS complaining: ReiserFS_fill_super: No reiserfs found on hda1
Next:
Kernel panic: trying to kill init.
On my own compiled kernel it says:
VFS:Unable to mount root fs on unknown-block[3,1]
Haven't solved that one, but now i know where to find it.
And with default Debian i meant de 2.6.8 kernel wich is installed if you choose it.
Default of Debian Sarge is 2.4
Fix for this
Just came across this problem, and the fix.
Since I'm running on Ubuntu I added --initrd to my make-kpkg and that's all it took.
Basically I think it means that your set up needs an initrd - use mkinitrd.
Hope this helps,
Tim
I was seeing the same kernel
I was seeing the same kernel panic and I wasn't sure how to use mkinitrd to fix this problem. I'm installing a new 2.6.12.3 kernel on ubuntu so I used
mkinitrd -o /boot/initrd.img.2.6.12.3 2.6.12.3
It's important to put the 2.6.12.3 at the end of the line, or the image created is just for the currently running kernel.
Then I changed the initrd line in my menu.lst to point to the new initrd.img and my system booted ok.
mkinitrd wereked for me...
dude this totallly worked. it didn't work on my dual boot laptop, but on a POS p3 in the office, this is the solution to upgrade from 2.4 to 2.6!!!
thnk you
(i'm startin g to enjoy a transition from freeBSD to linux {:gulp:})
kernel panic:
Please, in reference to your thread posted. could you explain how you modifed your menu.lst to include the mkinitrd -o ... and then pointing to your new initrd.img. thanks
"root=LABEL=XYZ" explanation
Removal of this is what makes things work. You may also need to point it to the real root device ("root=/dev/hda4" for example).
This "thing" is, AFAIK, one of RedHat's worst ideas. Maybe it was thought of a way of simplifying fstab editing for newbies, but it sure messes up things. I really have no idea how they have done this, but, as long as using the old initrd doesn't fix the problem when updating kernel, I suppose the patched the kernel. Even if it worked without kernel patching, it would have meant that using an initrd was absolutely necessary. Maybe someone can provide more info on this.
The "ro" thing doesn't change the situation. It merely means that the kernel will mount the root as read-only, leaving read/write remounting to the distro's specific boot scripts. This is a good idea since a very very early fs-specific bug/crash/mumbo-jumbo won't damage the filesystem. The scripts can fsck the filesystem prior to remounting R/W.
RedHat makes work of newbies
RedHat makes work of newbies more simple. Not for advanced users :)
Posible solution
if the grub is well and you have selected with * your file sistem suport (ext2, ext3, reiserfs..) probably you may to select whith * the:
ATA/ATAPI/MFM/RLL support --->
<*>generic/default IDE chipset support
its in my case that i have IDE and not SCSI or SATA
Moving from Fedora Core 3 to Fedora Core 2 - Kernel Panic: VFS:
Hello! I reviewed most of the comments on trying to resolve the kernel panic issue. However, in my case it didn't work. I am wondering if I need to rebuild the MBR to move from Fedora Core 3 to Fedora Core 2.
SUPER GRUB software could be a solution!!!
I had this problem, but i used the software called SUPERGRUB, find it in google, i guess that this error is because certain software that we installed they make changes in the grub list, e.g, i used another type of boot in ubuntu grub, i set an image and colors in the grub list, and i think that it made that error.
Please, give a north in this case..... but SUPER GRUG could be a solution for u =)
cheers.... excuse my english.