summaryrefslogtreecommitdiffstats
path: root/makefu/1systems/nextgum/rescue.txt
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2018-11-05 13:50:22 +0100
committermakefu <github@syntax-fehler.de>2018-11-05 13:50:22 +0100
commitea3afff61105fd32be1ea658460329aecf061eec (patch)
treeded4dd927e2ef9a65ac9a9147189d66d9431c43c /makefu/1systems/nextgum/rescue.txt
parent9520ee2c51b49a0e6cb0c96f9ab1724381e0e9cd (diff)
ma gum: prepare replacement by nextgum
Diffstat (limited to 'makefu/1systems/nextgum/rescue.txt')
-rw-r--r--makefu/1systems/nextgum/rescue.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/makefu/1systems/nextgum/rescue.txt b/makefu/1systems/nextgum/rescue.txt
new file mode 100644
index 000000000..30276b7db
--- /dev/null
+++ b/makefu/1systems/nextgum/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