at 16.09-beta 679 B view raw
1<chapter xmlns="http://docbook.org/ns/docbook" 2 xmlns:xlink="http://www.w3.org/1999/xlink" 3 xmlns:xi="http://www.w3.org/2001/XInclude" 4 version="5.0" 5 xml:id="ch-testing-installer"> 6 7<title>Testing the Installer</title> 8 9<para>Building, burning, and booting from an installation CD is rather 10tedious, so here is a quick way to see if the installer works 11properly: 12 13<screen> 14$ nix-build -A config.system.build.nixos-install 15# mount -t tmpfs none /mnt 16# ./result/bin/nixos-install</screen> 17 18To start a login shell in the new NixOS installation in 19<filename>/mnt</filename>: 20 21<screen> 22# ./result/bin/nixos-install --chroot 23</screen> 24 25</para> 26 27</chapter>