Find a file
Eelco Dolstra 0817c307dc * Moving stuff around.
svn path=/nixos/trunk/; revision=7155
2006-11-27 19:49:05 +00:00
helpers * Moving stuff around. 2006-11-27 19:49:05 +00:00
upstart-jobs * Moving stuff around. 2006-11-27 19:49:05 +00:00
boot-environment.nix * Moving stuff around. 2006-11-27 19:49:05 +00:00
boot-stage-1-init.sh * Moving stuff around. 2006-11-27 19:49:05 +00:00
boot-stage-1.nix * Moving stuff around. 2006-11-27 19:49:05 +00:00
boot-stage-2-init.sh * Moving stuff around. 2006-11-27 19:49:05 +00:00
boot-stage-2.nix * Moving stuff around. 2006-11-27 19:49:05 +00:00
grub-menu-builder.sh * Moving stuff around. 2006-11-27 19:49:05 +00:00
installer.nix * Moving stuff around. 2006-11-27 19:49:05 +00:00
installer.sh * Moving stuff around. 2006-11-27 19:49:05 +00:00
isolinux.cfg * Moving stuff around. 2006-11-27 19:49:05 +00:00
make-devices.sh * Moving stuff around. 2006-11-27 19:49:05 +00:00
make-initrd.nix * Moving stuff around. 2006-11-27 19:49:05 +00:00
make-initrd.sh * Moving stuff around. 2006-11-27 19:49:05 +00:00
make-iso9660-image.nix * Moving stuff around. 2006-11-27 19:49:05 +00:00
make-iso9660-image.sh * Moving stuff around. 2006-11-27 19:49:05 +00:00
modules-closure.nix * Moving stuff around. 2006-11-27 19:49:05 +00:00
modules-closure.sh * Moving stuff around. 2006-11-27 19:49:05 +00:00
options.nix * Moving stuff around. 2006-11-27 19:49:05 +00:00
paths-from-graph.sh * Moving stuff around. 2006-11-27 19:49:05 +00:00
README * Moving stuff around. 2006-11-27 19:49:05 +00:00
rescue-cd.nix * Moving stuff around. 2006-11-27 19:49:05 +00:00
splash-themes.nix * Moving stuff around. 2006-11-27 19:49:05 +00:00
system-configuration.nix * Moving stuff around. 2006-11-27 19:49:05 +00:00
system-configuration.sh * 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