1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs synced 2024-10-19 03:47:13 -04:00
nixpkgs/test
Eelco Dolstra 23d2f02841 * Debug support / quasi-single user mode.
svn path=/nixu/trunk/; revision=7108
2006-11-24 00:18:14 +00:00
..
upstart-jobs
boot-environment.nix
boot-stage-1-init.sh * Pass the path of the stage 2 init script to stage 1 init through the 2006-11-24 00:04:29 +00:00
boot-stage-1.nix
boot-stage-2-init.sh * Debug support / quasi-single user mode. 2006-11-24 00:18:14 +00:00
boot-stage-2.nix
grub-menu-builder.sh
installer.nix
installer.sh
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
paths-from-graph.sh
README * Pass the path of the stage 2 init script to stage 1 init through the 2006-11-24 00:04:29 +00:00
rescue-cd.nix
system-configuration.nix * Pass the path of the stage 2 init script to stage 1 init through the 2006-11-24 00:04:29 +00:00
system-configuration.sh * Pass the path of the stage 2 init script to stage 1 init through the 2006-11-24 00:04:29 +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