Skip to content
Tyler Nijmeh edited this page Sep 14, 2020 · 4 revisions

Q: Where am I supposed to find rootfs tarballs?

A: I wish there was a universal rootfs tarball hub, but there isn't. Each distro has their own page with their own supported architectures. Here are some common distro rootfs tarball links.

Q: What is the default DNS?

A: Using the DNS from the host machine is unreliable, especially on Android, as it is extremely volatile. The /etc/resolv.conf is mounted from the host to the guest unless it does not exist on the host, in which the default DNS is Cloudflare.

  • Primary: 1.1.1.1
  • Secondary: 1.0.0.1

Q: Why is my partition suddenly mounted with suid and exec?

A: ChArch remounts your chroot container root directory with exec and suid to allow chroot to function, and for sudo to work properly. unarch will not remount it with nosuid and noexec, since other chroot instances could be running at the time, and remounting the filesystem could break the running instance. Rebooting will remount with the default mount options.

Q: Why are my rootfs instances unencrypted on Android?

A: Some distributions of Linux such as openSUSE use PAM to revoke the existing keyrings from the host computer. On an encrypted disk, this breaks su -l and various subsystems.