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 withy
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. Inmenuconfig
,- de-select
luci
- 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 )