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



  • 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?



  • Root file system is read only. Look into Libertine.



  • 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).



  • 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.



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



  • @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.


Log in to reply