Last active
October 24, 2016 10:57
-
-
Save mrueg/92ac374da822b2ad0f251f87e891d9a2 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
#!/bin/bash | |
mkdir -p /mnt/gentoo | |
mount LABEL="root" /mnt/gentoo | |
mkdir -p /mnt/gentoo/boot | |
mount LABEL="BOOT" /mnt/gentoo/boot | |
cp -L /etc/resolv.conf /mnt/gentoo/etc/ | |
mount -t 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