Linux & OS Internals
From power-on to login: firmware, bootloader, kernel, systemd
A server reboots after a kernel update and never answers SSH. Four different programs run before the login prompt, and the last line on the console tells you which one failed.
What is in the lesson
- A real situation where this goes wrong
- How it works, step by step
- A walkthrough with commands you can run
- How it fails in production, and how to tell
- Three quiz questions with explanations
Read this lessonFree. No account needed.
More in Linux & OS Internals
- Build a disk-and-service check script and schedule itBeginner · 5 min
Combine five earlier lessons into one working job: test disk and services, exit non-zero on trouble, log with timestamps, run it every five minutes.
- Capstone: diagnose a broken server: disk, port, DNS, permissionsBeginner · 6 min
Four faults hide behind one symptom. Work from the outside in, change one thing at a time, and let each fix reveal the next problem.
- Writing a systemd unit: ExecStart, Restart and dependenciesBeginner · 5 min
Your app runs from a terminal session, so it dies at reboot and nobody restarts it after a crash. A dozen lines of unit file fix both, and three details decide whether…
- systemd timers vs cron, and filtering the journalBeginner · 4 min
Three servers run a nightly report from cron at 02:00, all hit the database in the same second, and a server that was off at 02:00 never ran it. Timers fix both, and…
- Reading top, htop and ps: VIRT, RES and state DBeginner · 5 min
A load average of 18 on a 4-core server whose CPU is almost idle, and six processes you cannot kill. Every number in the top header and every letter in the state column…
- Finding the bottleneck: vmstat, iostat and the USE methodBeginner · 5 min
The ticket says 'the app is slow' and four people suggest four different causes. Three questions asked of each resource in turn, utilization, saturation and errors…