SquashFS recovery

SquashFS stores a compressed read-only filesystem whose superblock and metadata tables locate every inode and data block.

SquashFS is common in firmware, live systems, appliances, containers, and embedded devices. It compresses file blocks and metadata and may pack file tails into fragment blocks shared by multiple files.

Understand the symptom

Superblock fields locate inode, directory, fragment, export, ID, and lookup tables.

WHY

What is happening

A damaged metadata block can hide many files, while one bad data block may affect only part of one file. Fragment sharing means small-file tails can share a damaged compressed block.

What you may see

Symptoms that change the recovery path.

01

Bad superblock

The signature, version, byte order, or table offsets cannot be read.

02

Decompression failed

A metadata, data, or fragment block is damaged.

03

Directory lists partially

Some inode or directory metadata blocks remain readable.

04

Firmware stops booting

The root filesystem may be incomplete or the failure may be elsewhere.

Protect the source

Actions that can make the situation worse.

01

Flashing can erase evidence

Work from an acquired image only.

02

Repacking changes offsets

A rebuilt image is not a recovered original.

03

Shared fragment damage spreads

Several small files can depend on one block.

Do this now

Safe steps before evaluation.

01

Acquire and hash the full image

Preserve container offsets and partition context.

02

Save unsquashfs output

Record compressor, block, inode, and table errors.

03

Collect matching firmware

A trusted version can validate metadata and unchanged files.

04

Protect the physical device

Image unstable flash before repeated extraction.

NEPFOSYS process

How a data-first evaluation proceeds.

01

Filesystem map

NEPFOSYS identifies superblock, tables, compressors, blocks, fragments, and readable ranges.

02

Targeted extraction

Valid inodes and blocks are recovered from a protected copy.

03

Firmware validation

Paths, permissions, symlinks, hashes, and version-specific files are compared.

A clear next step

Preserve the original device before another repair or recovery attempt.

Start a case with the exact symptoms, incident timeline, prior attempts, encryption details, and the files that matter most. NEPFOSYS will route the case to the appropriate DFW intake or nationwide mail-in path.

Start with a case review

Questions, answered

What customers ask before starting.

Can one corrupt block ruin the whole image?

It depends; metadata damage can affect many files, while data-block damage may be localized.

Can I rebuild SquashFS from extracted files?

You can create a new image, but it will not preserve every original byte, offset, or signature.

Why keep the full firmware?

Partition offsets, boot metadata, signatures, and adjacent filesystems may be needed.

DFW local · Nationwide mail-in

Protect the device. Start with the facts.

Start my recovery case