Sample Header Ad - 728x90

How to mount squashfs (embedded-linux) on Ubuntu?

5 votes
1 answer
16017 views
I have tried to mount a filesystem from a firmware (embedded-linux) but it failed on my Ubuntu 12.04 machine. Could you tell me how to mount that file system? (or possible reasons of the failure). Details are as follows. Details ------- Step1) Analyzing the firmware using binwalk shows starting address of squashfs filesystem. Thus I generated squashfs filesystem using "dd" linux utility. Step2) The analysis of generated filesystem using "binwalk ./fs.img" command shows: Squashfs filesystem, big endian, lzma signatrue, version 3.0, size: XXXXXXX bytes, XXX inodes, blocksize: XXXXX bytes, created: xxxx Step3) "mount -o loop ./fs.img ./fs" failed. "dmesg | tail" shows: SQUASHFS error: Can't find a SQUASHFS superblock on loop1 How can I mount that file system? FYI, I installed latest squashfs-tools with lzma support from "sourceforge.net/procjects/squashfs".
Asked by kolar (335 rep)
Aug 22, 2014, 05:56 AM
Last activity: Apr 3, 2023, 09:22 AM