# This ZIP Archive Boots Itself on a Bare PC

Original title: Creating a self booting ZIP archive

> Hacker News story 50498295 · language: en · submitted 2026-11-14
> Web version: https://zeli.app/story/50498295
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 73 · by [gdgghhhhh](<https://news.ycombinator.com/user?id=gdgghhhhh>) · 💬 11
[original](<https://goliath32.com/blog/ziphead.html>) · [HN discussion](<https://news.ycombinator.com/item?id=50498295>)

## Summary

A developer built a ZIP archive that is also a bootable disk image. The first bytes form a valid ZIP local file header whose filename field doubles as a jump instruction, and the Multiboot magic 0x1BADB002 hides in the header bytes. It boots under QEMU direct kernel boot, from a floppy image, or on real hardware including a Pentium MMX, i486 DX2, and Am386DX-40. The archive even contains the source code to rebuild itself.

## Key quote

> Luckily, Phil Katz' initials are valid opcodes.

## HN discussion (11 comments)

### [jlundberg](<https://news.ycombinator.com/item?id=50500590>)

> Thx for a good read!
>
> Uncompressed ZIP files are a bit of an underappreciated container format.
>
> Fetching individual files from a big ZIP file even works over HTTP when the http server support range requests.

### [Grimeton](<https://news.ycombinator.com/item?id=50502786>)

> "Your scientists were so preoccupied with whether or not they could, they didn't stop to think if they should."
>
> -- Dr. Ian Malcolm

### [ebb_earl_co](<https://news.ycombinator.com/item?id=50500508>)

> I have been a software developer for ten years, enthusiast for 20 years, and am “the computer guy” to my family and friends. However, when I read through something like this, it really feels that my knowledge of computing is ε away from 0…

---

## Cite

- Page: https://zeli.app/story/50498295
- Date: 2026-11-14
- Source: goliath32.com (https://goliath32.com/blog/ziphead.html)
- Hacker News: https://news.ycombinator.com/item?id=50498295

## Other languages

- zh: https://zeli.app/zh/story/50498295 · markdown: https://zeli.app/zh/story/50498295.md
- ja: https://zeli.app/ja/story/50498295 · markdown: https://zeli.app/ja/story/50498295.md
- ko: https://zeli.app/ko/story/50498295 · markdown: https://zeli.app/ko/story/50498295.md
- de: https://zeli.app/de/story/50498295 · markdown: https://zeli.app/de/story/50498295.md
- es: https://zeli.app/es/story/50498295 · markdown: https://zeli.app/es/story/50498295.md
- ru: https://zeli.app/ru/story/50498295 · markdown: https://zeli.app/ru/story/50498295.md
