[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!
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.
Problem VFS : unable to mount root fs unknown-block(2,0)
hello experts,
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:
default 0
timeout 5
title Wind River Linux
root (hd0,0)
kernel (hd0,0)/boot/bzImage root=/dev/sda1 fastboot
boot /boot/bzImage
#kernel (hd0,0)/boot/bzImage_0411_addr_range root=/dev/sda1 fastboot
#boot /boot/bzImzge_0411_addr_range
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 06:33 AM.
Reason: Thread title modification, remove Urgent
prodev05,
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.
prodev05,
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.
prodev05,
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.
prodev05,
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 ?).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.