
This companion guide expands on the video Qwen With No Operating System: llm.asm Boot Test, uploaded 2026-11-27, which builds and boots a chat AI that runs with no Linux, no C library, and no Python underneath it. Watch the video on YouTube as the starting point for everything below.
The project is llm.asm by Alexey Fateev, and the video follows its Phase 2 02-baremetal-os target, documented at 02-baremetal-os. That target is a bootable x86-64 Qwen3-0.6B system in 24,252 bytes of hand-written NASM assembly, going from Multiboot through long mode to SMP chat over a serial console. The version tested here is git commit 48feccbfd57cb669440f31ff64958d95bb8b848e from 2026-11-25, cloned and verified in the sandbox on 2026-11-27. The video takes the faster QEMU direct-kernel-boot path on Debian 13, using the same kernel the Proxmox diskless-VM path uses, and the Proxmox path itself is linked in the video description rather than demonstrated.
No subtitles were available on the video at time of writing, so nothing below quotes the narration. The steps and numbers come from the video description and the verified sandbox record behind it.

The video shows Debian 13 on x86-64, and these are the tested requirements.
The sandbox run behind the video used a disposable Debian 13 guest with 4 vCPUs and 4 GB RAM on a Proxmox 9.2.2 host with an i5-10500T, with /dev/kvm present for nested KVM. QEMU was run with -m 2G -smp 4. All performance numbers below are nested-KVM numbers from that i5-10500T setup, so bare metal will differ.
These are the tested commands in order, shown on Debian 13. Each one ran in the sandbox on 2026-11-27.
sudo apt-get install -y nasm qemu-system-x86 python3-venvpython3 -m venv ~/llmasm/venv~/llmasm/venv/bin/pip install numpy huggingface_hubgit clone https://github.com/alesha-pro/llm.asm.git ~/llmasm/repo~/llmasm/venv/bin/hf download Qwen/Qwen3-0.6B config.json model.safetensors tokenizer.json --local-dir models/qwen3-0.6b-bf16~/llmasm/venv/bin/python scripts/export_weights.py --model-dir models/qwen3-0.6b-bf16 --out models/qwen3-0.6b-q8_0.asmbin --scale-dtype fp16make os FAST_Q8=1ls -la build/asm-llm-os.elf && file build/asm-llm-os.elfmake os-run MODEL=models/qwen3-0.6b-q8_0.asmbin SMP=4 CMDLINE='prompt=\"What is a CPU cache? Answer in 2 sentences.\" max_tokens=48 think=0 shutdown=1'Two gotchas from the sandbox are worth knowing before you start. If QEMU reports it cannot access the KVM kernel module with permission denied, run sudo adduser $USER kvm and log out and back in. And the QEMU guest needs -cpu host or equivalent, because the default kvm64 CPU lacks AVX2 and the kernel will refuse to boot. The model used is Qwen3-0.6B, which is ungated, and the export needs only numpy and huggingface_hub.

The build produced build/asm-llm-os.elf at exactly 24,252 bytes, reported as an ELF 32-bit LSB executable, statically linked and stripped, with no dynamic section. The weight export wrote 643,469,504 bytes (613.66 MiB) in 8.80 seconds.
The canonical boot log recorded Boot: 134.44 ms with SMP 4 of 4 online, prefill of 24 tokens at 55.86 tokens per second, decode of 48 tokens at 40.22 tokens per second on 4 cores, boot to first token in 619.54 ms, and a clean ACPI shutdown. Run-to-run variance under nested virtualization was real, with boot times of 134, 410, and 441 ms and decode between 37 and 40 tokens per second across three runs, and the video uses the best measured run.
Parity was checked by running the same prompt on the Phase 1 Linux binary and on the bare-metal KVM guest, and the prompt tokens plus all 48 generated tokens were byte-identical. That is a one-prompt check only, not the full five-prompt suite, and the video claims one-prompt parity only. For context, the project README claims figures such as 74 to 94 ms cold boot, 134.9 tokens per second decode on a 16-vCPU KVM EPYC guest, and 55.4 tokens per second live on Proxmox with a Xeon E5-2670 v3, but those are the author's claims and were not re-tested here. Interest context includes the Hacker News thread Bare Metal Qwen, which reached the front page on 2026-11-26 with 230 points and 58 comments, plus the release roundup at ai-tldr.

Two things are explicitly untested. The Proxmox diskless-VM ISO path from the project README, built with make os-iso and run as a zero-disk VM with host CPU and no ballooning, was not built or booted here, so follow the 02-baremetal-os docs if you want that route. And the full five-prompt plus scaling suite was not run, because its recipe hardcodes 16-vCPU OS runs and 32-thread Phase 1 runs that timed out on this 4-vCPU guest.
If you reproduce this, compare against the nested-KVM baselines above rather than treating them as bare-metal promises. The file to check first is build/asm-llm-os.elf at 24,252 bytes, then the boot banner timing and the prefill and decode lines in your own serial log.