mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-14 22:04:27 +01:00
0817c307dc
svn path=/nixos/trunk/; revision=7155
19 lines
375 B
Text
19 lines
375 B
Text
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
|
|
|