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

    root drive full? (some kind of virtual disk?)

    Scheduled Pinned Locked Moved Support
    6 Posts 5 Posters 392 Views 2 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.
      • H Offline
        halle
        last edited by halle

        Hey trying to install curl so I can run a script from CL. apt-get says not enough disk space, but phone has like 9.5 gigs free.

        df lists root drive / as /dev/loop and having like 100kb free or something. How do I increase the size of this to install some software through the CL?

        1 Reply Last reply Reply Quote 0
        • poVoqP Offline
          poVoq
          last edited by

          Root file system is read only. Look into Libertine.

          Fairphone 5 (waiting for port)

          1 Reply Last reply Reply Quote 1
          • I Offline
            Idefix
            last edited by

            I had the same issue and was highly disappointed to find a system so tightly locked. I want to add a feature, which implies manipulating nftables, unbound, vsftpd and things like that, if they are installed in a container, is there some hope it will function ?
            I tried to remount the partition rw, but the space is strictly limited to 2GB, when I have 16 GB on a Nexus 5
            I am used to Debian (Stretch and Buster).

            arubislanderA 1 Reply Last reply Reply Quote 0
            • K Offline
              kugiigi
              last edited by

              UT is not designed to do such things. Its root is limited to 2GB (due to cache size limitation I think) and mounted as read-only. I'm pretty sure you're wondering because this a linux OS after all. However, UT is quite different from the other linux OS, at least for now.
              The official way of installing stuffs is using Libertine which is a container.

              If you still want to use the root, there are ways of resizing the root and mount it as RW. Ironically, I'm one of those users that did this extensively on my Nexus 5 πŸ˜‚
              You can search here in this forum for the instructions . I believe there are a couple of such post.

              I 1 Reply Last reply Reply Quote 0
              • I Offline
                Idefix @kugiigi
                last edited by

                @kugiigi thanks a lot for the answer. Knowing it is possible is important, thank you. I'll have a look at this.

                1 Reply Last reply Reply Quote 0
                • arubislanderA Offline
                  arubislander @Idefix
                  last edited by

                  @Idefix said in root drive full? (some kind of virtual disk?):

                  I want to add a feature, which implies manipulating nftables, unbound, vsftpd and things like that, if they are installed in a container, is there some hope it will function ?

                  You haven't elaborated on what it is you are trying to do. But lots of commandline tools and apps work fine in a Libertine container. Also installing them there carries the added benefit that if you switch channels, your apps remain installed.

                  πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
                  Happily running Ubuntu Touch
                  Google Pixel 3a (20.04 DEV)
                  JingPad (24.04 preview)
                  Meizu Pro 5 (16.04 DEV)

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post