Installing from Linux: Difference between revisions

imported>Chuangzhu
Remove template outdated
imported>Ndt
m quote "${fn}" in bind mounts to properly handle spaces in directories & other edge cases
Line 37: Line 37:
# mkdir -p etc dev proc sys
# mkdir -p etc dev proc sys
# cp /etc/resolv.conf etc
# cp /etc/resolv.conf etc
# for fn in dev proc sys; do mount --bind /$fn $fn; done
# for fn in dev proc sys; do mount --bind "/${fn}" "${fn}"; done
</syntaxhighlight>
</syntaxhighlight>