Ask HN: Where can I find a primer on how computers boot?
457 pointsAs a developer, I recently encountered challenges with GRUB and discovered I lacked knowledge about my computer's boot process. I realized terms like EFI partition, MBR, GRUB, and Bootloader were unfamiliar to me and many of my colleagues. I'm seeking introductory and easy-to-understand resources to learn about these concepts. Any recommendations would be appreciated!
Comments (94) 57 threads
Earlier commentsIt explains the boot process from the cpu initialization to a the end of the linux kernel initialization.
And since no one's mentioned let me say that TLDP is a comprehensive, understandable, and the authoritative source on all things Linux.
That said, here's two documents from TLDP.
1. [Boot process, Init and shutdown] https://tldp.org/LDP/intro-linux/html/sect_04_02.html
2. [The boot process in closer look] https://tldp.org/LDP/sag/html/boot-process.html
https://en.wikipedia.org/wiki/GNU_GRUB
Incidentally I discovered you can learn a fair amount about the boot process by making bad edits to your /etc/fstab file on a Linux system :) e.g.
https://unix.stackexchange.com/questions/107828/how-is-etc-f...
Also this central page for different bootloaders for a variety of systems, is kind of interesting, there's many different approaches.
https://en.wikipedia.org/wiki/Comparison_of_bootloaders
UNIX and Linux System Administration Handbook, 5th Edition, Chapter 2: Booting and System Management Daemons
"Code" by Charles Petzold, 2nd Edition, Chapter Twenty-Six: The Operating System
The first one is totally fine to read stand-alone. "Code" makes more sense to read cover to cover, though the chapter on its own isn't totally useless.
All comments shown.
Couldn't load more comments. Check your connection and try again.