46 Embedded Linux System Design and Development
mounts an initrd as the root file system. If you want the kernel to load an
initrd, you should configure the kernel during the build process with the
CONFIG_BVLK_DEV_INITRD option. As previously explained, the initrd image
is loaded along with the kernel image and the kernel needs to be passed the
starting address and ending address of the initrd using command line argu-
ments. Once it is known, the kernel will mount a root file system loaded on
initrd. The file systems normally used are romfs and ext2 file systems.
There is more magic to initrd. Initrd is a use-and-throw root file system.
It can be used to mount another root file system. Why is this necessary?
Assume that your root file system is mounted on a ...