注意:

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

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

Revision as of 04:57, June 23, 2022

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