FS#65997 - [binwalk] Binwalk extract doesn't work for squasfs parts even if squashfs-tools is installed
Attached to Project:
Community Packages
Opened by Ádám Maróti (05storm26) - Friday, 27 March 2020, 15:39 GMT
Last edited by freswa (frederik) - Friday, 12 May 2023, 20:38 GMT
Opened by Ádám Maróti (05storm26) - Friday, 27 March 2020, 15:39 GMT
Last edited by freswa (frederik) - Friday, 12 May 2023, 20:38 GMT
|
Details
Trying to extract parts from a firmware which has a squashfs
part with the '-e' option fails with the following
message:
$ binwalk firmware.bin DECIMAL HEXADECIMAL DESCRIPTION -------------------------------------------------------------------------------- 10264 0x2818 LZMA compressed data, properties: 0x5D, dictionary size: 8388608 bytes, uncompressed size: 4280280 bytes 147143 0x23EC7 StuffIt Deluxe Segment (data): fV 1211176 0x127B28 GIF image data 1291298 0x13B422 Squashfs filesystem, little endian, version 4.0, compression:lzma, size: 4348690 bytes, 1212 inodes, blocksize: 1048576 bytes, created: 2038-03-30 20:56:32 $ binwalk -e firmware.bin DECIMAL HEXADECIMAL DESCRIPTION -------------------------------------------------------------------------------- 10264 0x2818 LZMA compressed data, properties: 0x5D, dictionary size: 8388608 bytes, uncompressed size: 4280280 bytes WARNING: Extractor.execute failed to run external extractor 'unstuff '%e'': [Errno 2] No such file or directory: 'unstuff', 'unstuff '%e'' might not be installed correctly 147143 0x23EC7 StuffIt Deluxe Segment (data): fV 1211176 0x127B28 GIF image data WARNING: Extractor.execute failed to run external extractor 'sasquatch -p 1 -le -d 'squashfs-root-0' '%e'': [Errno 2] No such file or directory: 'sasquatch', 'sasquatch -p 1 -le -d 'squashfs-root-0' '%e'' might not be installed correctly WARNING: Extractor.execute failed to run external extractor 'sasquatch -p 1 -be -d 'squashfs-root-0' '%e'': [Errno 2] No such file or directory: 'sasquatch', 'sasquatch -p 1 -be -d 'squashfs-root-0' '%e'' might not be installed correctly 1291298 0x13B422 Squashfs filesystem, little endian, version 4.0, compression:lzma, size: 4348690 bytes, 1212 inodes, blocksize: 1048576 bytes, created: 2038-03-30 20:56:32 Installing aur/sasquatch fixes the issue. |
This task depends upon
Closed by freswa (frederik)
Friday, 12 May 2023, 20:38 GMT
Reason for closing: Won't fix
Additional comments about closing: sasquatch upstream doesn't seem to be too responsive these days. Please use the AUR pkg.
Friday, 12 May 2023, 20:38 GMT
Reason for closing: Won't fix
Additional comments about closing: sasquatch upstream doesn't seem to be too responsive these days. Please use the AUR pkg.
[1] https://github.com/ReFirmLabs/binwalk/blob/master/INSTALL.md#dependencies