On Tuesday 12 April 2011 10:46:53 Rickard Nilsson wrote: > I'm trying to bootstrap Nixos from an existing Linux (Ubuntu) > environment with the nixos-prepare-install. I'm following the first > steps of this guide: > http://wiki.nixos.org/wiki/Install_NixOS_as_OpenVZ_guest > > However, after the sources has been checked out, I get the following > error: > > U /mnt/etc/nixos/nixos > Checked out revision 26787. > INFO: registering bootstrapping store paths as valid so that they > won't be rebuild > Couldn't read /proc/self/stat > /mnt/nix/store/nixos-prepare-install: line 167: 9876 Aborted > chroot "$mountPoint" > /nix/store/kxdbs8kvkgsgzl2am1m9dm5hcikrndwh-nix-1.0pre26015/bin/nix-store > --register-validity < $NIX_CLOSURE >
Try this: mount -o bind /proc $mountPoint/proc -- Evgeny _______________________________________________ nix-dev mailing list nix-dev@cs.uu.nl https://mail.cs.uu.nl/mailman/listinfo/nix-dev