Wrong disk space on ASUS RT-AX53U

Currently, I need to install sing-box, which according to the package should be about 10 MiB in size


However, when I try to install it, I get an error about insufficient space:

Collected errors:
 * verify_pkg_installable: Only have 26004kb available on filesystem /overlay, pkg sing-box needs 32310
 * opkg_install_cmd: Cannot install package sing-box.

It's just ridiculous, not only the packet weighs ~ 32 MiB instead of 10 MiB, but also my router has 128 MB of memory, which should be enough, but the system sees only 32.7 MiB.

So there are 2 bugs here for sure:

  1. Incorrect packet size
  2. Incorrect memory size in the device (only about 1/4 is available)

Are there any solutions to the problems I mentioned? Even if the sing-box does weigh 3 times more than it should, I still have to figure out how to make openwrt use all the space available on flash memory. I paid for the whole space, I will use the whole space

nope

  1. as your screen shot states, 9.7MB is the ipk size, not the installed size.
  2. vendor flash layout is kept when you flash openwrt, you're not getting maximal flash space.

if you want to check the layout, try doing a cat /proc/mtd from cli, it's also posted in https://openwrt.org/toh/asus/rt-ax53u#flash_layout.

AFAIK ASUS isn't publishing any flash chip capacity on their web site ...

Isn't that it?

Can I somehow bypass It? I really don't want to use the only USB port to hold a flash drive as I've used it for USB Tethering as an alternative upstream when my ISP went down

You can build your own firmware, containing a custom flash layout.

USB3 hubs are $10.

It has USB2 port.

Unlike closely related RT-AX54 (similar pcb with one more port in a different case) has full flash for openwrt.

You can integrate package compressed back via firmware-selector, luci-app-attendedsysupgrade, or running your own imagebuilder.

An USB3 hub is still $10 :slight_smile:

1 Like