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 Type | Symptoms | Typical Causes |
|---|---|---|
| Boot Problems | System won’t start, black screen | Corrupt bootloader, disk errors |
| Software Issues | Apps crash, won’t start, errors | Missing dependencies, config errors |
| Hardware Problems | Devices not recognized, no sound | Driver 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:
- Boot from a Live USB/DVD (Linux installation media)
- 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
- Chroot into your system:
sudo chroot /mnt
- Reinstall GRUB:
grub-install /dev/sdX # Replace X with your disk, e.g., sda
update-grub
exit
- 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
| Command | Purpose |
|---|---|
dmesg | View kernel messages and errors |
journalctl -xe | View recent system logs |
top or htop | Check system resource usage |
free -h | Check memory usage |
df -h | Check disk space |
systemctl status service-name | Check 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
- Check Linux forums like:
- Use StackExchange Unix & Linux
- Search error messages online for solutions
✅ Summary Table of Common Fixes
| Problem | Quick Fix |
|---|---|
| Bootloader missing | Repair GRUB via Live USB |
| App not launching | Run from terminal, reinstall app |
| Wi-Fi not detected | Install correct drivers, check modules |
| No sound | Use alsamixer to unmute |
| Frozen system | Switch TTY, kill process, restart display |










marijuana edibles bulk supply online