Helper commands to run the X Linux ISO and boot an installed disk with QEMU.
Adjust paths (ISO, DISK) to your machine.
ISO=/home/x0z/Documents/repos/x-lnux/x/out/x-2026.09.06-x86_64.iso
DISK=/home/x0z/x-vm.qcow2qemu-img create -f qcow2 "$DISK" 32Gqemu-system-x86_64 -enable-kvm -m 6144 -smp 4 -cpu host \
-cdrom "$ISO" \
-drive file="$DISK",if=virtio,format=qcow2 \
-netdev user,id=net0 -device virtio-net-pci,netdev=net0 \
-boot dThe text installer runs automatically on the first tty1 login. Shortcut (alias) if you are dropped to a shell:
alias xinstall='bash /root/x-installer/installer.sh'
xinstallqemu-system-x86_64 -enable-kvm -m 6144 -smp 4 -cpu host \
-drive file="$DISK",if=virtio,format=qcow2 \
-netdev user,id=net0 -device virtio-net-pci,netdev=net0 \
-boot ccp /usr/share/edk2/x64/OVMF_VARS.4m.fd /tmp/ovmf_vars.fd
qemu-system-x86_64 -enable-kvm -m 6144 -smp 4 -cpu host \
-drive file=/usr/share/edk2/x64/OVMF_CODE.4m.fd,if=pflash,format=raw,readonly=on \
-drive file=/tmp/ovmf_vars.fd,if=pflash,format=raw \
-drive file="$DISK",if=virtio,format=qcow2 \
-netdev user,id=net0 -device virtio-net-pci,netdev=net0Notes:
- The installer writes both a BIOS boot (GRUB +
bios_grubpartition) and a UEFI boot path when GRUB is selected, so either boot works. - systemd-boot is UEFI-only: boot the disk with the OVMF command above.
-netdev user(slirp) provides NAT without libvirt/virtual networks.- On hosts whose kernel lacks the
htbqdisc (e.g. custom builds), libvirt'sdefaultnetwork and VirtualBox host modules may fail; direct QEMU above avoids both.