LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices


Reply
  Search this Thread
Old 07-10-2009, 06:22 AM   #1
AjayCelst
LQ Newbie
 
Registered: Jul 2009
Location: Bangalore, INDIA
Distribution: Centos 5.2
Posts: 20

Rep: Reputation: 0
mount :could not find file system '/dev/root'


Hi All,

I am a newbie to Linux kernel configuration. I have configured the kernel 2.6.18 and planning to boot the kernel along with the initrd image on QEMU(hardware emulator).But i get this kind of error which is shown below.

Please inform how to resolve this issue ASAP
Any help would be greatly appreciated

Thanks.

*************************************************************************
mount: could not find filesystem '/dev/root'
Setting up other filesystems.
Setting up new root fs
setuproot: moving /dev failed: No such file or directory
no fstab.sys, mounting internal defaults
setuproot: error mounting /proc: No such file or directory
setuproot: error mounting /sys: No such file or directory
Switching to new root and running init.
unmounting old /dev
unmounting old /proc
unmounting old /sys
switchroot: mount failed: No such file or directory
Kernel panic - not syncing: Attempted to kill init!

**************************************************************************
 
Old 07-10-2009, 11:00 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,140

Rep: Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123
Something is missing from your initrd - driver for disk, or the filesystem support. Personally I build as much as possible into the kernel itself to avoid these sort of issues - don't know how that might impact on embedded.
 
Old 07-13-2009, 12:34 AM   #3
AjayCelst
LQ Newbie
 
Registered: Jul 2009
Location: Bangalore, INDIA
Distribution: Centos 5.2
Posts: 20

Original Poster
Rep: Reputation: 0
Thanks for the reply.
But i am using a CentOS distro to create the kernel and initrd image 2.6.18.

Right now i do not have a target board to test the test the image.Hence i am using QEMU.

Which are the modules do u think should be added to the kernel to overcome this errors?
What is the procedure you follow to create initrd image ?
Please throw some more light on ur last reply.
 
  


Reply



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
FC6: "mount: could not find filesystem '/dev/root'" sancho Fedora - Installation 17 09-02-2016 12:42 AM
Retrieving semi-formatted data: Kernel Panic (cannot find file or dir /dev/root) majorGrey Linux - General 2 09-05-2007 04:02 AM
FC6: "mount: could not find filesystem '/dev/root'" cheerful Fedora - Installation 2 07-27-2007 03:36 PM
FC5t3 error: mount: could not find filesystem '/dev/root' pathall Fedora 1 03-10-2006 10:39 PM
Boot Error: Root file system /dev/root adtomar Linux - Networking 0 12-27-2004 10:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 05:39 AM.

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
Open Source Consulting | Domain Registration