Find a file
Eelco Dolstra bc3f4f8352 * Set up Nix so that builds are never performed as root, but rather
under nix-build-N.

svn path=/nixos/trunk/; revision=7172
2006-11-29 23:41:21 +00:00
boot * Set up Nix so that builds are never performed as root, but rather 2006-11-29 23:41:21 +00:00
configuration * Helper script to check for and create accounts. 2006-11-29 23:10:22 +00:00
helpers * Helper script to check for and create accounts. 2006-11-29 23:10:22 +00:00
installer * Set up Nix so that builds are never performed as root, but rather 2006-11-29 23:41:21 +00:00
instances * Refactoring. 2006-11-28 10:45:21 +00:00
upstart-jobs * Helper script to check for and create accounts. 2006-11-29 23:10:22 +00:00
README * Moving stuff around. 2006-11-27 19:49:05 +00:00
upgrade.sh * Moving stuff around. 2006-11-27 19:49:05 +00:00

To get a Stage 1 shell:

Add "debug1" to the kernel command line.


Switching to maintenance mode:

$ shutdown now

To get out of maintenance mode:

$ initctl emit startup 


Updating the current system configuration:

$ nix-env -p /nix/var/nix/profiles/system -f system-configuration.nix -i -A systemConfiguration
$ /nix/var/nix/profiles/system/bin/switch-to-configuration