Files
linux-wiki/content/deepin折腾笔记/第五章/5.33.md
2021-10-21 14:57:58 +08:00

5 lines
306 B
Markdown
Executable File
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 5.33 chroot 切换后访问网络
以chroot /mnt为例执行该命令后可能会发现无法通过域名访问网络原因是DNS解析服务器不存在。
解决方法在执行chroot命令前拷贝Live的DNS解析。
sudo cp /etc/resolv.conf /mnt/etc/resolv.conf