summaryrefslogtreecommitdiffstats
path: root/makefu/1systems/gum/rescue.txt
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2018-11-05 16:22:39 +0100
committermakefu <github@syntax-fehler.de>2018-11-05 16:22:39 +0100
commit72cd32c0bc7d66536e163b42a9404986e479c597 (patch)
treeafe3c48fde974b3b88ceaa0e4ad2a4b1a71f0848 /makefu/1systems/gum/rescue.txt
parentaf41e7225900113b6a9c9b666a5fa25e209965b7 (diff)
ma nextgum.r becomes gum.r
Diffstat (limited to 'makefu/1systems/gum/rescue.txt')
-rw-r--r--makefu/1systems/gum/rescue.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/makefu/1systems/gum/rescue.txt b/makefu/1systems/gum/rescue.txt
new file mode 100644
index 000000000..30276b7db
--- /dev/null
+++ b/makefu/1systems/gum/rescue.txt
@@ -0,0 +1,11 @@
+mount /dev/mapper/nixos-root /mnt
+mount /dev/sda2 /mnt/boot
+
+chroot-prepare /mnt
+chroot /mnt /bin/sh
+
+journalctl -D /mnt/var/log/journal --since today # find the active system (or check grub)
+
+export PATH=/nix/store/9incs5sfn7n1vh1lavgp95v761nh11w3-nixos-system-nextgum-18.03pre-git/sw/bin
+/nix/store/9incs5sfn7n1vh1lavgp95v761nh11w3-nixos-system-nextgum-18.03pre-git/activate
+/nix/store/9incs5sfn7n1vh1lavgp95v761nh11w3-nixos-system-nextgum-18.03pre-git/sw/bin/nixos-rebuild