on my machine i am using two linux distribution ... debian gnu linux( sid ) and kali
the installation is that as i have in fstab

parition -- Debian -- Kali
/dev/sda1 -- / -- /mnt/
/dev/sda2 -- swap --
/dev/sda3 -- /home -- /mnt/home
/dev/sda4 -- umounted -- /

on debian partition i have umounted the /dev/sda4 for security reasons :P


i like to chroot from debian to chroot kali cuz (update & dist-upgrade ) the method that i use in debian is
i using that commands as root
Code:
mount /dev/sda4 /mnt/ #mounting the partition to /mnt/
mount --bind /dev /mnt/dev 
mount --bind /sys /mnt/sys
mount --bind /proc /mnt/proc 
chroot /mnt/ /bin/bash
verifiying that i am on kali



but when i am ping google in chroot machine i get
Code:
 ping : google.com  : unkown host or service
on my debian cat /etc/resolv.conf
Code:
 /etc/resolv.conf 
# Generated by NetworkManager
search domain.name
nameserver 192.168.1.1
so i tryed as to edit on kali's /etc/resolv.conf but cannot saved displays on readme file ...