Advertisement
atm-irbis

Funtoo chroot

May 28th, 2013
442
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.22 KB | None | 0 0
  1. mkdir /mnt/funtoo
  2. mount /dev/sda4 /mnt/funtoo
  3. mount /dev/sda1 /mnt/funtoo/boot
  4. cd /mnt/funtoo
  5. mount --bind /proc proc
  6. mount --bind /dev dev
  7. env -i HOME=/root TERM=$TERM chroot . bash -l
  8. export PS1="(chroot) $PS1"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement