Cramfs root file system startup

Source: Internet
Author: User
Cramfs root file system startup-general Linux technology-Linux programming and kernel information. For more information, see the following. Bamboo, hello:
I used the YL2410 Development Board and recently wanted to create a cramfs and file system, for more information about how to create a cramfs File System my_rootfs.cramfs, see the root file system of a well-known online document "Linux system transplantation". busybox uses 1.1.3. After writing my_rootfs.cramfs to the Board, it is found that the root file system cannot be started (both bootloader and kernel have not changed, and the kernel in the original CD is 2.6.8). The following is the error message of the Super Terminal:
............................ (The above is a simple example)
VFS: Mounted root (cramfs filesystem) readonly.
Mounted devfs on/dev
Freeing init memory: 124 K
Kernel panic: No init found. Try passing init = option to kernel.
Then it stops. I have found many information about the last row on the Internet, but it seems that they have not been resolved. Some say they have not copied library files, I copied the library file to the/lib directory of the file system, and the above error message is also displayed (in fact, only starting the root file system does not need to copy the library file, because busybox chose static Compilation When making menuconfig ). How can this problem be solved?

By the way: the original startup parameters of the Board are root = 1f02, init =/linuxrc, console = ttyS0, 115200 devfs = mount, display = sam240
Changed to: noinitrd root =/dev/mtdblock2 init =/linuxrc console = ttyS0, 115200
However, when starting, the Board still runs the original startup parameter. As long as the startup parameter has noinitrd, the Board does not recognize it and starts the original one, remove noinitrd, that is, the startup parameter is root =/dev/mtdblock2 init =/linuxrc console = ttyS0, and 115200 appears:
Kernel panic: No init found. Try passing init = option to kernel.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.