LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Embedded & Single-board computer (https://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/)
-   -   mount :could not find file system '/dev/root' (https://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/mount-could-not-find-file-system-dev-root-739141/)

AjayCelst 07-10-2009 06:22 AM

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!

**************************************************************************

syg00 07-10-2009 11:00 PM

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.

AjayCelst 07-13-2009 12:34 AM

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.


All times are GMT -5. The time now is 08:54 PM.