unable to mount the rootfs.jffs2 filesystem on linux 2.6.34 kernel.
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.
unable to mount the rootfs.jffs2 filesystem on linux 2.6.34 kernel.
hi,
i am working on
kernel : 2.6.34
board : mpc8309 tower board
problem :
i am trying to mount the jffs2 filesystem on my board,firstly i am able to create the rootfs.jffs2 image and i have dump the image to my flash and i am using the u-boot 2010.06 boot loader and its bootargs are like this
Well, first of all, it mounted what it thought was root. (the log line "VFS: Mounted root (jffs2 filesystem) on device 31:1.")
So your query title is misdirected.
Make sure that your "root" really is the root device. The most frequent failure of this type is mounting a non-root as root...
The failure reported is that the kernel could not find /sbin/init. That implies that the filesystem is either corrupt OR it isn't a root filesystem. Make sure /dev/mtdblock1 is supposed to be the root device...
Well, first of all, it mounted what it thought was root. (the log line "VFS: Mounted root (jffs2 filesystem) on device 31:1.")
So your query title is misdirected.
Make sure that your "root" really is the root device. The most frequent failure of this type is mounting a non-root as root...
The failure reported is that the kernel could not find /sbin/init. That implies that the filesystem is either corrupt OR it isn't a root filesystem. Make sure /dev/mtdblock1 is supposed to be the root device...
hello jpollard
Thanks for your reply, but i am mounting as the root user only, and can you please tell me how to know weather the rootfs.jffs2 file is in corrupted or not.
Look to see if init is present where it needs to be.
If it isn't, then the system can't finish the startup.
The problem is that a root filesystem MUST have init. That isn't the only thing it needs - it also needs the libraries, tools, device directories...
Without init, the system can't run.
init is been present in the /etc/ directory and talking about libraries, with the same libraries it works with ramdisk but it is not working with jffs2.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.