<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Qemu on Linux4Every1</title><link>https://linux4every1.info/tags/qemu/</link><description>Recent content in Qemu on Linux4Every1</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Mon, 26 Oct 2026 11:22:28 +0100</lastBuildDate><atom:link href="https://linux4every1.info/tags/qemu/index.xml" rel="self" type="application/rss+xml"/><item><title>Boot an ARM64 Linux Kernel and Root Filesystem in QEMU</title><link>https://linux4every1.info/embedded/boot-arm64-linux-kernel-qemu-system/</link><pubDate>Mon, 26 Oct 2026 11:07:07 +0100</pubDate><guid>https://linux4every1.info/embedded/boot-arm64-linux-kernel-qemu-system/</guid><description>&lt;p&gt;You can boot an arm64 Linux kernel in QEMU on an x86 PC with &lt;code&gt;qemu-system-aarch64&lt;/code&gt;, no board required. This guide downloads a prebuilt arm64 kernel and a static BusyBox, packs them into a root filesystem, boots them, and checks from inside the guest that it reports &lt;code&gt;aarch64&lt;/code&gt;.&lt;/p&gt;</description></item><item><title>Cross-Compile a C Program for ARM64 and Run It with QEMU User-Mode</title><link>https://linux4every1.info/embedded/cross-compile-arm64-program-qemu-user-mode/</link><pubDate>Mon, 26 Oct 2026 10:56:08 +0100</pubDate><guid>https://linux4every1.info/embedded/cross-compile-arm64-program-qemu-user-mode/</guid><description>&lt;p&gt;You can build a C program for a 64-bit ARM (arm64, also called aarch64) machine on an ordinary x86 Debian host and run it without any ARM hardware. A GCC cross-compiler produces the binary, and QEMU&amp;rsquo;s user-mode emulation executes it on your own operating system.&lt;/p&gt;</description></item><item><title>Build an Initramfs by Hand and Boot It in QEMU on Linux</title><link>https://linux4every1.info/embedded/build-initramfs-by-hand-qemu-boot/</link><pubDate>Mon, 26 Oct 2026 02:34:48 +0100</pubDate><guid>https://linux4every1.info/embedded/build-initramfs-by-hand-qemu-boot/</guid><description>&lt;p&gt;An initramfs is a compressed cpio archive that the kernel unpacks into memory and uses as its first root filesystem. This guide builds a tiny one by hand, with a static BusyBox and a short &lt;code&gt;/init&lt;/code&gt; script, and boots it in QEMU so you can watch early userspace start.&lt;/p&gt;</description></item><item><title>Buildroot: Build a Minimal Linux Image and Boot It in QEMU</title><link>https://linux4every1.info/embedded/buildroot-minimal-image-qemu-boot/</link><pubDate>Sun, 25 Oct 2026 21:20:23 +0100</pubDate><guid>https://linux4every1.info/embedded/buildroot-minimal-image-qemu-boot/</guid><description>&lt;p&gt;Buildroot generates a complete embedded Linux system (toolchain, kernel, root filesystem) by cross-compilation. This guide builds the ready-made configuration for QEMU&amp;rsquo;s x86-64 PC and boots it, so you can try the workflow without a development board.&lt;/p&gt;&#10;&lt;h2 id="what-you-need"&gt;What you need&lt;/h2&gt;&#10;&lt;p&gt;The manual lists &lt;code&gt;make&lt;/code&gt; (3.81 or later), &lt;code&gt;gcc&lt;/code&gt; and &lt;code&gt;g++&lt;/code&gt; (4.8 or later), &lt;code&gt;perl&lt;/code&gt;, &lt;code&gt;bc&lt;/code&gt;, &lt;code&gt;rsync&lt;/code&gt;, &lt;code&gt;file&lt;/code&gt;, &lt;code&gt;unzip&lt;/code&gt; and &lt;code&gt;wget&lt;/code&gt; as mandatory build tools. &lt;code&gt;make menuconfig&lt;/code&gt; additionally needs the ncurses development files. The manual says you can and should build everything as a normal user, so do not use root for the build.&lt;/p&gt;</description></item><item><title>Cross-Compile a Hello World for ARM and Run It with QEMU User-Mode</title><link>https://linux4every1.info/embedded/cross-compile-arm-hello-world-qemu/</link><pubDate>Sun, 25 Oct 2026 21:03:36 +0100</pubDate><guid>https://linux4every1.info/embedded/cross-compile-arm-hello-world-qemu/</guid><description>&lt;p&gt;You can cross-compile a program for an ARM processor on an ordinary x86 PC and run it right away, without an ARM board or a full virtual machine. A cross-compiler produces the ARM binary, and QEMU&amp;rsquo;s user-mode emulation executes it, passing the program&amp;rsquo;s system calls to your own kernel.&lt;/p&gt;</description></item></channel></rss>