Which directory for make menuconfig

I found an old archived thread about the "error: ext4_allocate_best_fit_partial: failed to allocate" error that said to run make menuconfig and increase the root partition size but it didn't say what directory to run make in.

Creating 4.0 filesystem on /hdd-storage/storage/programming/openwrt-imagebuilder/openwrt-imagebuilder-23.05.0-bcm27xx-bcm2711.Linux-x86_64/build_dir/target-aarch64_cortex-a72_musl/linux-bcm27xx_bcm2711/root.squashfs, block size 262144.
Pseudo file "dev" exists in source filesystem "/hdd-storage/storage/programming/openwrt-imagebuilder/openwrt-imagebuilder-23.05.0-bcm27xx-bcm2711.Linux-x86_64/build_dir/target-aarch64_cortex-a72_musl/root-bcm27xx/dev".
Ignoring, exclude it (-e/-ef) to override.
[======================================================================================\] 3853/3853 100%

Exportable Squashfs 4.0 filesystem, xz compressed, data block size 262144
        compressed data, compressed metadata, compressed fragments,
        no xattrs, compressed ids
        duplicates are removed
Filesystem size 29526.87 Kbytes (28.83 Mbytes)
        23.36% of uncompressed filesystem size (126425.61 Kbytes)
Inode table size 29162 bytes (28.48 Kbytes)
        21.01% of uncompressed inode table size (138804 bytes)
Directory table size 38546 bytes (37.64 Kbytes)
        42.87% of uncompressed directory table size (89913 bytes)
Number of duplicate files found 263
Number of inodes 4212
Number of files 3659
Number of fragments 291
Number of symbolic links 339
Number of device nodes 1
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 213
Number of hard-links 0
Number of ids (unique uids + gids) 1
Number of uids 1
        unknown (0)
Number of gids 1
        unknown (0)
Creating filesystem with parameters:
    Size: 109051904
    Block size: 4096
    Blocks per group: 32768
    Inodes per group: 6656
    Inode size: 256
    Journal blocks: 0
    Label: rootfs
    Blocks: 26624
    Block groups: 1
    Reserved blocks: 0
    Reserved block group size: 7
error: ext4_allocate_best_fit_partial: failed to allocate 89 blocks, out of space?

I had to edit the .config file and increase CONFIG_TARGET_ROOTFS_PARTSIZE=256.
make menuconfig doesn't work on imagebuilder and overrider it from the command line doesn't work.

It's been documented in 22.03.3 x86 Image Builder issues.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.