Jump to content

Overlayfs for NanoPi M1


ionciubotaru

Recommended Posts

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,

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines