coderobe/VBiosFinder

-bash: ./vbiosfinder: No such file or directory

Sebls135 opened this issue · 12 comments

Hello,

I installed all elements but I've a problem with the method with
vbiosfinder.
Command:

root@pve:~# ./vbiosfinder extract /download/vbios/ASUS_G10DK_309_BIOS_Update.exe
-bash: ./vbiosfinder: No such file or directory

Have you a solution

Thank you

Best regards

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.

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

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?

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

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

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.

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

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/*

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

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)

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.

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

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