Skip to content

Instantly share code, notes, and snippets.

@KannarFr
Created July 31, 2018 11:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KannarFr/cba6f48341283fcd6aaf13e0d43daa47 to your computer and use it in GitHub Desktop.
Save KannarFr/cba6f48341283fcd6aaf13e0d43daa47 to your computer and use it in GitHub Desktop.
cryptsetup open /dev/nvme0n1p2 btrpool
mount -t btrfs -o subvol=/exherbo /dev/mapper/btrpool /mnt/exherbo
mkdir /mnt/exherbo
mount -t btrfs -o subvol=/exherbo /dev/mapper/btrpool /mnt/exherbo
mount -o rbind /dev/ /mnt/exherbo/dev/
mount -o bind /sys/ /mnt/exherbo/sys/
mount -t proc none /mnt/exherbo/proc/
mount /dev/nvme0n1p1 /mnt/exherbo/boot
chroot /mnt/exherbo/ su -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment