I built an image and it's too large! My rootfs is too small! My router does not remember settings!

Root cause:

  • You selected too many packages in menuconfig: Packages selected with y or shown as * get included in squashfs instead of installing them later to jffs2.

Solutions:

  • Delete unused base packages: :!: be very careful :!:
    Example ppp: luci automatically selects ppp. This is not always needed. In menuconfig,
    1. de-select luci
    2. pick the components manually: luci-base, luci-mod-admin-full, luci-theme-bootstrap
  • Use extroot
  • Disable busybox features
  • Hardware mod your router with larger flash ( :!: possible bootloader modification )
  • Last modified: 2019/10/27 10:52
  • by tmomas