aboutsummaryrefslogblamecommitdiffstats
path: root/zfs/import.sh
blob: 4181aa9dd8c08c4b8cb0c4b29d5b4955e40fe818 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                     
#/bin/sh

sudo zpool import -N -R /mnt zroot
sudo zfs load-key -L prompt zroot
sudo zfs mount zroot/ROOT/void
sudo zfs mount zroot/home
mount | grep mnt
sudo mount -t proc proc /mnt/proc
sudo mount -t sysfs sys /mnt/sys
sudo mount -B /dev /mnt/dev
sudo mount -t devpts pts /mnt/dev/pts
sudo chroot /mnt /bin/bash