This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Root File system less than 5 MB

Hi,

Can anyone provide me procedure for How to create root file system of less than 5 MB in Linux.

Thanks & Regards

Jitendra

  • Check this link: http://processors.wiki.ti.com/index.php/Creating_a_Root_File_System_for_Linux_on_OMAP35x

    You would obviously need to select carefully on what you want to be included in your filesystem.

  • Creating a root file system from scratch is pretty tedious., cross-compiling packages, symbolic links, device files, etc. From what I've seen, most embedded programmers will use the "BuildRoot" system to build u-boot, kernel and/or root file system. You'll have to check if "BuildRoot" has a configuration for your HW.

    TI provides some pre-built root _FS as part of their Arago project.at "http://arago-project.org/files/releases". The "arago-base-image-arago" version uses about 10MB. In theory, you can delete programs from the pre-built images to get under 5MB. Saving the changed file system is another matter. I'll echo Sanjeev comment that you have be careful on what not to include. The boot process may require something that you did not include.