mildsunrise / firmware-mod-kit

Automatically exported from code.google.com/p/firmware-mod-kit
1 stars 3 forks source link

Unsquashfs_all.sh fails to extract #117

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Successfully extracted the squashfs file using binwalk 
2. Navigated to my firmware-mod-kit folder
3. ran the unsquashfs script inputting my extracted squashfs file..but fails to 
extract

What is the expected output? What do you see instead?
This is what I see:
$ ./unsquashfs_all.sh 
/Users/Josh/Downloads/WNDR3800-V1.0.0.44/_WNDR3800-V1.0.0.44.img-1.extracted/C0.
squashfs 
readlink: illegal option -- f
usage: readlink [-n] [file ...]
readlink: illegal option -- f
usage: readlink [-n] [file ...]
readlink: illegal option -- f
usage: readlink [-n] [file ...]
usage: dirname path
./unsquashfs_all.sh: line 86: ./src/binwalk-1.0/src/bin/binwalk-script: No such 
file or directory
Attempting to extract SquashFS .X file system...

Skipping others/squashfs-hg55x-bin (wrong version)...
File extraction failed!

However, when I go to 
$ ls
binwalk        binwalk-script
$ pwd
/opt/firmware-mod-kit/src/binwalk-1.0/src/bin

What version of the product are you using? On what operating system?
$ cat firmware_mod_kit_version.txt 
0.99

Please provide any additional information below.
Could not install the following dependencies:

$ brew install build-essential
Error: No available formula for build-essential 

$ brew install zlib1g-dev
Error: No available formula for zlib1g-dev 

Original issue reported on code.google.com by joshua.w...@gmail.com on 18 Oct 2013 at 8:34

GoogleCodeExporter commented 8 years ago
What I meant to say was the binwalk-script exists even though unsquash_fs says 
it doesn't exist.

Original comment by joshua.w...@gmail.com on 18 Oct 2013 at 8:04

GoogleCodeExporter commented 8 years ago
From the readlink errors and your use of homebrew to install packages, it 
appears that you are running this on a Mac. While binwalk is supported on OSX, 
firmware-mod-kit is only supported on Linux. If you don't have access to a 
Linux machine, you can run FMK in a Linux VM on your Mac; if you receive the 
same problems on a Linux box, please re-open the issue.

Original comment by heffne...@gmail.com on 23 Oct 2013 at 12:44

GoogleCodeExporter commented 8 years ago
I am running the above steps on linux machine and version of firmware mod kit 
is 0.82
Even I am facing same issue as mentioned above

Original comment by ellurubh...@gmail.com on 20 Nov 2014 at 7:51

GoogleCodeExporter commented 8 years ago
using the terminal go to fmk folder then src then others(fmk>src>others) then 
type "make" without qoutes

Original comment by froilans...@gmail.com on 12 Aug 2015 at 11:48