DesktopECHO / Pi-hole-for-Android

Pi-hole/Unbound Raspbian APK Installer for Android 5.0+ devices (requires root)
404 stars 33 forks source link

Read only file system #82

Closed Tobi828282 closed 8 months ago

Tobi828282 commented 8 months ago

Hi, my problem seems to be a read only filesystem. How can change that? Message when trying to install:

>>> deploy
## bootstrap/rootfs : do_install && do_configure
:: Installing bootstrap/rootfs ... 
Checking installation path ... done
chmod: ./raspbian: Read-only file system
chmod: ./raspbian: Read-only file system
rm: can't remove './raspbian': Read-only file system
Checking file system ... skip
Mounting the container: 
/ ... mount: mounting ./raspbian on /data/local/raspbian failed: Invalid argument
fail
<<< deploy

Thanks in advance for your help!

DesktopECHO commented 8 months ago

What is the make and model of your device?

You can try installing to an image file instead of directory.
Open Properties and for Installation Type select File Re-deploy and see if the error is still present.

Tobi828282 commented 8 months ago

Thank you very much for your response. The device is a Oneolus One running lineage os 14.

Only installing to RAM worked on the device. This is no problem for me since the phone is operating 24/7.

DesktopECHO commented 8 months ago

If that solution works for you that's great and we can close the issue.

If not, you may need to disable SElinux with this Magisk module or install SELinuxModeChanger then set SELinux to Permissive or Disabled.

If SELinux is out of the way and you still have issues, try changing the install target (Default is ./rasbian) to /data/local/raspbian-root

Tobi828282 commented 8 months ago

Now I installed it to /data/local/raspbian-root and it seems to work fine. Thank you very much for your help!