Welcome to our forums! Please take a few moments to read through our Community Guidelines (also conveniently linked in the header at the top of each page). There, you'll find guidelines on conduct, tips on getting the help you may be searching for, and more!

Making the SD Card readonly and running Rasplex from a Ramdisk?

sciphisciphi Members, Plex Pass Posts: 14 Plex Pass

I was thinking about this the other day and was wondering if anybody had done this or had any interest in doing this?

I think I killed one of my SD cards in one of the RasPlex boxes I had because I typically end up just flicking the power off rather than shutting it down properly. I realize this is bad practice but I need to switch users to shut it down and normally it doesn't cause any issues (Well until my card finally died from the abuse I think).

At any rate, I know the Pi can be configured to treat the SD Card as read only and after boot switch to a ramdisk so the card is no longer used. Which would mean that cutting the power to the device would be harmless and make it much more like a commodity DVD player or other appliance that doesn't care about such things. The downside is that it would break precaching but everything is a trade off. It is possible to modify an install that is setup like this by mounting the SD CArd red write and the use of chroot to modify it, then unmounting and rebooting, so perhaps staged pre-caching could still be done.

At any rate, am I the only one that would find such a configuration useful? I'd like to either suggest it, or have a go at making the modification myself if there was any interest in such a setup.



  • videotecaCNSUvideotecaCNSU Members, Plex Pass Posts: 265 Plex Pass

    There's an option to enable restricted users to shutdown rasplex
    go to preferences / the picture image / skin / settings / show shutdown and restart to restricted users

    Also In my case I added a push button and a script to pin 5 to turn on and off rasplex safely

    In my case I also added a power led to know when the device was in use

    Both things arent what you want to make but it can solve your problem

Sign In or Register to comment.