Chrooting
-
8. Enabling Network
Now to Enable Networking
Simply Copy resolv.conf File:cp /etc/resolv.conf /mnt/newroot/etc/
In Case prompted then Confirm to Overwrite the Existing one.
-
9. Chrooting
Finally, Chroot into the New Target
With the Bash Shell:chroot /mnt/newroot /bin/bash
Now Check your Actual Location with:
pwd
You’ll be Certified to be on the New root ‘/’ location.
And finally, Test Networking with:ping -c 3 google.com
In the Output you should find confirmation of a Working Internet Connection.
Congrats and Happy Chrooting! ;)
Contents