1
Fork 0
satellite/scripts/emergency-lapetus.sh

12 lines
362 B
Bash
Raw Normal View History

2024-01-18 01:56:50 +01:00
echo "Entering shells..."
exec nix-shell ./devshells/bootstrap/shell.nix
exec nix shell disko
echo "Mounting keys"
sudo mkdir /hermes
sudo mount /dev/disk/by-uuid/7FE7-CA68 /hermes
echo "Importing zfs pool"
sudo zpool import -lfR /mnt zroot
echo "Mounting zfs filesystem"
sudo disko --mode mount ./hosts/nixos/lapetus/filesystems/partitions.nix
echo "All done!"