Adding tools to PineTab without filling root partition
#1
I would like to get some tools on my PineTab - build-essential, git, midnight commander, pip3 install various things, jupyter etc.

One can remount the root partition as rw and then use apt to install things, and I've had success with that but it soon fills up the root partition which has less than 600MB free after a fresh install.  I'm not sure if there is a way I can target installations to go into the userdata partition.

Alternatively I could install things from source in my home directory, however of course I will need build-essential which will fill up my root partition.

What options do I have to make this work?

 - Brent -
#2
Expanding the partition would be the quickest way. Or flash Arch. The emmc is 64g but the stock image is 16g.
#3
(09-16-2020, 09:26 PM)wd5gnr Wrote: Expanding the partition would be the quickest way. Or flash Arch. The emmc is 64g but the stock image is 16g.

It looks like this was "fixed" in the latest UBPorts update by creating the userdata partition to fill the space but leaving the root partition at its current size.  If I can expand into that partition rather than resizing the root partition, that would be my goal.

Not sure why the root partition is read-only and so small.  I'm assuming these were design decisions made with some reasoning behind them, so that makes me reticent to resize the partitions myself without understanding what I am breaking.  My preference would be to find out how to work within the parameters of the installation so I don't break compatibility with future updates.  I'd like to be able to share with others a way to make the current build extensible in a way that will work now and in the future.
#4
In theory, there's no reason you shouldn't be able to mount the drive using something like flash drive and repartition it as you like. I imagine they did this because eventually they expect you to run your stuff in a container like Libertine and then the entire drive image will live in the user partition. But that doesn't work so well yet.

It wouldn't be easy, but you could probably create a directory like ~/usr in the user area and then copy stuff over to it from the real /usr and bind mount it. That wouldn't totally solve your problem but I'd bet most of where you are running out of space is in /usr. Of course, if you ever lose that mount, you go back to the old versions of stuff which may cause havoc. I don't think I'd do that myself, but it is a possible answer that would not involve installing a new OS or repartitioning the drive.


Possibly Related Threads…
Thread Author Replies Views Last Post
  PineTab 2 login screen rotation fix chzbacon 11 7,177 03-17-2024, 04:53 PM
Last Post: mtomaschett
  NixOS on PineTab 2 asonix 3 3,710 02-24-2024, 12:29 PM
Last Post: Evergreen
  Working OS on pinetab RISC-V? user641 3 2,161 12-13-2023, 08:11 AM
Last Post: tophneal
  Pinetab 2 as Pinebook Pro replacement Corkonian 4 3,503 08-15-2023, 11:22 AM
Last Post: CadenAnderson
  Software for PineTab-V msm 12 7,127 08-05-2023, 05:08 PM
Last Post: bingch
  Arch Linux ARM on PineTab 1 Danct12 25 34,393 06-10-2023, 05:33 PM
Last Post: fxc
  PineTab 2 Login Failure cptijerina 0 964 06-07-2023, 07:16 PM
Last Post: cptijerina
  PineTab Mobian bcnaz 150 172,513 04-26-2022, 11:58 AM
Last Post: thomzane
  Xmonad on PineTab Telefza 0 2,051 06-24-2021, 04:04 AM
Last Post: Telefza
  PineTab Mobian Upgrade issue - Pin no longer works thomzane 3 4,793 04-30-2021, 06:52 AM
Last Post: thomzane

Forum Jump:


Users browsing this thread: 3 Guest(s)