1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs synced 2024-10-19 03:47:13 -04:00
Nix Packages collection & NixOS
Find a file
Eelco Dolstra 9986bda673 * Move the stuff in boot-stage-2-init.sh that doesn't have to happen
at boot time into a separate script.  This will allow us to change
  the configuration without rebooting (provided that the configuration
  doesn't have a different kernel, init, etc.).

svn path=/nixos/trunk/; revision=7294
2006-12-09 19:25:23 +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 * Move the stuff in boot-stage-2-init.sh that doesn't have to happen 2006-12-09 19:25:23 +00:00
helpers
installer
instances
upstart-jobs
README
upgrade.sh

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