Sorry, I can't figure out how to get the latest version of nixos-install. The version that comes with latest-iso-minimal doesn't support `--chroot`
On Tue, Dec 16, 2014 at 12:11 PM, Domen Kožar <[email protected]> wrote: > > $ nixos-install --chroot --root /mnt > > On Tue, Dec 16, 2014 at 9:08 PM, Joe Hillenbrand <[email protected]> > wrote: > >> I want chroot into my NixOS partition from my Ubuntu partition, but I >> can't figure out how do get a shell. >> >> $ mount /dev/mapper/vg0-nixos /mnt >> $ mount -o /dev /mnt/dev >> $ mount -o bind /boot /mnt/boot >> $ mount -t sysfs /sys /mnt/sys >> $ mount -t proc none /mnt/proc >> $ chroot /mnt /usr/bin/env -i /bin/sh -l >> sh: mkdir: command not found >> sh: stat: command not found >> sh: id: command not found >> sh: ln: command not found >> sh: mkdir: command not found >> sh: stat: command not found >> sh: id: command not found >> sh: rm: command not found >> sh: mkdir: command not found >> sh: ln: command not found >> >> Any ideas? >> >> _______________________________________________ >> nix-dev mailing list >> [email protected] >> http://lists.science.uu.nl/mailman/listinfo/nix-dev >> >>
_______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
