1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs synced 2024-10-19 03:47:13 -04:00
nixpkgs/test
Eelco Dolstra 67bada0886 * Utility: rebuild the NixOS configuration and switch to it.
svn path=/nixu/trunk/; revision=7149
2006-11-27 15:32:11 +00:00
..
helpers
upstart-jobs
boot-environment.nix * Don't hardcode selinux=0 etc. 2006-11-27 13:59:50 +00:00
boot-stage-1-init.sh
boot-stage-1.nix
boot-stage-2-init.sh
boot-stage-2.nix
grub-menu-builder.sh
installer.nix
installer.sh * Only run grub-install in switch-to-configuration when 2006-11-27 13:51:08 +00:00
isolinux.cfg
make-devices.sh
make-initrd.nix
make-initrd.sh
make-iso9660-image.nix
make-iso9660-image.sh
modules-closure.nix
modules-closure.sh
options.nix * Prototyping a bit: first class options. We want the configuration 2006-11-27 15:07:46 +00:00
paths-from-graph.sh
README
rescue-cd.nix
splash-themes.nix
system-configuration.nix * Don't hardcode selinux=0 etc. 2006-11-27 13:59:50 +00:00
system-configuration.sh * Don't hardcode selinux=0 etc. 2006-11-27 13:59:50 +00:00
upgrade.sh * Utility: rebuild the NixOS configuration and switch to it. 2006-11-27 15:32:11 +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