Created
July 31, 2018 11:20
-
-
Save KannarFr/cba6f48341283fcd6aaf13e0d43daa47 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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