aemrec Posted April 12, 2016 Posted April 12, 2016 Hello there,I'm trying to do is read-only system. My system will only work nginx and cron.I do not want to system update.I made some sets available below. Do you think I'm doing all right? apt-get remove logrotateapt-get install busybox-syslogddpkg --purge rsyslogdisable swap /etc/sysctl.conf in ` vm.swappiness=0 `remove fake-hwlock, install ntpdate update clock boot and every hourrm -rf /var/lib/dhcp/ln -s /tmp /var/lib/dhcprm -rf /var/run /var/spool /var/lockln -s /tmp /var/runln -s /tmp /var/spoolln -s /tmp /var/lockinsserv -r bootlogsinsserv -r alsa-utilsfstab edit/dev/mmcblk0p1 / ext4 defaults,noatime,nodiratime,data=writeback,ro <- add ro#/var/swap none swap sw 0 0 <- disable swapdisabled service:armhwinfo,unattended-upgrades,ntprm /etc/cron.daily/*rm /etc/cron.weekly/*Is there something else I can add to you ?Do you have a configuration can suggestthanks
tkaiser Posted April 12, 2016 Posted April 12, 2016 I would better do a web search for 'overlayfs initramfs debian' and then ask if OverLayFS is available for H3 and if Armbian supports initramfs. That would be a sane approach to mount the rootfs on SD card read-only without breaking anything. 1
Recommended Posts