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. |
What RTOS platform is this? pl give me the architecture details.
|
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. Regards, NM04 |
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. Regards, NM04 |
Carefully apply the below things.
Step 1.)Type "root (hd0, " and press tab; you can find the available FS block type Upon collecting the the info. Apply that in the kernel part. Step 2.) kernel (hd0,1) and press tab // Use tab and you can find the available values. after collecting the value. apply that to the kernel part kernel (hd0,1)/boot/bzImage root=/dev/sda1 fastboot Step 3.) boot /boot/bzImage // Type it and in the next line enter the command boot. |
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. Regards |
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. ---------\ Also take a look at this After all if its not working. please re-install your grub with Rescatux |
prodev05,
i did as you mentioned, but still its not working, is this problem is with grub or the kernel ? Regards, nm04 |
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.
|
Quote:
|
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. Greetings, NM04 |
|
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 ?). Greetings, nm04 |
Gr8. Have fun with Embedded Linux.
|
All times are GMT -5. The time now is 12:39 PM. |