Skip to content

Instantly share code, notes, and snippets.

@bluekeys
Created November 4, 2013 13:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bluekeys/7302144 to your computer and use it in GitHub Desktop.
Save bluekeys/7302144 to your computer and use it in GitHub Desktop.
Into funtoo chroot
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