Kernel Panic: Unable to mount VFS
Hello,
i started a fresh slackware 10.2 install and i wanted to use the 2.6.13 kernel that came with the download. long story short, i compiled the 2.6.13 kernel, did the usual and i get this error msg at boot (reconstructed from memory): Kernel Panic: Unable to mount VFS or uknown-block (3, 5) please specify a correct "root=" option at boot i've googled around and tried the two solutions most often proposed: removing "read-only" from the relevant section in lilo.conf creating an initrd with a module for reiserfs. i've tried both and no dice. the relevant section of my lilo.conf: Code:
label = Kernel_2.6 i'm at the end of my wits. can anyone help? |
have you tried compiling the kernel with reiserfs support built-in, such that no initial ramdisk is needed??
also, why don't you give the latest 2.6 version a shot (2.6.15.1 at the time of this post)?? |
hello.
i have support for ext2/3 and reiserfs all baked into the kernel. i saw a forum which suggested disabling advanced partitioning and tried that as well. still no dice. reason i wont download the lastest kernel is because of several horrow stories floating around about slack 10.2 and said kernel version. besides, i'm bandwidth-limited :) |
I'm running 2.6.15 w/10.2 . I had no problems with it. The "Horror" stories are from those who don't compile correctly. The 2.6.13 is fine too. Boot with 2.4, and try to compile again. Make sure that reiserfs is NOT a module. Should boot then
|
I've recompiled as you've said but still nothing.
I decided to do the whole thing over again and the result is the same. Just in case i did something wrong here's what i did: 1.) installed the following packages from my slackware DVD: Code:
kernel-source-2.6.13-noarch-1.tgz 3.) disabled option for advanced partition selection (because so many forums point to this as the culprit) 4.) compiled kernel 5.) edited lilo.conf to have Code:
label=kernel2.6 The error message i get is Code:
VFS: Cannot open root device "305" or unknown-block (3, 5) |
Quote:
|
Wait. hda5? Can't have more than 4 primary partitions, I think, and make it bootable.....I remember something somewhere about that....
|
Quote:
If you just want to run a 2.6 kernel, the slackware compile works great for most people. Just follow the instructions in README.initrd (in the same directory as the kernels). Regards, Jacob |
run fdisk /dev/hda and then print the partitions
are you sure the installed partition is bootable |
Quote:
and win32sux, yes, i am positive my / is on /dev/hda5. thanks, though |
shotwellj, will try that out soon.
|
ok, this is just getting out of hand.
I downloaded the 2.6.15.1 kernel from kernel.org and unpacked it to /usr/src/linux-2.6.15.1 and changed the /usr/src/linux symlink accordingly. so now i did #make menuconfig and it tells me it can't find asm-generic/errno.h. The exact message: Code:
HOSTCC scripts/basic/split-include this is really driving me nuts, it's never happened before. perhaps i have a botched install? |
Did you run make clean before make menuconfig? Sometimes that helps.
I had the kernel VFS error recently when building a 2.6.14.1 kernel. I was going throught the partition options disabling what I thought I didn't need. Turns out I needed to keep the DOS partition support in order for the kernel to recognize the drive. This is on a laptop with just an hda1. It originally had XP until I dumped it and completely reformatted as ext3. With no trace of M$ it still needed that option. Might be worth a try enabling DOS partition support as builtin. |
You need to include the reiserfs fs in the kernel, not as a module, which you have done. You also need disk support, ide, etc built into the kernel as well, not as a module. Otherwise the kernel does not know what a ide hard drive is!
You also need ramdisk support built into the kernel as well since slack uses it to boot the image. Unless you have edited grub or lilo not to of course. :) |
i got sick of thinking it was a flawed install so i wiped my linux partitions clean and started over. downloaded kernel 2.6.15.1 source and compiled, same error.
i have a hunch it's got something to do with SATA. i'm trying to install on an asus z71v laptop. the thing with this laptop is that it can take either a sata or a pata hard drive using a changeable adapter. when i use the test26.i kernel from my slackware dvd, the drive is reported as sata, on 2.4.31, it says otherwise. On the other hand, this may not be an issue since i think SATA and PATA operate using the same interface. so anyway, this is wishful *bump* hoping someone might have an answer. |
All times are GMT -5. The time now is 02:17 AM. |