Explore the Linux boot process from power-on to login. Learn how the CPU moves through Real Mode to Long Mode, handling firmware, GRUB, and kernel initialization.

The Linux boot process is an incredibly delicate relay race where the CPU starts in an ancient 16-bit mode and must manually climb a ladder through protected layers just to reach the 64-bit environment we actually use.
Deep linux os internals - bootloader, grub uefi up until desktop env screen.


The Linux boot process is a delicate relay race that begins the moment you hit the power button. Initially, the CPU starts in an ancient 16-bit 'Real Mode' that mimics hardware from the 1970s. From there, it must manually climb a ladder through 'Protected Mode' to finally reach the 64-bit 'Long Mode' used by modern systems. This journey involves the firmware and bootloader initializing hardware components in stages to prepare the environment for the operating system.
Even the most advanced modern processors begin the boot journey by pretending to be an 8086 chip from decades ago. This 'Real Mode' is a legacy requirement that the CPU must navigate before it can transition into more complex states. By starting in this basic mode, the system can gradually initialize hardware and hand off control between increasingly sophisticated layers of code, eventually reaching the 64-bit Long Mode required for a functional Linux desktop environment.
Errors such as a 'GRUB Rescue' prompt or a kernel panic occur when the 'relay race' of the boot process is interrupted. Because the boot sequence relies on one piece of code successfully initializing hardware to hand off the baton to the next layer, any failure in this chain can result in a system that feels like a 'brick.' Understanding the path from firmware through kernel initialization helps demystify these cryptic messages and explains why the system failed to reach the login screen.
From Columbia University alumni built in San Francisco
"Instead of endless scrolling, I just hit play on BeFreed. It saves me so much time."
"I never knew where to start with nonfiction—BeFreed’s book lists turned into podcasts gave me a clear path."
"Perfect balance between learning and entertainment. Finished ‘Thinking, Fast and Slow’ on my commute this week."
"Crazy how much I learned while walking the dog. BeFreed = small habits → big gains."
"Reading used to feel like a chore. Now it’s just part of my lifestyle."
"Feels effortless compared to reading. I’ve finished 6 books this month already."
"BeFreed turned my guilty doomscrolling into something that feels productive and inspiring."
"BeFreed turned my commute into learning time. 20-min podcasts are perfect for finishing books I never had time for."
"BeFreed replaced my podcast queue. Imagine Spotify for books — that’s it. 🙌"
"It is great for me to learn something from the book without reading it."
"The themed book list podcasts help me connect ideas across authors—like a guided audio journey."
"Makes me feel smarter every time before going to work"
From Columbia University alumni built in San Francisco
