LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 01-31-2011, 12:45 AM   #1
NM04
Member
 
Registered: Jan 2011
Distribution: Back Track,Fedora,centos
Posts: 239

Rep: Reputation: 14
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 07:33 AM. Reason: Thread title modification, remove Urgent
 
Old 01-31-2011, 01:08 AM   #2
prodev05
Member
 
Registered: Jul 2009
Location: Planet Earth
Distribution: Unix & Linux Variants
Posts: 304

Rep: Reputation: 20
What RTOS platform is this? pl give me the architecture details.
 
Old 01-31-2011, 01:24 AM   #3
NM04
Member
 
Registered: Jan 2011
Distribution: Back Track,Fedora,centos
Posts: 239

Original Poster
Rep: Reputation: 14
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
 
Old 01-31-2011, 01:41 AM   #4
prodev05
Member
 
Registered: Jul 2009
Location: Planet Earth
Distribution: Unix & Linux Variants
Posts: 304

Rep: Reputation: 20
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.
 
Old 01-31-2011, 02:01 AM   #5
NM04
Member
 
Registered: Jan 2011
Distribution: Back Track,Fedora,centos
Posts: 239

Original Poster
Rep: Reputation: 14
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
 
Old 01-31-2011, 02:17 AM   #6
prodev05
Member
 
Registered: Jul 2009
Location: Planet Earth
Distribution: Unix & Linux Variants
Posts: 304

Rep: Reputation: 20
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.
 
Old 01-31-2011, 02:39 AM   #7
NM04
Member
 
Registered: Jan 2011
Distribution: Back Track,Fedora,centos
Posts: 239

Original Poster
Rep: Reputation: 14
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
 
Old 01-31-2011, 04:09 AM   #8
prodev05
Member
 
Registered: Jul 2009
Location: Planet Earth
Distribution: Unix & Linux Variants
Posts: 304

Rep: Reputation: 20
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
 
Old 01-31-2011, 04:30 AM   #9
NM04
Member
 
Registered: Jan 2011
Distribution: Back Track,Fedora,centos
Posts: 239

Original Poster
Rep: Reputation: 14
prodev05,
i did as you mentioned, but still its not working, is this problem is with grub or the kernel ?

Regards,
nm04
 
Old 01-31-2011, 07:31 AM   #10
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,541
Blog Entries: 23

Rep: Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943
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.
 
Old 02-01-2011, 12:19 AM   #11
prodev05
Member
 
Registered: Jul 2009
Location: Planet Earth
Distribution: Unix & Linux Variants
Posts: 304

Rep: Reputation: 20
Thumbs up

Quote:
Originally Posted by NM04 View Post
prodev05,
i did as you mentioned, but still its not working, is this problem is with grub or the kernel ?

Regards,
nm04
Yes Boss. Please reinstall the grub and see what happens. Before proceeding to the troubleshooting step, pl take necessary backup.
 
Old 02-02-2011, 12:10 AM   #12
NM04
Member
 
Registered: Jan 2011
Distribution: Back Track,Fedora,centos
Posts: 239

Original Poster
Rep: Reputation: 14
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
 
Old 02-02-2011, 01:53 AM   #13
prodev05
Member
 
Registered: Jul 2009
Location: Planet Earth
Distribution: Unix & Linux Variants
Posts: 304

Rep: Reputation: 20
Try this

Before performing the task, pl take proper backup.
 
Old 02-02-2011, 08:12 AM   #14
NM04
Member
 
Registered: Jan 2011
Distribution: Back Track,Fedora,centos
Posts: 239

Original Poster
Rep: Reputation: 14
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
 
Old 02-02-2011, 12:56 PM   #15
prodev05
Member
 
Registered: Jul 2009
Location: Planet Earth
Distribution: Unix & Linux Variants
Posts: 304

Rep: Reputation: 20
Gr8. Have fun with Embedded Linux.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
boot sector and lilo collapse !!!!! URGENT URGENT URGEN !!!!! frelihm Linux - Software 21 12-02-2009 11:21 AM
how to mv the files...urgent...urgent manojkarthi Programming 2 07-02-2008 03:21 AM
Urgent Question Regarding Urgent Questions! Need Help Now! Crashed_Again LQ Suggestions & Feedback 11 10-17-2007 09:07 PM
Urgent Urgent !!!! Mozilla Keeps All Your Deleted Emails !!!! odin123 Linux - Software 2 01-31-2004 03:22 AM


All times are GMT -5. The time now is 09:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration