Created
March 31, 2016 20:38
-
-
Save mvlabat/998322976ca9a7edf3c1f1404bfc636d to your computer and use it in GitHub Desktop.
Chrooting in gentoo from any another Gentoo installation (+liveCD)
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
mount /dev/sdb3 /mnt/gentoo # Use your system root device | |
mount -t proc proc /mnt/gentoo/proc/ | |
mount --rbind /sys /mnt/gentoo/sys/ | |
mount --rbind /dev /mnt/gentoo/dev/ | |
chroot /mnt/gentoo /bin/bash | |
source /etc/profile | |
export PS1="(chroot) $PS1" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment