You can create a base Gentoo system by using the stage 3 installer. You will also have to mount both dev and proc filesystem for your base system to be usable for chroot. This is the outline of the process.

Steps to create Gentoo chroot environment:

  1. Launch terminal.
  2. Create your chroot folder.
    $ mkdir chroot-gentoo
  3. Download Gentoo stage 3 installer.
    $ wget
  4. Extract it.
    $ tar xf stage3-x86-2008.0.tar.bz2 -C chroot-gentoo
  5. Mount proc and dev filesystem.
    $ sudo mount -o bind /dev chroot-gentoo/dev
    $ sudo mount -o bind /proc chroot-gentoo/proc
  6. Start chrooting.
    $ sudo chroot chroot-gentoo /bin/bash
  7. Unmount the dev and proc filesystem once you exited your chroot environment.
    $ sudo umount chroot-gentoo/dev chroot-gentoo/proc
Discuss the article:

Comment anonymously. Login not required.