LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Kernel Panic:VFS:can not mount root fs (https://www.linuxquestions.org/questions/linux-general-1/kernel-panic-vfs-can-not-mount-root-fs-486432/)

avinash_goud 09-24-2006 02:44 AM

Kernel Panic:VFS:can not mount root fs
 
I don't what is this problem,,,I wil try to clear you the problem..

See My HDD wil mount properly as ST380011A
But some times it wil mount as @RT380011A or QT380011..which can
create a problem..

Now i didn't recognise how my HDD is mounted..It was mounted as
@RT380011A...And it created a problem...The entire problem is it can
not execute the excutable files...i reboot my machine..i checked the
BIOS properly..Now it is mounted as ST380011A..My bootloader is
proper..

The error what i am getting in the bootsequence is
sh-2021:reiserfs_read_super:can not find reiserfs on ide0(3,7)
kernel panic:VFS:Unable to mount root fs on 03:07

My linux partition is /dev/hda8..i am using slackware...


Suggest me please..I am getting this problem from many time..I hv
re-installed many times..Suggest me how i can fix it....

And one more..I booted my machine using knoppix..I checked the linux
partition using fsck..no errors were reported..then i mounted this
filesystem..i tried to change the root using chroot..It didn't
worked..the error was
can not execute /bin/sh file...(even though the file is present)

kilgoretrout 09-25-2006 11:43 AM

I'm not sure I follow your problem, but I'll try and do my best. Try booting with knoppix and check your slackware /etc/lilo.conf file. Make sure the root partition is set for hda8.
Your error message indicates that lilo is looking for a root partition on hda7("can not find reiserfs on ide0(3,7)").
Edit lilo.conf if necessary so root=/dev/hda8. Then run the following in a console:

$ su
# umount /dev/hda8
# mount -t reiserfs /dev/hda8 /media/hda8
# chroot /media/hda8
# lilo -v

The chroot command should work in knoppix if you umount and remount like the above. Reason - knoppix mounts all partitions "nodev" for safety reasons which prevents chroot from running properly. Unmounting and remounting like the above gets around this.

avinash_goud 09-26-2006 04:15 AM

ya..i don't think i have cleared my problem..
See now the problem has changed into different condition..I checked my linux partiton using reiserfsck in knoppix...All the the data that was present in my / (mount point) has now moved on lost+found directory...Infact the size of lost+found directory is more than 3GB..How can i recover all the usefull data and libraries from this directory...The sub-directories in the lost+found directory contains symbols,which contain the useful data...Now i guess i have cleared the problem

tp11235 10-12-2006 04:40 PM

I had the same problem and it was because I had not compiled in support for my IDE chipset during make menuconfig.

Check the settings under ATA/ATAPI/MFM/RLL Support for your particular chipset.

Without IDE support the kernel cannot run the harddisk.


All times are GMT -5. The time now is 08:36 AM.