Difference between revisions of "Translations:Install/Chroot/8/zh-cn"

From Funtoo
Jump to navigation Jump to search
(Created page with "在进行 chroot 之前,需要做一些设置 chroot 环境的工作,你需要在新系统中挂载 {{f|/proc}}、{{f|/sys}} 和 {{f|/dev}}。使用以下命令来完成...")
 
(No difference)

Latest revision as of 10:12, April 8, 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% }}

在进行 chroot 之前,需要做一些设置 chroot 环境的工作,你需要在新系统中挂载 /proc/sys/dev。使用以下命令来完成:

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