I guess I never really read the docs (I learned it from a
boot-loader-writer's perspective), but basically, this is the idea:
- Use a boot loader such as recent versions of SYSLINUX, LILO, or
LOADLIN to load the kernel and the initrd. If you're loading from a
floppy, I would strongly suggest looking at SYSLINUX, but I'm of
course biased.
- When the initrd comes up, it will run /linuxrc (usually a shell
script) on that disk.
- /linuxrc will typically write the device number of the real root
device to /proc/sys/kernel/real-root-dev
- When /linuxrc exits, the kernel will mount the real root device and
continue.
-hpa
-- PGP: 2047/2A960705 BA 03 D3 2C 14 A8 A8 BD 1E DF FE 69 EE 35 BD 74 See http://www.zytor.com/~hpa/ for web page and full PGP public key I am Bahá'í -- ask me about it or see http://www.bahai.org/ "To love another person is to see the face of God." -- Les Misérables- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu