On Thu, Aug 29, 2019 at 2:23 PM <[email protected]> wrote: > > Dear sirs, > > We are working in a new project with a beaglebone black as main control > system. > > Our first difficult is wich OS or software arquitecture used to prevent > system corruption for multiple "not controlled shutdowns" (the system will > work inside a machine and the way to turn it off is cut electrical source) > Battery backup system is not a valid choice for us. > RAM OS? More ideas? >
Yeah use a little pacakge called "overlayroot" newer image have it installed by default.. If you dont: sudo apt update sudo apt install overlayroot Then make sure to regenerate the initrd.. sudo update-initramfs -uk `uname -r` Then in /boot/uEnv.txt append this variable to your existing cmdline settings. cmdline=(existing settings) overlayroot=tmpfs Then reboot, your system is now "Read Only".. So Beyond that, what's really really nice about overlayroot, you can login and actually write stuff to the drive by doing: sudo overlayroot-chroot Regards, -- Robert Nelson https://rcn-ee.com/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAOCHtYjEhoi2Xc0oe23WnhHjmNox1%3DZSp%3DAvU5pnj85tbQvxMg%40mail.gmail.com.
