Hi all, thanks in advance for any help you can give me on this.
I have a img file of a stock netgear firmware I'm trying to mount or extract on a linux system. I dd'd the header off of the file and it now starts with SQSH at offset 0. unsquashfs seems to be able to read what it's supposed to:
root@Apoc:/home/pathos/wnr2000v3# unsquashfs -s squashfs.img
Reading a different endian SQUASHFS filesystem on squashfs.img
Found a valid big endian SQUASHFS 3:0 superblock on squashfs.img.
Creation or last append time Thu Jun 3 22:14:14 2010
Filesystem is not exportable via NFS
Inodes are compressed
Data is compressed
Fragments are compressed
Check data is not present in the filesystem
Fragments are present in the filesystem
Always_use_fragments option is not specified
Duplicates are removed
Filesystem size 2914.08 Kbytes (2.85 Mbytes)
Block size 65536
Number of fragments 62
Number of inodes 871
Number of uids 1
Number of gids 0
When I try to list or extract the contents of it, here's what I get.
root@Apoc:/home/pathos/wnr2000v3# unsquashfs -l squashfs.img
Reading a different endian SQUASHFS filesystem on squashfs.img
Parallel unsquashfs: Using 1 processor
zlib::uncompress failed, unknown error -3
read_block: failed to read block @0x2d86e5
read_fragment_table: failed to read fragment table block
FATAL ERROR aborting: failed to read fragment table
Anyone got any ideas? I would be much appreciative! Thanks