Größe: 336
Kommentar:
|
Größe: 335
Kommentar: typo
|
Gelöschter Text ist auf diese Art markiert. | Hinzugefügter Text ist auf diese Art markiert. |
Zeile 8: | Zeile 8: |
cp /etc/resolve.conf chroot_dir/etc/resolv.conf | cp /etc/resolv.conf chroot_dir/etc/resolv.conf |
Bevor man mit chroot in eine Verzeichnis wechselt, ist es empfehlendswert, folgendes zu tun:
mount --bind /proc chroot_dir/proc mount --bind /sys chroot_dir/sys mount --bind /tmp chroot_dir/tmp # dann ist /tmp auch Austauschverzeichnis cp /etc/resolv.conf chroot_dir/etc/resolv.conf # dann erst chroot chroot_dir