Pivot_Root & RAMDisk Boot
Pivot_Root & RAMDisk Boot
- Subject: Pivot_Root & RAMDisk Boot
- From: Shao Miller <email@hidden>
- Date: Wed, 09 Aug 2006 18:09:35 -0400
- Thread-topic: Pivot_Root & RAMDisk Boot
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden