Day 8 of 15
Day 8 · Boot, systemd and the kernel
From the power button to the prompt: what happens at each step, how you manage it with systemd and how you handle the kernel and its modules.
By the end of this day you will be able to
- Explain the whole boot process: firmware, GRUB 2, kernel, initramfs and systemd, including network boot (PXE).
- Change the GRUB 2 configuration and the kernel parameters, and regenerate grub.cfg and the initramfs.
- Manage services with systemctl: start, stop, restart, reload, enable, disable, mask and status.
- Choose the boot target and write your own service unit.
- Troubleshoot failures with journalctl, filtering by unit, priority and boot.
- Load, remove, query and persist kernel modules, and explain udev, /dev and /sys.
Topics
- BIOS, UEFI and Secure Boot
- GRUB 2 and /etc/default/grub
- Kernel parameters
- initrd and initramfs
- PXE
- Units and systemctl
- Targets
- Custom unit files
- journalctl
- Modules, udev, /dev and /sys
This lesson is part of the full course
It includes the full explanation, 16 terminal tasks that check themselves and 10 review questions. If you already bought the course, sign in and pick up where you left off.
Full course: $99 (regular price $149) · one payment · 12 months of access
Today’s featured course The launch price ends in
Already paid? Sign in with the email you used to buy: we send you a 6-digit code, no password.
Want to try it first? Take a free trial of the course. Questions? Message us on WhatsApp.
Loading your lesson…
Stage 1 of 3
Learn
Read calmly, one part at a time. Wherever there is a sample command, the “Type it for me” button types it into the terminal, below.
Keep scrolling: the lab is next
Stage 2 of 3
Practice
Now it’s your turn, one task at a time. The task is on top; the terminal are below. When you complete it, it checks itself and the next one appears. Your progress is saved.
Keep scrolling: the review questions come after the lab
Stage 3 of 3
Check
A few short questions to check what you learned. We tell you right away whether you got it right and why.
See all the lessons in the course
The companies, people and data in the course stories are fictional; any resemblance to reality is coincidental.
HacksinCodigos is not affiliated with, sponsored by or endorsed by CompTIA. CompTIA, CompTIA Linux+ and Linux are trademarks of their respective owners, used only to describe the exam this course prepares you for. All practice questions are original, written by HacksinCodigos from the public exam objectives; they are not questions from the real exam. The certification is granted only by its owner when you pass the official exam, and no course guarantees a passing result. Course terms · Privacy.