diff options
author | lassulus <lass@blue.r> | 2018-11-10 19:42:46 +0100 |
---|---|---|
committer | lassulus <lass@blue.r> | 2018-11-10 19:42:46 +0100 |
commit | eff97662c02f385b1740929639817fc5b8318f07 (patch) | |
tree | f11710101eed0dcc8d75304939f06e819339d9f0 /makefu/1systems/gum/rescue.txt | |
parent | 0028e3dde3dcb8e5e9394f7d230c7224b6177b79 (diff) | |
parent | 254e9e62b95951cecadd2b4800c03ef96f95b3c0 (diff) |
Merge remote-tracking branch 'nextgum/master'
Diffstat (limited to 'makefu/1systems/gum/rescue.txt')
-rw-r--r-- | makefu/1systems/gum/rescue.txt | 11 |
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 |