Note

The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.

Difference between revisions of "Translations:Install/Chroot/2/en"

From Funtoo
Jump to navigation Jump to search
(Importing a new version from external source)
 
(Importing a new version from external source)
Tag: Replaced
Line 1: Line 1:
Before chrooting, there are a few things that need to be done to set up the chroot environment. You will need to mount {{f|/proc}}, {{f|/sys}} and {{f|/dev}} inside your new system. Use the following commands to do so:
{{InstallNavigation|num=9|prev=Download and Extract Stage3}}</noinclude>
{{console|body=
# ##i##cd /mnt/funtoo
# ##i##mount -t proc none proc
# ##i##mount --rbind /sys sys
# ##i##mount --rbind /dev dev
}}
You'll also want to copy over {{f|resolv.conf}} in order to have proper resolution of Internet hostnames from inside the chroot:
{{console|body=
# ##i##cp /etc/resolv.conf /mnt/funtoo/etc/
}}
Now you can chroot into your new system. Use <code>env</code> before <code>chroot</code> to ensure that no environment settings from the installation media are pulled in to your new system:

Revision as of 04:06, September 12, 2018

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (Install/Chroot)
{{InstallNavigation|num=9|prev=Download and Extract Stage3|next=Download Portage Tree}}</noinclude>
Install Guide, Chapter 9 < Prev