Find a file
Eelco Dolstra 4b3525fa80 * Handle the case where nix-env is a symlink.
svn path=/nixos/trunk/; revision=7162
2006-11-28 16:59:47 +00:00
boot * Handle the case where nix-env is a symlink. 2006-11-28 16:59:47 +00:00
configuration * Don't put every package in the boot environment in $PATH but rather 2006-11-28 16:47:14 +00:00
helpers * First step towards setuid/setgid support: a setuid/setgid wrapper 2006-11-28 13:36:27 +00:00
installer * Refactoring. 2006-11-28 10:45:21 +00:00
instances * Refactoring. 2006-11-28 10:45:21 +00:00
upstart-jobs * Moving stuff around. 2006-11-27 19:49:05 +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