Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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
- test -L /dev/shm && rm /dev/shm && mkdir /dev/shm
- mount -t tmpfs -o nosuid,nodev,noexec shm /dev/shm
- chmod 1777 /dev/shm
- chroot /mnt/gentoo /bin/bash
- source /etc/profile
- export PS1="(chroot) $PS1"
Add Comment
Please, Sign In to add comment