LCA field guides · free to read

Linux & Kubernetes.
Find the cause. Fix with confidence.

Start with the error you see. Get the checks, what they mean, and a safer path to recovery.

01 / Inspect02 / Explain03 / Verify

What are you troubleshooting?

Public answers. No account required.

10 full guides · 4 quick checks

Quick checks

Short starting points from the original Linux Help library.

Check whether a system uses UEFI or BIOS

Identify the active firmware mode before repairing GRUB.

Inspect · Boot
[ -d /sys/firmware/efi ] && echo UEFI || echo BIOS

Run on the actual host, not inside a container or restricted mount namespace. Missing firmware information there cannot reliably identify the host boot mode. Consult your distribution before changing bootloader paths.

Investigate an interrupted DNF or YUM transaction

Read the transaction and dependency state before attempting recovery.

Inspect · Packages
sudo dnf history list
sudo dnf history info last
sudo dnf check

For DNF-based systems such as Oracle Linux 8. Preserve the actual errors. Do not blindly undo transactions, remove packages, or approve a large dependency removal. Select the vendor-supported recovery only after reviewing the failed transaction.

Investigate a read-only filesystem

Determine why writes stopped before attempting a remount.

Inspect · Storage
findmnt -no TARGET,SOURCE,FSTYPE,OPTIONS /
sudo journalctl -k -b -p warning --no-pager -n 100

Replace / with the affected mount. A read-only mount may be intentional, or it may reflect device or filesystem errors. Preserve data and arrange the filesystem-specific offline repair when required; do not force read-write access to damaged storage.

Trace a Linux DNS resolution problem

Compare the application resolver path with an explicit DNS query.

Inspect · Network
getent hosts example.com
dig example.com

dig may require your distribution’s DNS utilities. getent follows the configured name-service lookup path; dig queries DNS. Inspect resolvectl status only if systemd-resolved is actually in use. One failed domain is not a reason to replace the machine’s resolver configuration.