Skip to content

Instantly share code, notes, and snippets.

@Gromina
Created September 20, 2017 13:06
Show Gist options
  • Save Gromina/b1b578d9ab75ae32f4fbd6b04041e3fc to your computer and use it in GitHub Desktop.
Save Gromina/b1b578d9ab75ae32f4fbd6b04041e3fc to your computer and use it in GitHub Desktop.
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
# chroot /mnt/gentoo /bin/bash
# root #source /etc/profile
# root #export PS1="(chroot) $PS1"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment