UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Read-only file sytem error.

    Scheduled Pinned Locked Moved Solved Support
    9 Posts 5 Posters 1.9k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T Offline
      Tommy
      last edited by

      I recently installed Ubuntu Touch on a OnePlus One phone. Everything seems to be working fine I can install apps via the store and they work. However I want to be able to edit my hosts file and even with root access I still cannot because I get an error "Read-only file system" Also from terminal if I type "sudo apt-get update" I get "Read-only file system" errors. How do I solve this issue.

      Is this an error or is Ubuntu Touch set up this way for security and if so how can I just temporarily make it so that I can edit my hosts file or replace it with one I've already made on my computer.

      Thanks in advance.

      1 Reply Last reply Reply Quote 0
      • LakotaubpL Offline
        Lakotaubp
        last edited by

        @tommy Try UT Tweak Tool in the OpenStore that gives you the ability for read write. As for apt it's not advised for the reasons you suggest.

        T 1 Reply Last reply Reply Quote 2
        • T Offline
          Tommy @Lakotaubp
          last edited by

          @lakotaubp Thank you so Much!!! I've been searching different forums and this worked perfectly!!! I made sure I chose the option that it will be back to read-only after reboot but now I have some sites blocked that I want blocked in my hosts file.

          1 Reply Last reply Reply Quote 0
          • T Offline
            Tommy
            last edited by

            How do I change this post to show "Solved" as others have?

            AppLeeA 1 Reply Last reply Reply Quote 0
            • AppLeeA Offline
              AppLee @Tommy
              last edited by

              @tommy
              Glad you got it all figured out.
              To mark the thread as solved.
              First you'll have to go to the gear icon menu and select "ask a question" then go back to this menu and the option to "mark as solved" will be available.

              1 Reply Last reply Reply Quote 0
              • KenedaK Offline
                Keneda
                last edited by

                You must be aware that any read-only file you edited will be reverted to it's previous state, or updated, by OTA updates, so your edits will be lost and you'll have to edit again.

                2015-2023 : Meizu MX4 ☠️⚰️✝️
                2023-2024 : Nexus 5 ☠️⚰️✝️
                2024-***** : FPOS Fairphone 5
                🇲🇫🇬🇧

                T 1 Reply Last reply Reply Quote 0
                • T Offline
                  Tommy @Keneda
                  last edited by

                  @keneda Thank you for the heads up. How often should I check, I know I'm still good for now though just checked and it still has the hosts file I swapped.

                  KenedaK 1 Reply Last reply Reply Quote 0
                  • KenedaK Offline
                    Keneda @Tommy
                    last edited by Keneda

                    @tommy
                    If you're on stable, OTA 16 will be announced on the forum like on this thread for OTA 15 : https://forums.ubports.com/topic/5314/ota-15-is-released
                    You can choose to install or not last updates in any channel.

                    2015-2023 : Meizu MX4 ☠️⚰️✝️
                    2023-2024 : Nexus 5 ☠️⚰️✝️
                    2024-***** : FPOS Fairphone 5
                    🇲🇫🇬🇧

                    1 Reply Last reply Reply Quote 0
                    • W Offline
                      wvanloon32
                      last edited by

                      I am having a similar problem.
                      [ Error writing build.prop: Read-only file system ]
                      This is what i get when I try to change the build.prop file.

                      Doesnt matter if I change the permissions with sudo or not. IT just always tells me it is a read only file system. How do I make this a writeable file system.

                      Any ideas.

                      1 Reply Last reply Reply Quote 0

                      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                      With your input, this post could be even better 💗

                      Register Login
                      • First post
                        Last post