OK, for completion's sake, let pkgs = pkgs @ [ "libc6" ] in let pkgs = pkgs @ [ "libncurses5" ] in let pkgs = pkgs @ [ "libselinux1" ] in let pkgs = pkgs @ [ "libblkid1" ] in let pkgs = pkgs @ [ "module-init-tools" ] in let pkgs = pkgs @ [ "libuuid1" ] in let pkgs = pkgs @ [ "libreadline6" ] in let pkgs = pkgs @ [ "libacl1" ] in was sufficient to boot into userspace. Now I'm hitting a bunch of interesting problems: /proc/uptime: No such file or directory Starting /init script ... warning: can't open /etc/fstab: No such file or directory mount: mount point /sys does not exist cannot open /dev/null Cannot access the Hardware Clock via any known method. Use the --debug option to see the details of our search for an access method. SIOCSIFADDR: No such device eth0: ERROR while getting interface flags: No such device SIOCADDRT: No such process Failed to find sysfs mount point read_urandom: /dev/urandom: open failed: No such file or directory Failed to find sysfs mount point read_urandom: /dev/urandom: open failed: No such file or directory /init: line 73: /sys/block/vd*/queue/rotational: No such file or directory ls: error while loading shared libraries: libacl.so.1: cannot open shared object file: No such file or directory rootfs / rootfs rw 0 0 proc /proc proc rw,relatime 0 0 /dev/root / ext2 rw,noatime,errors=continue 0 0 /proc /proc proc rw,relatime 0 0 Failed to find sysfs mount point read_urandom: /dev/urandom: open failed: No such file or directory Failed to find sysfs mount point read_urandom: /dev/urandom: open failed: No such file or directory Failed to find sysfs mount point read_urandom: /dev/urandom: open failed: No such file or directory On Fri, Aug 12, 2011 at 11:46 AM, Richard W.M. Jones <rjones@redhat.com>wrote:
On Fri, Aug 12, 2011 at 11:22:01AM -0700, David Konerding wrote:
On Fri, Aug 12, 2011 at 11:03 AM, Richard W.M. Jones <rjones@redhat.com wrote:
On Fri, Aug 12, 2011 at 10:45:48AM -0700, David Konerding wrote:
I see, so you're suggesting I just manually add a package to pkgs right after
http://git.annexia.org/?p=febootstrap.git;a=blob;f=febootstrap_debian.ml;h=4...
Yup, something like:
let pkgs = pkgs @ [ "libc6" ] in
Thanks for all the help. I can confirm that shoehorning libc6 in allows invoking init. The next step is /bin/sh failing to run because libncurses.so.5 can't be loaded.
Another thing to do would be to modify the grep command here:
http://git.annexia.org/?p=febootstrap.git;a=blob;f=febootstrap_debian.ml;h=4...
in order to make it include all the Depends and Pre-Depends packages (assuming that ncurses is amongst those).
Rich.
-- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming blog: http://rwmj.wordpress.com Fedora now supports 80 OCaml packages (the OPEN alternative to F#) http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora