CHAPTER 21Troubleshooting Linux
In any complex operating system, lots of things can go wrong. You can fail to save a file because you are out of disk space. An application can crash because the system is out of memory. The system can fail to boot up properly for, well, lots of different reasons.
In Linux, the dedication to openness and the focus on making the software run with maximum efficiency have led to an amazing number of tools that you can use to troubleshoot every imaginable problem. In fact, if the operating system isn’t working as you would like, you even rewrite the code yourself (although I don’t cover how to do that here).
This chapter takes on some of the most common problems that you can run into on a Linux system, and it describes the tools and procedures that you can use to overcome those problems. Topics are broken down by category, including the boot process, software packages, networking, and memory issues.
Boot-Up Troubleshooting
Before you can begin troubleshooting a running Linux system itself, that system needs to boot up. For a Linux system to boot up, a series of things has to happen. A Linux system installed directly on a PC architecture computer goes through the following steps:
- Turning on the power
- Starting the hardware (from Basic Input/Output System [BIOS] ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access