-.qemuboot.conf 39- No Such File Or Directory _top_ File
The safest way to regenerate the .qemuboot.conf file is to rebuild the image:
If your build was interrupted (power loss, full disk, kill -9 ), temporary files or the tmp/deploy/images directory may be left in an inconsistent state. A .qemuboot.conf file might be partially written or missing entirely.
bitbake core-image-minimal # or your target image
Always ensure you have sourced the environment setup script before -.qemuboot.conf 39- no such file or directory
The runqemu script relies on DEPLOY_DIR_IMAGE to locate the .qemuboot.conf file. If this variable is unset or points to an incorrect directory, the script may construct a malformed path.
runqemu -d <your-machine>
mkdir build-x86 build-arm cd build-x86 && source ../oe-init-build-env cd ../build-arm && source ../oe-init-build-env The safest way to regenerate the
Example:
:Check your deployment directory manually to see if the file was generated: ls tmp/deploy/images/ /*.qemuboot.conf .
You might notice the strange hyphen prefix in the error log ( -.qemuboot.conf ). This is often a result of string manipulation within the runqemu script. If the script attempts to construct the filename based on a machine variable that is empty or unset, it may produce a malformed filename starting with a hyphen. This suggests that the environment variables defining your target machine are not being passed correctly to the execution script. If this variable is unset or points to
ls -la tmp/deploy/images/<your-machine>/*.qemuboot.conf
If the script expects -.qemuboot.conf , you can trick it by creating a symlink (though this is a hack, not a fix):
If you need to develop or modify this feature, these are the key variables typically found in the file: QB_MACHINE : Defines the QEMU machine type (e.g., -machine virt QB_KERNEL_ROOT : Sets the kernel's root device (e.g., : Specifies the amount of memory for the VM (e.g., QB_DEFAULT_FSTYPE : Sets the default filesystem type to boot (e.g., The Yocto Project sample qemuboot.conf template for a specific architecture like ARM or x86? 4.10 Moving to the Yocto Project 2.2 Release (morty) 18 Mar 2026 —