diff --git a/README.md b/README.md index 4ffc9d0..98b0557 100644 --- a/README.md +++ b/README.md @@ -409,7 +409,7 @@ zfs create zpool/data/var/lib/docker In case you want to mount your zpool on an external operating system such as an Arch Linux live CD ISO image do it like so: ``` -zpool import zpool -d '/dev/disk/by-partuuid' -R '/mnt' -f -N +zpool import 'zpool' -d '/dev/disk/by-partuuid' -R '/mnt' -f -N zfs load-key -L 'prompt' 'zpool' zfs mount 'zpool/root/archlinux' zfs mount -a @@ -417,6 +417,14 @@ mount '/dev/sda1' '/mnt/efi' arch-chroot '/mnt' '/bin/bash' ``` +When done cleanly remove your work: + +``` +umount '/mnt/efi' +zfs umount -a +zpool export 'zpool' +``` + Explanation: - We always want to mount pools `by-partuuid` for consistency so we specifically only look for pools at `/dev/disk/by-partuuid`.