HN Hall of Fame Weekly email

How to create an OS from scratch – tutorial

Screenshot of github.com captured 2026-07-20
Page preview · captured 2026-07-20

Resurfaced independently across 5 calendar years, with breakout response in 2 of them.

submissions
5
submitters
5
observed span
2017–2025
peak thread · 79 comments
377 pts
latest 20+ return · 2025-09-29
227 pts

Submission timeline

2007–2026

One slot for every year since HN launched. Height is that year's peak points; orange marks a 100+ point or 50+ comment breakout. Select a bar to open its strongest thread.

First comments on top threads

HN comment order

I've seen a number of "build an OS" tutorials pop up recently, and that's awesome! Building an OS will definitely help you understand how to write better user-space programs, and it's fun. One thing I wish is that more of them would feature UEFI instead of BIOS, or at least come with a warning, as Intel plans to drop support for legacy BIOS in 2020. Going through UEFI is actually easier anyway, IMHO. ... Maybe I should stop complaining and…

Having built a few bare metal and hobby OS projects over the years, I would not recommend the path taken in this tutorial series. Because if you want to write an OS, don't write a bootloader first. This article essentially describes a stage 1 bootloader on top of legacy BIOS firmware. It will teach you about historical x86 minutiae, which is nothing but a hindrance if you want to understand OS concepts. Instead you should try to get a bootable…

exDM69·227-point thread·

The first top-level comment from each of the four biggest threads, in HN’s own order. Excerpts are shortened; open a comment for full context.

Breakout years
2

100+ points or 50+ comments

Total points
609

reference only — not used in Hall rules or ranking

Total comments
137

reference only — not used in Hall rules or ranking

Every submission

DateTitle as submittedByPointsComments
2017-05-05How to create an OS from scratchpietromenna30
2018-09-19How to create an OS from scratch – tutorialFirst breakout · Best threadzabana37758
2019-02-17Os-Tutorial: How to Create an OS from Scratchingve10
2020-08-04OS Tutorial: How to create OS from scratchtjomk10
2025-09-29How to create an OS from scratchHall induction · Latest 20+ point returnpykello22779