Created
November 4, 2013 13:06
-
-
Save bluekeys/7302144 to your computer and use it in GitHub Desktop.
Into funtoo chroot
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
swapon /dev/sda3 | |
mkdir /mnt/funtoo | |
mount /dev/sda4 /mnt/funtoo | |
mkdir /mnt/funtoo/boot | |
mount /dev/sda1 /mnt/funtoo/boot | |
cd /mnt/funtoo | |
mount -t proc none proc | |
mount --rbind /sys sys | |
mount --rbind /dev dev | |
env -i HOME=/root TERM=$TERM chroot . bash -l | |
export PS1="(chroot) $PS1" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment