No description
Find a file
Eelco Dolstra 3e7f4280df * activate-configuration.sh: make sure that we're running on a NixOS
installation to prevent horrible accidents.
* Add the kernel parameters to isolinux.cfg.
* Use useradd/groupadd to create users/groups; use Glibc's getent to
  check for existence.
* Create the root account properly.

svn path=/nixos/trunk/; revision=7357
2006-12-16 21:48:12 +00:00
boot * activate-configuration.sh: make sure that we're running on a NixOS 2006-12-16 21:48:12 +00:00
configuration * activate-configuration.sh: make sure that we're running on a NixOS 2006-12-16 21:48:12 +00:00
helpers * activate-configuration.sh: make sure that we're running on a NixOS 2006-12-16 21:48:12 +00:00
installer * activate-configuration.sh: make sure that we're running on a NixOS 2006-12-16 21:48:12 +00:00
instances * activate-configuration.sh: make sure that we're running on a NixOS 2006-12-16 21:48:12 +00:00
upstart-jobs * activate-configuration.sh: make sure that we're running on a NixOS 2006-12-16 21:48:12 +00:00
README * Moving stuff around. 2006-11-27 19:49:05 +00:00
test.sh * Use the configuration in /etc/nixos/configuration.nix by default. 2006-12-12 00:08:26 +00:00
upgrade.sh * Use nix-env --set. 2006-12-13 12:21:06 +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