Results 1 to 4 of 4

Thread: Setting up read only file system

  1. #1
    Join Date
    Feb 2013
    Beans
    1

    Setting up read only file system

    I just installed Ubuntu 12.10 on an embedded system containing a 32GB CFast storage card for the OS. Now that I have the install nicely setup, I was wondering if there is some sort of how to set of steps that I could go through to make the system read only (soft of like with the Live CD environment). The reason I want this is that users should be able to power off the system without having to shutdown cleanly. We will not need to save any persistent data to the user's home folder.

    Thanks in advance

    John

  2. #2
    Join Date
    Nov 2008
    Location
    Metro Boston
    Beans
    9,345
    Distro
    Kubuntu 14.04 Trusty Tahr

    Re: Setting up read only file system

    I believe everything can be read-only except /var and /tmp, but you'll need to experiment to make sure. Only root needs to write to /var.
    If you ask for help, please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

  3. #3
    Join Date
    Oct 2013
    Beans
    2

    Re: Setting up read only file system

    did you get this to work, johnco3?
    I want to do exactly the same and would be happy to hear about your experiences.

  4. #4
    Join Date
    Oct 2013
    Beans
    2

    Re: Setting up read only file system

    Ah, I just found something that does just what we need: overlayfs.
    Here's how to set this up:
    http://askubuntu.com/questions/21179...wer-loss-proof

    And here is a more detailed instruction but only in German:
    http://wiki.ubuntuusers.de/Nur-Lesen_Root-Dateisystem

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •