Pivot_Root & RAMDisk Boot
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Thread-index: Aca8AH9lvcH6lCfzEduWGwARJIDK8g== Thread-topic: Pivot_Root & RAMDisk Boot User-agent: Microsoft-Entourage/11.2.3.060209 Good day everyone, I have searched the Internet for information about Mac OS X & / or Darwin booting from a RAMDisk. The platform I am pursuing is PPC (for now). I am very familiar with the Open Firmware environment, and the behind-the-scenes of processes like NetBoot. I would like to be able to load a file either / both from a partition & / or from the network to memory, and have that file's contents serve as a RAMDisk root device for Darwin to boot from. I do not care if the kernel extensions cache has to be stored separately from this RAMDisk file or if it has to be included in the RAMDisk's filesystem. Does anyone know how to do this? What sorts of kernel args might do the trick, etc.? Failing the possibility to boot Darwin from a RAMDisk, I cannot seem to find any information about a Linux-like pivot_root function. If I could boot a minimal Darwin from a partition on a USB stick, then build or load a RAMDisk with more stuff, I would like to chroot to the RAMDisk mount and be able to remove the USB stick, which is what Linux' pivot_root is good at. I wonder if this is at all possible, does anyone know? I am interested in doing these things with Darwin 8.7.0. Thanks for any help or advice! - Shao Miller _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
Shao Miller