Solved Error - Run under the correct directory - Printable Version +- Ventoy Forums (https://forums.ventoy.net) +-- Forum: Ventoy General Use —— Ventoy 使用交流 (https://forums.ventoy.net/forumdisplay.php?fid=1) +--- Forum: Ventoy Discussion Forum (https://forums.ventoy.net/forumdisplay.php?fid=2) +--- Thread: Solved Error - Run under the correct directory (/showthread.php?tid=2221) |
Error - Run under the correct directory - GCMartin - 10-16-2022 Why am I getting this error? <SOLVED> Code: /mnt/sda2/Ventoy/1/ventoy-1.0.80-linux$ ./Ventoy2Disk.sh How to resolve? Or what should I do to resolve? RE: Error - Run under the correct directory - longpanda - 10-16-2022 Did you download the right file? Download the tarball from https://github.com/ventoy/Ventoy/releases/download/v1.0.80/ventoy-1.0.80-linux.tar.gz Then you will get : FileName: ventoy-1.0.80-linux.tar.gz FileSize:19MB SHA256: 166329314cbc56ac1b3a245665da18efa4e84a85966c118ce61ffd552f2b6116 RE: Error - Run under the correct directory - Steve2926 - 10-16-2022 https://ventoy.net/en/doc_start.html RE: Error - Run under the correct directory - GCMartin - 10-16-2022 (10-16-2022, 09:42 AM)longpanda Wrote: Did you download the right file?md5: 8752b06de1c3b3dd591727017dd3b10c SHA25: 166329314cbc56ac1b3a245665da18efa4e84a85966c118ce61ffd552f2b6116 file is OK...Problem persist in my linux RE: Error - Run under the correct directory - longpanda - 10-17-2022 See log.txt RE: Error - Run under the correct directory - GCMartin - 10-21-2022 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.
RE: Error - Run under the correct directory - longpanda - 10-21-2022 OK. After you decompress the tarball, the files should be as follows: Code: [root@CENTOS212 ventoy-1.0.80]# There should be a ./boot/boot.img file, please check it. RE: Error - Run under the correct directory - GCMartin - 10-25-2022 (10-21-2022, 08:11 AM)longpanda Wrote: OK. ...This is what I have after untar'ing the Ventoy Linux v80 to a folder. [attachment=637] I open a terminal from this folder and ./Ventoy2Disk.sh give me that error. [attachment=638] Your thoughts, please RE: Error - Run under the correct directory - longpanda - 10-25-2022 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 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. RE: Error - Run under the correct directory <SOLVED> - GCMartin - 08-23-2023 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 |