nixpkgs/test/README
Eelco Dolstra 2cccff268d * Pass the path of the stage 2 init script to stage 1 init through the
kernel command line, instead of having a /init symlink.  This allows
  us to switch between configurations.
* Some debug support: adding `debug' to the kernel command line gives
  a stage 1 shell.

svn path=/nixu/trunk/; revision=7107
2006-11-24 00:04:29 +00:00

20 lines
375 B
Plaintext

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