Find a file
Eelco Dolstra 4ac288e724 * Allow switching to a new configuration without rebooting. However,
we don't stop/start/restart Upstart jobs yet.

svn path=/nixos/trunk/; revision=7297
2006-12-10 00:04:58 +00:00
boot * Move the stuff in boot-stage-2-init.sh that doesn't have to happen 2006-12-09 19:25:23 +00:00
configuration * Allow switching to a new configuration without rebooting. However, 2006-12-10 00:04:58 +00:00
helpers * More semi-purification of /etc. 2006-12-09 02:51:42 +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 * Start the Nix daemon to enable multi-user package management in 2006-12-09 03:11:14 +00:00
README * Moving stuff around. 2006-11-27 19:49:05 +00:00
upgrade.sh * Start the Nix daemon to enable multi-user package management in 2006-12-09 03:11:14 +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