OK, for completion's sake,<div><div>  let pkgs = pkgs @ [ "libc6" ] in</div><div>  let pkgs = pkgs @ [ "libncurses5" ] in</div><div>  let pkgs = pkgs @ [ "libselinux1" ] in</div><div>  let pkgs = pkgs @ [ "libblkid1" ] in</div>
<div>  let pkgs = pkgs @ [ "module-init-tools" ] in</div><div>  let pkgs = pkgs @ [ "libuuid1" ] in</div><div>  let pkgs = pkgs @ [ "libreadline6" ] in</div><div>  let pkgs = pkgs @ [ "libacl1" ] in</div>
<div><br></div><div>was sufficient to boot into userspace.  Now I'm hitting a bunch of interesting problems:</div><div><div>/proc/uptime: No such file or directory</div><div>Starting /init script ...</div><div>warning: can't open /etc/fstab: No such file or directory</div>
<div>mount: mount point /sys does not exist</div><div>cannot open /dev/null</div><div>Cannot access the Hardware Clock via any known method.</div><div>Use the --debug option to see the details of our search for an access method.</div>
<div>SIOCSIFADDR: No such device</div><div>eth0: ERROR while getting interface flags: No such device</div><div>SIOCADDRT: No such process</div><div>  Failed to find sysfs mount point</div><div>  read_urandom: /dev/urandom: open failed: No such file or directory</div>
<div>  Failed to find sysfs mount point</div><div>  read_urandom: /dev/urandom: open failed: No such file or directory</div><div>/init: line 73: /sys/block/vd*/queue/rotational: No such file or directory</div><div>ls: error while loading shared libraries: libacl.so.1: cannot open shared object file: No such file or directory</div>
<div>rootfs / rootfs rw 0 0</div><div>proc /proc proc rw,relatime 0 0</div><div>/dev/root / ext2 rw,noatime,errors=continue 0 0</div><div>/proc /proc proc rw,relatime 0 0</div><div>  Failed to find sysfs mount point</div>
<div>  read_urandom: /dev/urandom: open failed: No such file or directory</div><div>  Failed to find sysfs mount point</div><div>  read_urandom: /dev/urandom: open failed: No such file or directory</div><div>  Failed to find sysfs mount point</div>
<div>  read_urandom: /dev/urandom: open failed: No such file or directory</div></div><br><div class="gmail_quote">On Fri, Aug 12, 2011 at 11:46 AM, Richard W.M. Jones <span dir="ltr"><<a href="mailto:rjones@redhat.com">rjones@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On Fri, Aug 12, 2011 at 11:22:01AM -0700, David Konerding wrote:<br>
> On Fri, Aug 12, 2011 at 11:03 AM, Richard W.M. Jones <<a href="mailto:rjones@redhat.com">rjones@redhat.com</a>>wrote:<br>
><br>
> > On Fri, Aug 12, 2011 at 10:45:48AM -0700, David Konerding wrote:<br>
> > > I see, so you're suggesting I just manually add a package to pkgs right<br>
> > > after<br>
> > ><br>
> > <a href="http://git.annexia.org/?p=febootstrap.git;a=blob;f=febootstrap_debian.ml;h=4aa7389657aedf281a6aa908984a02891de801be;hb=HEAD#l47" target="_blank">http://git.annexia.org/?p=febootstrap.git;a=blob;f=febootstrap_debian.ml;h=4aa7389657aedf281a6aa908984a02891de801be;hb=HEAD#l47</a><br>

> ><br>
> > Yup, something like:<br>
> ><br>
> >  let pkgs = pkgs @ [ "libc6" ] in<br>
> ><br>
> ><br>
> Thanks for all the help.  I can confirm that shoehorning libc6 in allows<br>
> invoking init.  The next step is /bin/sh failing to run because<br>
> libncurses.so.5 can't be loaded.<br>
<br>
</div>Another thing to do would be to modify the grep command here:<br>
<br>
<a href="http://git.annexia.org/?p=febootstrap.git;a=blob;f=febootstrap_debian.ml;h=4aa7389657aedf281a6aa908984a02891de801be;hb=HEAD#l37" target="_blank">http://git.annexia.org/?p=febootstrap.git;a=blob;f=febootstrap_debian.ml;h=4aa7389657aedf281a6aa908984a02891de801be;hb=HEAD#l37</a><br>

<br>
in order to make it include all the Depends and Pre-Depends packages<br>
(assuming that ncurses is amongst those).<br>
<div class="im"><br>
Rich.<br>
<br>
--<br>
Richard Jones, Virtualization Group, Red Hat <a href="http://people.redhat.com/~rjones" target="_blank">http://people.redhat.com/~rjones</a><br>
</div>Read my programming blog: <a href="http://rwmj.wordpress.com" target="_blank">http://rwmj.wordpress.com</a><br>
Fedora now supports 80 OCaml packages (the OPEN alternative to F#)<br>
<a href="http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora" target="_blank">http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora</a><br>
</blockquote></div><br></div>