spinarr Posted May 19, 2020 Share Posted May 19, 2020 Hello, this may be related to: https://forum.armbian.com/topic/8819-where-to-report-a-bug-etcinitdarmhwinfo-corrupts-bootarmbianenvtxt-when-followed-by-powerfailure/ https://github.com/armbian/config/issues/33 cat /boot/armbianEnv.txt /var/log.hdd/alternatives.log { monthly rotate 12 compress delaycompress missingok notifempty create 644 root root }usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u Would there be any advice so that we can prevent this from happening? Many thanks for any pointer. Regards Rostislav Link to comment Share on other sites More sharing options...
richardk Posted May 20, 2020 Share Posted May 20, 2020 I had tried setting armbianEnv.txt mode 0444, but that failed. The corrupted armbianEnv.txt file still had mode 0444. I am now trying modified /usr/lib/armbian/armbian-hardware-optimization and armbian-firstrun scripts, with lines that modify armbianEnv.txt commented-out. So far so good. Link to comment Share on other sites More sharing options...
spinarr Posted May 22, 2020 Author Share Posted May 22, 2020 Many thanks. We look similar direction. Link to comment Share on other sites More sharing options...
Recommended Posts