DENX . DULG . AddingFilesToRamdiskIsNonPersistent

14.3.20. Adding Files to Ramdisk is Non Persistent

I want to add some files to my ramdisk, but every time I reboot I lose all my changes. What can I do?

To add your files or modifications permanently, you have to rebuild the ramdisk image. You may check out the sources of our SELF package (Simple Embedded Linux Framework) to see how this can be done, see for example or check out the sources for ELDK (module eldk_build from our CVS server, see

See also section 14.4.1. How to Add Files to a SELF Ramdisk for another way to change the ramdisk image.

For further hints about the creation and use of initial ramdisk images see also the file Documentation/initrd.txt in your Linux kernel source directory.

----- Revision r1.1 - 29 Jul 2003 - 16:49 - Main.adm
Copyright © 2002-2021 by DENX Software Engineering