Created
May 8, 2021 23:20
-
-
Save kevin335200/2771c43c56ddb45ebccd4b26204f6a11 to your computer and use it in GitHub Desktop.
test.sh
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
#! /bin/bash | |
mkdir /mnt/gentoo | |
zpool import -R /mnt/gentoo tank | |
zpool import -R /mnt/gentoo boot | |
cd /mnt/gentoo | |
mount --types proc /proc /mnt/gentoo/proc | |
mount --rbind /sys /mnt/gentoo/sys | |
mount --make-rslave /mnt/gentoo/sys | |
mount --rbind /dev /mnt/gentoo/dev | |
mount --make-rslave /mnt/gentoo/dev |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment