DragonFly BSD
DragonFly users List (threaded) for 2004-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Making a bootable multi-OS DVD with bootmanager

From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Wed, 17 Nov 2004 10:31:47 -0800 (PST)

:On Mon, Nov 15, 2004 at 01:06:18PM +0000, Oliver Fromme wrote:
:> Is there a way to let the DragonFly install CD perform a
:> chroot() very early in the game, possibly even before the
:> kernel spawns the init process?  That would be extremely
:> helpful, because I could put all of the DragonFly related
:> files into a subdirectory on the DVD and let it chroot()
:> into that directory, without colliding with anything else
:> on the DVD.
:I don't think I want to hack the kernel for this, but
:teaching init to do a chroot early should be easy. The biggest
:problem is that IIRC you can't create devices from within a
:chroot, which means changes to the installer. Or a hack
:in the boot kernel to allow this :)

    It would definitely be easier for init to deal with it.  Remember
    that we have kernel environment variables (man kenv) so the loader
    can still pass the chroot path through to init.

					Matthew Dillon 

[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]