Created
June 25, 2021 13:56
-
-
Save kevin335200/e19b0dedb40e876e98fcb1d902eda1db to your computer and use it in GitHub Desktop.
Revisions
-
kevin335200 created this gist
Jun 25, 2021 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,13 @@ #! /bin/bash mkdir /mnt/gentoo zpool import tank -R /mnt/gentoo mount --rbind /dev /mnt/gentoo/dev mount --make-rslave /mnt/gentoo/dev mount -t proc /proc /mnt/gentoo/proc mount --rbind /sys /mnt/gentoo/sys mount --make-rslave /mnt/gentoo/sys mount --rbind /tmp /mnt/gentoo/tmp mount --bind /etc/resolv.conf /mnt/gentoo/etc/resolv.conf chroot /mnt/gentoo /bin/bash