Troubleshooting
Common issues and solutions for ELMOS.
Build Issues
Section titled “Build Issues”“gmake not found”
Section titled ““gmake not found””brew install make# Use gmake instead of makeToolchain Build Fails
Section titled “Toolchain Build Fails”- Run
./build/elmos doctorfor missing deps - Check Xcode CLT:
xcode-select --install - Clean and retry:
./build/elmos toolchains clean
Kernel Build Errors
Section titled “Kernel Build Errors”- Regenerate config:
./build/elmos kernel config defconfig - Apply patches:
./build/elmos patch apply - Check HOSTCFLAGS: ELMOS sets automatically
Runtime Issues
Section titled “Runtime Issues”QEMU Won’t Start
Section titled “QEMU Won’t Start”- Ensure kernel and rootfs exist
- Check architecture match:
./build/elmos arch
Module Load Fails
Section titled “Module Load Fails”- Verify toolchain compatibility
- Check kernel symbols:
modinfo module.ko
TUI Shows Help Text
Section titled “TUI Shows Help Text”- Rebuild ELMOS:
task build
Environment
Section titled “Environment”UUID Conflicts
Section titled “UUID Conflicts”- Patches applied? Check
./build/elmos status
Slow Builds
Section titled “Slow Builds”- Increase jobs: Set
JOBS=8in config - Use SSD for workspace
General
Section titled “General”Doctor Fails
Section titled “Doctor Fails”- Reinstall deps
- Update macOS to Sequoia+
Sparse Image Issues
Section titled “Sparse Image Issues”- Recreate:
rm build/elmos.sparseimage; ./build/elmos init
Getting Help
Section titled “Getting Help”- Issues
- Check logs in
build/