[gobolinux-users] Mounting /Programs on another partition

Hisham Muhammad hisham.hm at gmail.com
Fri Mar 23 20:33:09 UTC 2007


On 3/9/07, Nick Matteo <kundor at kundor.org> wrote:
> I've been thinking about this a little.  You could avoid the need for
> any Programs on the root device by using an initramfs.
>
> An initfs is an initial root directory built into your kernel image.
> Its job is to set up the real filesystem, and hand control over to it.
>  That way, the kernel doesn't have to worry about finding partitions,
> loading the right modules, mounting over networks, etc. in order to
> have a working root.
>
> In this case, the init in the initfs would just need to mount the real
> root, then mount the /Programs partition under it, then pivot_root and
> hand control over to the normal init.
>
> I think all you would need in the initfs image would be
> -that init program
> -klibc
> -any modules necessary to mount / and /Programs

Well, this is basically what the LiveCD boot does. It's a small
busybox-based image. Could definitely work on an installed system as
well.

-- Hisham


More information about the gobolinux-users mailing list