1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/test
Eelco Dolstra 9d1be4d54f * Create /boot/grub.
svn path=/nixu/trunk/; revision=7119
2006-11-24 15:31:28 +00:00
..
upstart-jobs * Handle ctrl-alt-delete. 2006-11-24 00:34:50 +00:00
boot-environment.nix * In stage 1, fsck the root device before mounting it. If automatic 2006-11-24 12:13:11 +00:00
boot-stage-1-init.sh * In stage 1, fsck the root device before mounting it. If automatic 2006-11-24 12:13:11 +00:00
boot-stage-1.nix
boot-stage-2-init.sh * /var/run: create earlier. 2006-11-24 15:31:20 +00:00
boot-stage-2.nix * Put the PCI module probing in an Upstart task. We now have 2006-11-20 17:28:08 +00:00
grub-menu-builder.sh * Put the date of each configuration in the Grub menu. 2006-11-24 00:00:32 +00:00
installer.nix
installer.sh * Generate a Grub boot menu that contains all generations of the 2006-11-23 23:22:43 +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
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 * Oops. 2006-11-23 21:59:25 +00:00
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 * Create /boot/grub. 2006-11-24 15:31:28 +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