How to Troubleshoot Common Linux Issues (Boot, Software, and Hardware Fixes)

Published On: October 3, 2025
Follow Us
How to Troubleshoot Common Linux Issues (Boot, Software, and Hardware Fixes)

Linux is a powerful and stable operating system, but like any OS, it can sometimes run into issues. Whether your system won’t boot, software isn’t working right, or hardware devices aren’t detected, this guide will help you troubleshoot the most common Linux problems with easy-to-follow steps.


🛠️ Common Linux Issues Overview

Issue TypeSymptomsTypical Causes
Boot ProblemsSystem won’t start, black screenCorrupt bootloader, disk errors
Software IssuesApps crash, won’t start, errorsMissing dependencies, config errors
Hardware ProblemsDevices not recognized, no soundDriver issues, kernel modules missing

🔄 1. Troubleshooting Boot Problems

Symptom: Linux doesn’t boot or gets stuck on a black screen

Step 1: Check if GRUB (Bootloader) Shows Up

  • If you don’t see the GRUB menu during startup, try pressing Shift (BIOS systems) or Esc (UEFI systems) right after powering on.
  • If GRUB is missing or corrupted, you may need to repair it.

Step 2: Repair GRUB Bootloader

For Ubuntu/Debian based systems:

  1. Boot from a Live USB/DVD (Linux installation media)
  2. Open a terminal and mount your Linux partition:
sudo mount /dev/sdXY /mnt  # Replace XY with your Linux root partition (e.g., sda1)
sudo mount --bind /dev /mnt/dev
sudo mount --bind /proc /mnt/proc
sudo mount --bind /sys /mnt/sys
  1. Chroot into your system:
sudo chroot /mnt
  1. Reinstall GRUB:
grub-install /dev/sdX  # Replace X with your disk, e.g., sda
update-grub
exit
  1. Reboot.

Step 3: Check Disk Health

Boot issues can arise from disk errors. Use:

sudo fsck /dev/sdXY

To check and fix filesystem errors on your partitions (replace XY accordingly).


🐞 2. Troubleshooting Software Issues

Symptom: Application crashes or fails to start

Step 1: Run the Application from Terminal

Open terminal and type the app’s name. This often shows error messages that help identify the problem.

Example:

firefox

Check for missing libraries or permission errors.

Step 2: Check for Missing Dependencies

On Ubuntu/Debian:

sudo apt update
sudo apt install -f

This fixes broken dependencies.

Step 3: Reinstall the Application

sudo apt remove app-name
sudo apt install app-name

🖥️ 3. Troubleshooting Hardware Problems

Symptom: Devices not working (Wi-Fi, sound, printer, etc.)

Step 1: Check Hardware Detection

List all PCI devices:

lspci

List USB devices:

lsusb

Look for your device to confirm the system detects it.

Step 2: Check Kernel Modules (Drivers)

lsmod

Look for drivers related to your hardware. For example, for Wi-Fi:

lsmod | grep wifi

Step 3: Install Missing Drivers

  • For Broadcom Wi-Fi, install:
sudo apt install bcmwl-kernel-source
  • For Nvidia GPUs, install proprietary drivers:
sudo ubuntu-drivers autoinstall

Step 4: Check Audio Settings

Use Alsamixer:

alsamixer

Make sure the sound is not muted and volume is up.


🧩 4. General Useful Commands for Troubleshooting

CommandPurpose
dmesgView kernel messages and errors
journalctl -xeView recent system logs
top or htopCheck system resource usage
free -hCheck memory usage
df -hCheck disk space
systemctl status service-nameCheck status of a service (e.g., NetworkManager)

🔁 5. How to Recover from a Frozen System

  • Try switching to a different terminal: Ctrl + Alt + F2 (or F3, F4…)
  • Login in the terminal and kill problematic processes:
top

Press k, enter PID, press Enter

  • Restart GUI service:
sudo systemctl restart gdm  # For GNOME
sudo systemctl restart sddm # For KDE
sudo systemctl restart lightdm # For others
  • As last resort, reboot:
sudo reboot

🧰 6. Where to Get Help

  • Use built-in manual pages:
man command-name

✅ Summary Table of Common Fixes

ProblemQuick Fix
Bootloader missingRepair GRUB via Live USB
App not launchingRun from terminal, reinstall app
Wi-Fi not detectedInstall correct drivers, check modules
No soundUse alsamixer to unmute
Frozen systemSwitch TTY, kill process, restart display

sapan singh

👨‍💻 About Sapan Singh Hi, I’m Sapan Singh — a passionate software developer with a strong love for technology, gaming, and building useful digital tools.

Join WhatsApp

Join Now

Join Telegram

Join Now

1 thought on “How to Troubleshoot Common Linux Issues (Boot, Software, and Hardware Fixes)”

Leave a Comment