Hello Tvheadend Forum!
First, I'd like to thank everyone participating in this wonderful project! This is amazing! :)
I bought myself a Raspberry Pi and a Tevii S660 which work wonderfully together on Arch Linux.
However, I've already moved my root to a USB stick because of SD-Card corruption which happens every second day...
(read more about it here: http://jonathanmh.com/raspberry-pi-installing-arch-linux-on-usb-drive/)
TVHeadEnd 3.4-1
https://aur.archlinux.org/packages/tvheadend/
Now I'd like to know how I should proceed to make TVH work in a read-only environment.
I proceeded as following:
-dd'd my partition from USB to SD
-moved my resolv.conf to tmpfs
[gotschi@berry ~]$
rm /etc/resolv.conf
[gotschi@berry ~]$ln -s /tmp/resolv.conf /etc/resolv.conf
-Mount /var/{tmp, log} as tmpfs,
/etc/fstab:
tmpfs /var/log tmpfs nodev,nosuid 0 0
tmpfs /var/tmp tmpfs nodev,nosuid 0 0
-disabled some system services
[gotschi@berry ~]$ sudo systemctl disable systemd-readahead-collect
[gotschi@berry ~]$ sudo systemctl disable systemd-random-seed
-added Cronjob to manually adjust time:
@reboot /usr/bin/ntpd -qg
-then disabled ntpd service
[gotschi@berry ~]$ sudo systemctl disable ntpd
-and finally edited my boot config to mount RO:
root=/dev/mmcblk0p2ro
after all this, the Pi boots nicely in Read Only from my SD Card
The Problem:
When i start the tvheadend Webif, my adapters are
not enabled anymore, but detected.
Same with Channels and Muxes - gone!
Can somebody give me a hint where to look for this or whats the problem here?
Is this even possible?
Thanks!