Difference between revisions of "Chroot into the New Environment"

From gr0x0rd
Jump to navigation Jump to search
(Created page with "== Install Gentoo - chroot into the New Environment ==")
 
Line 1: Line 1:
== Install Gentoo - chroot into the New Environment ==
+
== Installing Gentoo - chroot into the New Environment ==
 +
 
 +
We've already mounted our boot and root drives, but we'll need to mount the processes and devices there before we can chroot into the new Linux environment.
 +
'''#''' mount -t proc none /mnt/gentoo/proc
 +
'''#''' mount -o bind /dev /mnt/gentoo/dev
 +
The new environment is ready, so we can enter it.
 +
'''#''' chroot /mnt/gentoo /bin/bash
 +
'''#''' env-update && source /etc/profile
 +
Before we begin configuring our system and emerging programs we need to [[Configure make.conf | configure the make.conf file]].

Revision as of 16:23, 17 November 2010

Installing Gentoo - chroot into the New Environment

We've already mounted our boot and root drives, but we'll need to mount the processes and devices there before we can chroot into the new Linux environment.

# mount -t proc none /mnt/gentoo/proc
# mount -o bind /dev /mnt/gentoo/dev

The new environment is ready, so we can enter it.

# chroot /mnt/gentoo /bin/bash
# env-update && source /etc/profile

Before we begin configuring our system and emerging programs we need to configure the make.conf file.