Linux Kernel [15]

  1. The Linux kernel is decompressed and executed.

  2. The filesystem image (root.lrp) is decompressed and loaded. A kernel patch allows a compressed filesystem here. The kernel parameter ROOT is refered to here; if it is not set right, Linux will stop with a Kernel panic: VFS: Unable to mount root fs message, since it can't find the appropriate filesystem on that disk if ROOT is specified wrong (or if the internal value of ROOT is wrong).

  3. The shell script /linuxrc is run. In most versions of LRP, this is a symbolic link to /var/lib/lrpkg/root.linuxrc The kernel patch linuxrc-always makes /linuxrc always run, instead of only when the boot-time root volume is /dev/ram0 and the true root device is different... [16]



[15] Booting the kernel is more complicated than this; in trying to use the standard boot sequence (without LRP patches) one needs to understand the Linux kernel boot process more fully. This is covered in a later section.

[16] See the later section on using a kernel without LRP patches for more details.