libyal / libewf-legacy

Legacy version of libewf
GNU Lesser General Public License v3.0
10 stars 5 forks source link

Need help mounting E01 file on cygwin #21

Closed Magister-Machinis closed 1 year ago

Magister-Machinis commented 2 years ago

Hello,

I built the source code according to the guide for cygwin/gcc and it appears to spit out the expected files. Running help flags of ewfmount appears to produce the expected output, but actually attempting to mount a file produces the below error. I get the same error in both a regular and elevated prompt. Any thoughts on what I could be missing? The image is in multiple fragments on a network share, would these potentially cause problems?

Thank you image

joachimmetz commented 2 years ago

try cygwin paths

Magister-Machinis commented 2 years ago

Similar errors, but it seems to be having issues accessing the file. Could this be a cygwin permission thing? edit: this is in an elevated prompt. image

joachimmetz commented 2 years ago

@Magister-Machinis try putting the -v before the path arguments

Magister-Machinis commented 2 years ago

Similar errors appear to pop up (see below) image However I get something new if I try mounting an image thats on an external hdd rather than a network share. Did I miss something duration compilation? image

joachimmetz commented 2 years ago

is //<IP> a local path or is that an UNC path? the latter is not supported.

However I get something new if I try mounting an image thats on an external hdd rather than a network share. Did I miss something duration compilation?

the second warning means you did not compile ewfmount with fuse or DokanY support, so no subsystem to do the actual mount see https://github.com/libyal/libewf/wiki/Mounting#mounting

Magister-Machinis commented 2 years ago

Understood, thanks for all your patience with this! I'm on EST so I'll put this through its paces in the AM and let you know how it goes.

Magister-Machinis commented 2 years ago

Definitely making progress! I added cygfuse to the cygwin setup and rebuilt, got the below error. image Looking around it seemed like it was referencing https://github.com/winfsp/winfsp, so downloaded and installed just the core and got: image Adding the fuse for cygwin component resulted in: image Is there a specific version or variant of winfsp I should look for? It seems the above installs a 32 bit version of winsfp which I suspect to be the cause here.

joachimmetz commented 2 years ago

Looking around it seemed like it was referencing https://github.com/winfsp/winfsp, so downloaded and installed just the core and got:

Please don't download random binaries from the Internet. Make sure you have a legitimate and correct one for your set up. I suspect the issue you are seeing is due to an incomplete installation of cygfuse

Magister-Machinis commented 2 years ago

Ah, to be clear that is the repo recommended by cygfuse on their respective repo. I'll poke at it a bit more and see if I've missed something. Thanks!

On Thu, Sep 1, 2022 at 2:23 PM Joachim Metz @.***> wrote:

Looking around it seemed like it was referencing https://github.com/winfsp/winfsp, so downloaded and installed just the core and got:

Please don't download random binaries from the Internet. Make sure you have a legitimate and correct one for your set up. I suspect the issue you are seeing is due to an incomplete installation of cygfuse

— Reply to this email directly, view it on GitHub https://github.com/libyal/libewf-legacy/issues/21#issuecomment-1234798477, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHL2BJK2H3ECOUDF5SVVQUTV4ENGXANCNFSM575WTLLA . You are receiving this because you were mentioned.Message ID: @.***>