Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved Error - Run under the correct directory
#1
Why am I getting this error? <SOLVED>
Code:
/mnt/sda2/Ventoy/1/ventoy-1.0.80-linux$ ./Ventoy2Disk.sh 

**********************************************
      Ventoy:  x86_64
      longpanda admin@ventoy.net
      https://www.ventoy.net
**********************************************

Please run under the correct directory

How to resolve? Or what should I do to resolve?
Smile Happy to learn how to ...
Reply
#2
Did you download the right file?

Download the tarball from  https://github.com/ventoy/Ventoy/release...nux.tar.gz 
Then you will get :
FileName: ventoy-1.0.80-linux.tar.gz
FileSize:19MB
SHA256: 166329314cbc56ac1b3a245665da18efa4e84a85966c118ce61ffd552f2b6116
Reply
#3
https://ventoy.net/en/doc_start.html
Reply
#4
(10-16-2022, 09:42 AM)longpanda Wrote: Did you download the right file?

Download the tarball from  https://github.com/ventoy/Ventoy/release...nux.tar.gz 
Then you will get :
FileName: ventoy-1.0.80-linux.tar.gz
FileSize:19MB
SHA256: 166329314cbc56ac1b3a245665da18efa4e84a85966c118ce61ffd552f2b6116
md5: 8752b06de1c3b3dd591727017dd3b10c
SHA25: 166329314cbc56ac1b3a245665da18efa4e84a85966c118ce61ffd552f2b6116

file is OK...Problem persist in my linux
Smile Happy to learn how to ...
Reply
#5
See log.txt
Reply
#6
Hello @longpanda

"LOG.TXT"....where is this file?

AS you can see, I am running a terminal within the folder that ventoy unzips to? Where would ventoy write his log?

Looking thru the list unzipped, all files have the same date 21st of September. There are no new files within the folder, either.

Something is amiss . Never had this problem in Linux before...Problem persist in my linux

Edit: Ventoy does not run in Linux but it applies to SparkyLinux. 
  • Does this apply across the board? 
  • Can a fix be provided here?
Smile Happy to learn how to ...
Reply
#7
OK.
After you decompress the tarball, the files should be as follows:

Code:
[root@CENTOS212 ventoy-1.0.80]#
[root@CENTOS212 ventoy-1.0.80]# ls -l
total 204
drwxr-xr-x 2 root root  4096 Sep 21 18:43 boot
-rwxr-xr-x 1 root root  3111 Sep 21 18:43 CreatePersistentImg.sh
-rwxr-xr-x 1 root root  2748 Sep 21 18:43 ExtendPersistentImg.sh
drwxr-xr-x 3 root root  4096 Sep 21 18:43 plugin
-rw-r--r-- 1 root root  2528 Sep 21 18:43 README
drwxr-xr-x 6 root root  4096 Sep 21 18:44 tool
drwxr-xr-x 2 root root  4096 Sep 21 18:44 ventoy
-rwxr-xr-x 1 root root  1772 Sep 21 18:43 Ventoy2Disk.sh
-rwxr-xr-x 1 root root 38456 Sep 21 18:43 VentoyGUI.aarch64
-rwxr-xr-x 1 root root 30548 Sep 21 18:43 VentoyGUI.i386
-rwxr-xr-x 1 root root 42944 Sep 21 18:43 VentoyGUI.mips64el
-rwxr-xr-x 1 root root 32664 Sep 21 18:43 VentoyGUI.x86_64
-rwxr-xr-x 1 root root  5357 Sep 21 18:43 VentoyPlugson.sh
-rwxr-xr-x 1 root root  7048 Sep 21 18:43 VentoyVlnk.sh
-rwxr-xr-x 1 root root  2965 Sep 21 18:43 VentoyWeb.sh
drwxr-xr-x 3 root root  4096 Sep 21 18:43 WebUI
[root@CENTOS212 ventoy-1.0.80]#
[root@CENTOS212 ventoy-1.0.80]# ls -l ./boot/
total 452
-rw-r--r-- 1 root root    512 Sep 21 18:43 boot.img
-rw-r--r-- 1 root root 455200 Sep 21 18:43 core.img.xz
[root@CENTOS212 ventoy-1.0.80]#
[root@CENTOS212 ventoy-1.0.80]#

There should be a ./boot/boot.img file, please check it.
Reply
#8
(10-21-2022, 08:11 AM)longpanda Wrote: OK. ... 

After you decompress the tarball, the files should be as follows:
There should be a ./boot/boot.img file, please check it.
This is what I have after untar'ing the Ventoy Linux v80 to a folder.
   
I open a terminal from this folder and ./Ventoy2Disk.sh give me that error.
   
Your thoughts, please
Smile Happy to learn how to ...
Reply
#9
FileName: ventoy-1.0.80-linux.tar.gz
FileSize:19MB
SHA256: 166329314cbc56ac1b3a245665da18efa4e84a85966c118ce61ffd552f2b6116

After you decompress the above tarball to a directory. You will only get 5 sub-directories and 11 files.
Why you get so many files? 

It seems that you extract all the files into one directory.
There are some sub-directories in the tarball, but in your photo these sub-directories are all gone and the files that shuld be in the sub-directories are all put in the same directory.
So you broken the directory structure and that's why it report the error.

I don't know how you decompress/extract the tarball file, but obviously you use the wrong method to decompress it.



Please do exactly as follows in the terminal and take a photo about the output.
Don't extract the tarball use GUI program, just extract it with shell command line as follows:
Code:
sha256sum ventoy-1.0.80-linux.tar.gz
tar xf ventoy-1.0.80-linux.tar.gz
cd ventoy-1.0.80
sudo sh Ventoy2Disk.sh

Run the same shell commands in your terminal and take a photo about the output and upload here.
The output should be the same as in the attachment.


PS:
There are many videos on youtube about how to use Ventoy in Linux, you can refer.


Attached Files Thumbnail(s)
   
Reply
#10
Method I used to combine the tools in a common lib to be used by either MACs/Windows/Linux was in error. The method now works and has continued to work since resolution.

Ventoy's are maintained by release in a 'combined' library; used to create/update a Ventoy USB no matter which OS accesses the directory. I add that NO Ventoy files are changed or manipulated for a combined library.

SOLVED Heart
Smile Happy to learn how to ...
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)