A developer has created a unique self-booting ZIP archive. This archive is designed to be directly executable as a kernel, specifically demonstrated using QEMU. The project explores the polyglot capabilities of the ZIP format, reminiscent of older self-extracting archives.
The boot.zip archive is a standard ZIP file that contains all the source code required to rebuild itself. Key files include boot/ZIPHEAD.COM, which holds the executable code that runs when the archive is booted. Other contents include various assembly and C source files, headers, and build scripts.
To rebuild the archive, users need to unpack it, fix execute permissions for mk.sh, and have Zlib installed. Running mk.sh will then generate a new copy of the bootable ZIP.
The simplest method to run this self-booting ZIP archive is to pass it directly to QEMU using the -kernel flag. For example, qemu-system-i386 -kernel boot.zip will execute the archive. This functionality relies on QEMU's Multiboot support, as the ZIPHEAD.COM component is uncompressed and located at the beginning of the archive, containing a Multiboot header.
The project was inspired by discussions around early userspace and initrd, particularly the Linux kernel's support for CPIO archives. The developer noted the historical prevalence of ZIP in DOS/WinDOS environments and its design flexibility for polyglot applications, leading to the creation of this self-booting variant.
✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →
One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.
One email a day. Unsubscribe in one click, any time.
Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.
▶ Play today's briefNew every morning, and the back catalogue is archived by date.
A developer created a self-booting ZIP archive that can be directly executed as a kernel in QEMU. This ZIP file contains its own source code and includes an executable header, ZIPHEAD.COM, which runs upon booting.