Skip to main content.

14.3.20. Adding Files to Ramdisk is Non Persistent

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

Answer:
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 ftp://ftp.denx.de/pub/LinuxPPC/usr/src/SELF/ or check out the sources for ELDK (module eldk_build from our CVS server, see http://www.denx.de/re/linux.html.

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.
14.3.19. Combining a Kernel and a Ramdisk into a Multi-File Image 1. Abstract 14.3.21. Kernel Configuration for PCMCIA
Prev Home Next