[SOLVED] Problem VFS : unable to mount root fs unknown-block(2,0)
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Problem VFS : unable to mount root fs unknown-block(2,0)
I have a wind river linux installed on a IDE disk, whenever i boot it, it says:
ROOT NFS:No NFS server available, giving up.
VFS: unable to mount root fs via NFS, trying floppy.
VFS: cannot open root device "sda1" or unknown- block(2,0).
Please append a correct "root=" boot option;here are the available partitions:
kernel panic- not syncing: VFS : unable to mount root fs unknown-block(2,0). some times unknown block is (8,1).
the menu.lst file looks like this:
title Wind River Linux
kernel (hd0,0)/boot/bzImage root=/dev/sda1 fastboot
#kernel (hd0,0)/boot/bzImage_0411_addr_range root=/dev/sda1 fastboot
i want to install new kernel of wind river linux, i tried to mount usb disk but it is not working.
Any help is appreciated.
thanx in advance.
Last edited by onebuck; 01-31-2011 at 07:33 AM.
Reason: Thread title modification, remove Urgent
it is another distribution of linux developed by wind river corporation based in US, and named it as wind river linux.
I don't know much about the architecture, as because I am also new to this distribution. Please help, i want to resolve this problem.
Its a RTOS based version. I worked in that with Motorola receiver box. So only asking about that.
Hope you are using grub boot loader. Follow the below steps.
Step 0.) type the below mentioned command in the grub prompt one by one.
Step 1.) root (hd0,0) // You would get the boot block FS type
Step 2.) kernel (hd0,0)/boot/bzImage root=/dev/sda1 fastboot // You would get a hex value
Step 3.) boot /boot/bzImage // You would get a hex value
Step 4.) boot // After entering boot command in the grub, your os should boot properly.
If any of the steps shows any error. Just paste the error here.
the first two step worked as you mentioned but in the 3rd step i got the error. In the 3rd step it tried to boot and gave me the same error as i have mentioned in my first post (please refer to the first post of this thread):
unable to mount root fs on unknown block (2,0).
one more thing in this error it also says that " here are the available partitions :" but it never shows the patition.
Soory to say but i am a newbie, can you please tell me how to apply it to the kernel part....
also executing 1st step i get 2 partitions:
Partition:0, filesystem type is ext2fs,partition type is ox83
Partition:1, filesystem type is unknown,partition type is ox82
upon execution of 2nd step nothing appears, as you have mentioned.
Partition:0 is the correct one for root command's parameter, for example root(hd0,0)
When come to kernel part(means loading the kernel)
kernel (hd0,1)/boot/ -> type up to this you type and press tab. rest of the line should get completed by filling the kernel. later you have to type the root disk option(root=/dev/sda1), for example (kernel (hd0,1)/boot/bzImage root=/dev/sda1 fastboot)
When come to the boot part
boot /boot/ -> type up to this and press tab. rest of the line would load completely.
Please use a descriptive title for your thread excluding words like 'urgent' or 'help'. Using a proper title makes it easier for members to help you. This thread has been reported for title modification. Please do not add replies that address the thread title.
I appreciate all your help and thank u for that, but as i told u that i am a newbie, and i dont know how to install grub, i searched many pages on the internet but didn't found anything which i can follow, can you please guide me to install the grub or paste a link which will give me a step by step guide.
one more thing when i mounted the disk on fedora8 I am able to access the disk.
hey genius, thanx for all your help and support. you wont believe but i changed the cabinet for that HDD and it worked. Now my system is up and running, but still need to be tested (for how long it remains up ?).