Coder Social home page Coder Social logo

Comments (12)

raksanyiv avatar raksanyiv commented on June 5, 2024

Hi!

  1. You shouldn't need root privileges to run vbiosfinder.
  2. You don't have vbiosfinder in your current working directory. Find where you put it and run it from that directory.

from vbiosfinder.

Sebls135 avatar Sebls135 commented on June 5, 2024

Hello,
Thank you for your response.

But I'm in the directory where vbiosfinder is.

maybe not all the elements were installed correctly

I have installed following this method

  1. apt-get install ruby-full
    2)gem install bundler
    3)bundle install --path=vendor/bundle
  2. ./vbiosfinder extract /download/vbios/ASUS_G10DK_309_BIOS_Update.exe
    -bash: ./vbiosfinder: No such file or directory

Am I wrong?

Thank you

from vbiosfinder.

raksanyiv avatar raksanyiv commented on June 5, 2024

Hmmm... Seems a bit too optimistic as I don't see that you have installed the required third party stuff...
Do you have execute permission on vbiosfinder?

from vbiosfinder.

Sebls135 avatar Sebls135 commented on June 5, 2024

ok, it's a newbie question but how to install the third party anq execute the permission on vbiosfinder?
thx

from vbiosfinder.

Sebls135 avatar Sebls135 commented on June 5, 2024

Thank you, I'm in progress

I used chmod +x /download/vbios/vbiosfinder and after ./vbiosfinder extract /download/vbios/ASUS_G10DK_309_BIOS_Update.exe.
I have another issue:
Traceback (most recent call last):
/usr/bin/ruby: No such file or directory -- _init.rb (LoadError)

Thank you for your help

from vbiosfinder.

raksanyiv avatar raksanyiv commented on June 5, 2024

Seems like you did not check out the full repo (or did not download all the necessary files). Just downloading vbiosfinder is not enough. There are ruby files like _init.rb in the main dir , and a lot of other ruby files in the src dir that are needed.

from vbiosfinder.

Sebls135 avatar Sebls135 commented on June 5, 2024

I downloaded all elements and my problems comes with the full repo :(.

from vbiosfinder.

raksanyiv avatar raksanyiv commented on June 5, 2024

Would you be so kind and show us your directory and subdirectory contents where you try to run vbiosfinder? Mind the sensitive data like usernames etc.
$ ls -lah /path/of/vbiosfinder/*

from vbiosfinder.

Sebls135 avatar Sebls135 commented on June 5, 2024

yes, no problem.

root@pve:~# ls -lah /path/of/vbiosfinder/*
ls: cannot access '/path/of/vbiosfinder/*': No such file or directory

Because my directory is /download/vbios

root@pve:~# ls -lah /download/vbios/*
-rw-r--r-- 1 root root 18M Jun 1 08:57 /download/vbios/ASUS_G10DK_309_BIOS_Update.exe
-rw-r--r-- 1 root root 457 May 29 08:49 /download/vbios/Gemfile
-rw-r--r-- 1 root root 469 May 29 08:49 /download/vbios/Gemfile.lock
-rw-r--r-- 1 root root 87 May 29 08:49 /download/vbios/_init.rb
-rw-r--r-- 1 root root 34K May 29 08:49 /download/vbios/LICENSE.txt
-rw-r--r-- 1 root root 2.5K May 29 08:49 /download/vbios/README.md
-rwxr-xr-x 1 root root 150 Jun 1 14:14 /download/vbios/vbiosfinder

/download/vbios/3rdparty:
total 8.0K
drwxr-xr-x 2 root root 4.0K May 29 08:49 .
drwxr-xr-x 5 root root 4.0K Jun 1 09:56 ..
-rw-r--r-- 1 root root 0 May 29 08:49 .gitkeep

/download/vbios/ruby:
total 12K
drwxr-xr-x 3 root root 4.0K Jun 1 09:56 .
drwxr-xr-x 5 root root 4.0K Jun 1 09:56 ..
drwxr-xr-x 2 root root 4.0K Jun 1 09:56 2.7.0

/download/vbios/src:
total 52K
drwxr-xr-x 2 root root 4.0K May 29 08:49 .
drwxr-xr-x 5 root root 4.0K Jun 1 09:56 ..
-rw-r--r-- 1 root root 1.1K May 29 08:49 cli.rb
-rw-r--r-- 1 root root 537 May 29 08:49 extract-7z.rb
-rw-r--r-- 1 root root 548 May 29 08:49 extract-innosetup.rb
-rw-r--r-- 1 root root 404 May 29 08:49 extraction.rb
-rw-r--r-- 1 root root 762 May 29 08:49 extract-polyglot.rb
-rw-r--r-- 1 root root 597 May 29 08:49 extract-uefi.rb
-rw-r--r-- 1 root root 554 May 29 08:49 extract-upx.rb
-rw-r--r-- 1 root root 617 May 29 08:49 extract-zlib.rb
-rw-r--r-- 1 root root 4.1K May 29 08:49 methods.rb
-rw-r--r-- 1 root root 548 May 29 08:49 utils.rb

from vbiosfinder.

Sebls135 avatar Sebls135 commented on June 5, 2024

I think I resolved my problem. I must be in the directory (/download/vbios) :D. But now I have a problem with Terrapin :
/download/vbios/vendor/bundle/ruby/2.7.0/gems/terrapin-0.6.0/lib/terrapin/command_line.rb:82:in `run': Terrapin::CommandNotFoundError (Terrapin::CommandNotFoundError)

from vbiosfinder.

raksanyiv avatar raksanyiv commented on June 5, 2024

Hi,
that's why I wrote in the beginning: "Find where you put it and run it from that directory." :-)

I presume you did not issue this command:
$ bundle install --path=vendor/bundle
from /download/vbios/ dir but in /root rigt??
This command should install a lot of ruby stuff to /download/vbios/vendor/bundle, provided that you are in the /download/vbios/ directory. Otherwise it will just use your current directory.

from vbiosfinder.

Sebls135 avatar Sebls135 commented on June 5, 2024

Hi,
Thank you for your help :D. I forgot le command "cd" :p.

Now I have a error with Terrapin. Terrapin::CommandNotFoundError (Terrapin::CommandNotFoundError)

from vbiosfinder.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.