Messages in this thread |  | | From | Bernd Eckenfels <> | | Subject | Re: pivot_root & linuxrc problem | | Date | Sat, 17 Mar 2001 00:33:17 +0100 |
| |
In article <Pine.LNX.4.33.0103160822350.1057-100000@mikeg.weiden.de> you wrote: > Aha.. so that's it. I've never been able to get /linuxrc to execute > automagically. I wonder why /linuxrc executes on Art's system, but > not on mine. I can call it whatever I want and it doesn't run unless > I explicitly start it with init=whatever.
linuxrc is executed iff:
CONFIG_BLK_DEV_INITRD is defined you actually have a initrd mounted /dev/console can be found and opened a executable "/linuxrc" is in the ramdisk
Note: initramdisks need to be set up and prepared by your boot loader or with the right structure on your boot media. You also need to have a filesystem on the initrd which the kernel can detect without modules. But kernel does not need to be able to read from the boot device since the image is read by bootloader (e.g. boot-prom or 16bit bios).
Greetings Bernd - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |