Go to file
Eelco Dolstra 16a9702c4a * Move some stuff out of boot-environment.nix.
svn path=/nixos/trunk/; revision=7313
2006-12-11 15:32:10 +00:00
boot * Grmbl. 2006-12-11 03:03:42 +00:00
configuration * Move some stuff out of boot-environment.nix. 2006-12-11 15:32:10 +00:00
helpers * More semi-purification of /etc. 2006-12-09 02:51:42 +00:00
installer * Use runCommand. 2006-12-10 22:43:04 +00:00
instances * Use runCommand. 2006-12-10 22:43:04 +00:00
upstart-jobs * Hm, "set" doesn't seem to do the right thing. 2006-12-11 02:55:28 +00:00
README * Moving stuff around. 2006-11-27 19:49:05 +00:00
test.sh * A script to test configurations, i.e., make them current without 2006-12-11 01:03:26 +00:00
upgrade.sh * Lots of refactoring. 2006-12-10 22:29:44 +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