Techub Knowledge Center
TechubKnowledge Center • Illustrated Guides • Troubleshooting

Describe the Linux task or exact error — for example, updates fail or a drive will not mount.

Backup, Recovery & Maintenance • Linux & Open Source

Use Linux Live or Recovery Media to Protect Data

Prepare a data-preserving recovery path before bootloader or filesystem repair.

DifficultyIntermediate; owner or authorized administrator
Time20–45 minutes for checks; installation, backup or recovery can take longer
Guide typeIdentify, act & verify
GoalProtect files and verify the Linux task

Protect the data first. Work only on systems, files and accounts you own or are authorized to manage. Identify the exact distribution, device and path before changes. Keep independent verified backups and required recovery keys. Do not format wanted data, run unexplained privileged commands or apply broad permission resets. A filesystem repair needs its supported unmounted/offline procedure. Plan console access and downtime for remote or service changes.

First — identify the distribution, context and task

Record the distribution/release, desktop or server role, account, target path or device and exact error. These guides label Ubuntu and GNOME examples; other distributions, desktops and app versions use different controls. Use supported instructions for your actual release. Screenshots illustrate sample values and are not evidence of your system state. Read each command and its target before using it.

What you’ll need

Current distribution and application documentation · Authorized ordinary account and elevation only when needed · Private error/time notes · Independent backups and required keys · Correct device/path identity · Console and recovery plan for disruptive changes

Step 1 — Define the incident and stop destructive guesses

Record distribution, hardware, exact boot/storage error and whether wanted data has another usable copy. Do not reinstall, initialize, format or run a generic filesystem repair merely because the installed system will not boot.

What to look for: A clear preservation goal and known failure stage.

What the result means: A reset or fresh install can remove the data you are trying to recover.

Step 2 — Prepare trusted compatible media

Use the distribution’s supported verified image and a deliberately erasable USB. Match architecture and boot requirements. Protect existing OS recovery keys before firmware work and use the documented one-time boot menu.

What to look for: A trusted separate environment for the actual device.

What the result means: Writing recovery media also erases the selected USB target.

Step 3 — Choose live Try rather than installation

In a supported Ubuntu live example choose Try Ubuntu. The illustrated installer may have Install selected; change the choice for this recovery task. Do not proceed to disk setup or an erase confirmation.

Ubuntu 26.04 example offers Install Ubuntu and Try Ubuntu. Install is selected in the screenshot; choose Try Ubuntu for a live hardware check and do not start installation or change internal disks during that test.
Ubuntu 26.04 example offers Install Ubuntu and Try Ubuntu. Install is selected in the screenshot; choose Try Ubuntu for a live hardware check and do not start installation or change internal disks during that test.Image: Canonical / Ubuntu · Source · View full-size image

What to look for: A temporary live session without committing installation.

What the result means: The installer’s presence does not mean it is the correct recovery operation.

Step 4 — Inspect disks and keys before access

Read device/partition identities and current mount state with supported tools. Use authorized encryption material. Ordinary mounting can write metadata; suspected damage, evidence preservation or failing drives need an appropriate read-only/image/recovery plan before access.

GNOME Disks example identifies a selected storage device and its volumes. Match the actual model, capacity and wanted partition; do not format or repartition a drive merely because mounting fails.
GNOME Disks example identifies a selected storage device and its volumes. Match the actual model, capacity and wanted partition; do not format or repartition a drive merely because mounting fails.Image: GNOME / application maintainers · Source · View full-size image

What to look for: The exact source and a safe supported access method.

What the result means: Never repair a mounted filesystem or assume an unknown partition is empty.

Step 5 — Copy important readable data safely

Where the source is healthy enough and access is appropriate, copy wanted files to a distinct healthy destination and verify them there. Keep source and backup targets unambiguous. Unique data on noisy or repeatedly failing storage warrants specialist recovery advice.

What to look for: Readable verified copies on independent storage.

What the result means: A bulk copy can stress a failing drive; copying is not always the safest first action.

Step 6 — Plan the actual repair and normal-boot test

Use the exact distribution/filesystem/boot-mode procedure for the confirmed fault after preserving data. Review writes and recovery consequences with the responsible administrator. Boot normally without live media and test files, account and app after the approved repair.

What to look for: A supported repair and verified installed-system recovery.

What the result means: Accessing files from live media does not itself fix the installed OS.

What did you find?
The drive shows physical failure symptomsStop ordinary repair attempts and seek recovery advice.
Required unlock keys are unavailablePreserve the source and use authorized recovery channels.
Readable important files are copiedVerify the destination before repair.
The fault remains uncertainEscalate with exact release, layout and errors.
Distribution, desktop & application help

Use current official documentation for the exact distribution, release, desktop, filesystem, network manager and application. Ubuntu 26.04 installer examples are not universal Linux menus. GNOME app catalog screenshots illustrate the named app and may show a different version from the one installed.

Production services, encrypted storage, directory-managed users and unusual filesystem layouts need their responsible administrator and supported recovery procedure. Start with the exact error rather than a generic root command. Keep credentials, keys, private logs and backup contents out of public posts.

Parts & supplies — only if needed

Most initial checks use the supported tools already available. Buy a USB drive, backup destination or replacement hardware only when the task requires it, after checking exact hardware, capacity, power and distribution support.

Technical references

Techub’s troubleshooting guides are written in plain language and informed by manufacturer documentation. Features and procedures can vary by model. Before following model-specific steps, check the manufacturer’s latest instructions for your exact device.

Ubuntu — Install Ubuntu Desktop - Ubuntu Desktop documentationRepair a damaged filesystemManage volumes and partitionsDisks – Apps for GNOME

Still need help?

Need help with a Linux task?

Bring the distribution/release, desktop or server context, exact error and checks already tried. Explain whether wanted data has a usable independent backup. Keep credentials, keys, private paths and diagnostic data out of public screenshots.

Visit Techub Services ↗