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

From Funtoo
Jump to navigation Jump to search
(Importing a new version from external source)
 
(Importing a new version from external source)
Line 2: Line 2:
{{console|body=
{{console|body=
# ##i##cd /mnt/funtoo
# ##i##cd /mnt/funtoo
# ##i##mount -t proc none proc
# ##i##mount --rbind /proc proc
# ##i##mount --rbind /sys sys
# ##i##mount --rbind /sys sys
# ##i##mount --rbind /dev dev
# ##i##mount --rbind /dev dev
}}
}}

Revision as of 04:30, December 13, 2021

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)
{{console|body=
# ##i##cd /mnt/funtoo
# ##i##mount --rbind /proc proc
# ##i##mount --rbind /sys sys
# ##i##mount --rbind /dev dev
# ##i##cp /etc/resolv.conf /mnt/funtoo/etc/
# ##i##chroot . /bin/su --login
%chroot% }}

Before chrooting, there are a few things that need to be done to set up the chroot environment. You will need to mount /proc, /sys and /dev inside your new system. Use the following commands to do so:

root # cd /mnt/funtoo
root # mount --rbind /proc proc
root # mount --rbind /sys sys
root # mount --rbind /dev dev