ionciubotaru Posted August 14, 2016 Posted August 14, 2016 Hi, I tried the instruction provided on topic http://forum.armbian.com/index.php/topic/1526-armbian-in-read-only-mode/?hl=overlayfs#entry11877 but I received kernel panic and the system doesn't boot any more. I mount the SD card on my laptop, I comment the line overlayroot="tmpfs" in /etc/overlayroot.conf and the system boot again. The package apt-get install overlayroot is not available. In installed it manualy from http://packages.ubuntu.com/en/xenial/overlayroot When I installed the package cryptsetup it return un error that cannot determine the root partition from /etc/fstab Please be so kind and write step by step instructions howto make the root file system read-only. Include also the final content of /etc/overlayroot.conf and /etc/fstab Best regards,
Johhny Blue Posted September 1, 2016 Posted September 1, 2016 Hi. I have the same issue as the original poster. Is this something simple we are missing? Is it possible to put step by step instructions howto make the root file system read-only in the forum or more detail in http://docs.armbian.com/User-Guide_Advanced-Features/ Thanks. V
Igor Posted September 1, 2016 Posted September 1, 2016 Those instructions are O.K. Perhaps something is broken. Did you test it on Ubuntu Xenial ?
ionciubotaru Posted September 1, 2016 Author Posted September 1, 2016 Hi, I test it on armbian Jessie fresh install on Nano pi M1 - http://www.armbian.com/donate/?f=Armbian_5.14_Nanopim1_Debian_jessie_3.4.112.7z
Johhny Blue Posted September 1, 2016 Posted September 1, 2016 I just tested and It installs OK on the Xenial image
Johhny Blue Posted September 3, 2016 Posted September 3, 2016 If I use the overlay as above, does this protect the SD from corruption if my board is subject to random power outages? I saw in another post about removing commit and adding sync to fstab, are there any other steps I can take to make it more reliable in the case of random power outages? Thanks. J
Igor Posted September 3, 2016 Posted September 3, 2016 If I use the overlay as above, does this protect the SD from corruption if my board is subject to random power outages? This is not designed for such scenarios per se. I saw in another post about removing commit and adding sync to fstab, are there any other steps I can take to make it more reliable in the case of random power outages? Yes, that would help. @ionciubotaru It's possible that this feature is broken on Jessie. I tested on Xenial like Johnny Blue.
Recommended Posts